Playing While recording - miniDLNA
Added by Alex & Cats almost 4 years ago
Hi all,
Im trying to use Tvheadend so i can start playing back a show while it is recording. At the moments im all setup on my rpi with dvb-t2 hat. I am running a miniDLNA server on there aswell however the server does not appear to pickup the TS file until recording is complete.
I have a samsung smart tv that runs tizen and i was using minidlna as ideally i would like to not have to rely on another device. I do though have a a firestick should i not be able to do this without relying on something else.
Any ideas for setting this up with or without the firestick, from the forum members ?
Thanks. Alex
Replies (9)
RE: Playing While recording - miniDLNA - Added by saen acro almost 4 years ago
RE: Playing While recording - miniDLNA - Added by Alex & Cats almost 4 years ago
Hello
Thanks for the message
Q1. Program runs 7pm-8pm, often i want to start watching the program at say 7.30 when i get in from work. So i need to start watching ( from the beginning ) before the recording is complete ?
Q2. Im not sure i follow this one. The recording is running on the RPI which is headless does this help
I looked at xupnpd is this better than miniDLNA when it comes to indexing content thats still being written ?
Thanks. Alex
RE: Playing While recording - miniDLNA - Added by saen acro almost 4 years ago
Until file is written its a "virtual file"
not possible to be read simultaneously.
There is other solutions for that, with depend web service not a local file, or HLS type recording.
RE: Playing While recording - miniDLNA - Added by Ron L almost 4 years ago
I would agree that streaming via IPTV would be a better route than DLNA. TVHeadend will stream the recording while it is still recording. Generate a m3u playlist with the url http://<tvh server ip>:9981/playlist/recordings then feed that into your TV IPTV app.
Problem with Smart TVs in they are usually not very smart and entering a streaming playlist into their software can be quite annoying.
A media player box with Kodi installed and hts pvr backend will make this very simple.
RE: Playing While recording - miniDLNA - Added by saen acro almost 4 years ago
Actually SmartTV's have problem with TS over HTTP for live streaming.
Demuxing on non Android TV is limited.
RE: Playing While recording - miniDLNA - Added by Alex & Cats almost 4 years ago
Thanks new to most of this will try the IPTV route if that fails will try kodi!
Cheers for the advice
RE: Playing While recording - miniDLNA - Added by saen acro almost 4 years ago
If someone implement this to TVH will be great
https://github.com/streamingriver/video-stream-recorder
https://github.com/streamingriver/ts-server
This will solve all your problems with exact time to play.
RE: Playing While recording - miniDLNA - Added by Alex & Cats almost 4 years ago
Where would i find instructions for a total noob to install https://github.com/streamingriver/video-stream-recorder
on an RPi3. I see there is an ARM download but past that im a bit lost.
Alex
RE: Playing While recording - miniDLNA - Added by saen acro over 2 years ago
Alex & Cats wrote:
Where would i find instructions for a total noob to install https://github.com/streamingriver/video-stream-recorder
on an RPi3. I see there is an ARM download but past that im a bit lost.
Alex
build.sh
GO lang compier needed.