MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
308 stars 24 forks source link

Suggest import mp4 #273

Open maikmller opened 1 year ago

maikmller commented 1 year ago

Possibility to insert external mp4 files (mp4 that are in a folder) into the dashboard

MrBrax commented 1 year ago

how expanded? like a full on entry for each file? because they're pretty hardcoded to be streamers > vods right now. or just a file list where you can open/stream the files?

maikmller commented 1 year ago

I have old VODS on my server that I recorded with another program. And I would like to display this in the dashboard of the streamer.

MrBrax commented 1 year ago

1660903516865 something like this? it adds/deletes automatically when dropping videos in the channel folder

maikmller commented 1 year ago

exactly like that.

MrBrax commented 1 year ago

you can try it out if you switch to the develop branch/image, i'll push it to master in the future

maikmller commented 1 year ago

So far it works quite well. But is it intentional that the local files can not be played if you are not logged in?

MrBrax commented 1 year ago

nope, just a config value not being sent to guest clients. solved now

CappiSteijns commented 1 year ago

Could you explain more how this works? When adding .mp4 vods to the channel folder nothing changes. Added a test vod to Channel folder and saved_vods folder but it is now showing up on the webui.

image

In this instance I added "It Takes Two" to: ../vods/vods/lekkerspelen and also to : ../vods/saved_vods/lekkerspelen

Logs dont show any info about this.

Also enabled "Enable local videos" in the settings.

MrBrax commented 1 year ago

that should be enough, but i could just guess that there's something with docker and folder watching that doesn't work properly

kymograph commented 4 months ago

I am having the same problem. For me, I am running Docker on Windows with WSL2 and this issue would be an explanation: https://github.com/docker/for-win/issues/8479 for the behaviour.

However, what about having a regular check on the file system and add found files upon that? It could run, e.g., once each day or once each hour, something like this? What do you think?