Closed jeverling closed 2 years ago
You can add that path to playlist only if your ip is server currently. But you can just create symlink to folder you want, check this comment: https://github.com/RblSb/SyncTube/issues/25#issuecomment-879376269
That does indeed work, thank you! Note that I have to place the file into the folder that will be mounted into the docker container before starting the container, or it does not seem to get picked up.
In case anybody else is trying to do the same:
I'm running SyncTube on a dedicated server using Docker, e.g. docker run -d --rm --name=synctube -p 4200:4200 -v /opt/docker/volumes/synctube:/usr/src/app/user synctube
.
If I place a file into /opt/docker/volumes/synctube/res/d/Foo.mp4
before the container is started (it will be mounted inside the container as /usr/src/app/user/res/d/Foo.mp4
), I can play it by adding /d/Foo.mp4
to the playlist. This allows me to serve a file to all clients without them having to have the file available locally.
BTW, what is the purpose of the Set Video URL and Select Local Video options exactly? Are they meant to be used in case I have a copy of a file available locally, so I can play that instead of the browser having to download the stream?
Yes, this is for selecting local file instead of current video stream, or to set different url source with better/worse video quality/etc. Also will try to implement QSwitcher plugin out of box for native/web clients in free time. I guess problem solved, have a nice day.
Thank you! Have a nice day too!
On Fri, Nov 12, 2021, 02:21 RblSb @.***> wrote:
Yes, this is for selecting local file instead of current video stream, or to set different url source with better/worse video quality/etc. Also will try to implement QSwitcher plugin out of box for native/web clients in free time. I guess problem solved, have a nice day.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RblSb/SyncTube/issues/32#issuecomment-966742194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5YWQTJEPKJ5DM7OOHWE3ULRTYFANCNFSM5H2ZLW6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi, thanks for the great project! Is it possible to play a file from the SyncTube server's filesystem? So that I can put a file in e.g.
/usr/src/app/user/my_movie.mp4
and have it streamed to all participants? I can work around it by running nginx and making the file available via http, but it would be nice to just drop/mount a file into a folder on the SyncTube server and be able to play it.