-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playlists on VLC #40
Comments
Playlists in players are not supported and they probably won't be. We've got planned Syncplay's shared playlist though. |
At present Syncplay never automatically rewinds without being told to, but if one person has a file that is shorter than everyone else's then their player will be rewinding other people's players. So for now what you have to do is pause at the end, seek to 0:00, all change files, then resume. If one person rewinds it then never gets to the end of the playlist for other people, we could make it ignore rewind commands under circumstances, but that could result in inconsistent behaviour (which is bad). Some times people may want to change the file simply because they had the wrong file open, or because they want to open an alternative version (e.g. move from 1080 to 720 file if it is running slowly), so it is not safe to assume that they always want themselves and others to be rewinded and paused. Trying to guess if it is the next file in a sequence based on filename would result in inconsistent behaviour (which is, as I said earlier, bad). We could make it so that if you change a file at the end of playback it rewinds for everyone, but often people may change episode at the start of the credits rather than at the end of a file, so then it would have to guess whether the person is at the end and may not advance people on their playlist, resulting in inconsistent behaviour (still bad). We could make it so if you opened the file through Syncplay in a special way then it would know it was a new file and rewind, but that would not work for playlists and once again would not change files for other people. We could make it automatically change file for other people if they selected to allow for it, but as Uriziel mentioned we're already planning on a shared playlist feature. |
The difference is that a restart should happen, |
Potential (but not necessarily insurmountable or showstopper) problems with that approach:
|
Exactly what I'm thinking about. Solutions might be:
Please notice:
PS: I'm currently working on a German translation |
We gave it a thought some time ago and had similar ideas, but overall shared playlist inside the Syncplay is way more reasonable than any of those. |
A German translation? Neat. I guess I should get around to moving all messages to messages.py and allowing language selection... |
I've got one central question I don't yet fully understand: Does the server only work as a communication platform for the clients or does he also alter values? In this case: Could the Server see when all Clients have the same time set that is different from the global time or is that something to be implemented Client-side? (Idea: when all simultaneously change their local time, global time should be changed, too) |
Well, there is no 'global time' value. Clients are synced to the slowest time in a room, server knows all the values of people's local times, yes. Time is altered server side too, taking age of the set-up in consideration. References: |
Your idea doesn't work as clients never simultaneously change their time, there's always some difference (at least taking latency in mind). While we have some ideas how it would be possible to implement player playlist support, I really can't see the point of doing that over implementing shared Syncplay playlist (changing files on-demand for all clients, one person can create list for everyone else, you can see files you're missing/are different). Could you point any advantages of implementing that? |
You're probably right. *Note: This would not make shared Playlists unnecessary, it just adds support for wanted sudden file-changes (maybe even through another plug-in or so) I'm really looking forward to get to know Syncplay better as this is the first "big" project I actually take a look at the Sourcecode to. |
By the way, if you have any questions about Syncplay behaviour or code the easiest place to get answers from would be the IRC. |
For sudden changes of files we could potentially make it rewind to 0 if you hold shift or control when you drag a file into Syncplay. This would be a consistent behaviour and would not duplicate the upcoming playlist feature. Good luck with your exams. When it comes to Syncplay developers, it is the more the merrier :) |
DerGenaue: Regarding a German translation, Syncplay can now do a better job of handling multiple languages. In addition to messages.py we will also need text for the Windows installer (currently stored in buildPy2exe.py, although that may move). |
Hey Et0h and Uriziel, now, half a year later I've got some more time, especially to do the translation job. |
Cool. We're currently working on Syncplay 1.3.0 which will have controlled rooms, so a few more messages to translate. We've now got it so you can select a language when you install Syncplay and it will then use that language when you run Syncplay. You can then change the language choice by changing the Syncplay config file or using the --language command line switch, but we're also going to allow users to change language through the configuration UI. Another user is also currently working on a Russian translation: #44 |
Hey, just going to drop in and add my support for playlists. A few friends and I are going to set up a service that involves Syncplay, that kind of feature would be incredibly useful. |
Thanks for the feedback. We are currently working on controlled rooms, improved mpv support, and incorporating translations of Syncplay into more languages (with supporting code for better language selection). After that our focus will likely be improved OS X support and an 'are you ready' feature. While shared playlist remains a key feature we hope to implement, unless we get more developers it might take a while. What sort of service are you going to be making? |
Controlled rooms like one person controls it all? Because that would be fantastic for the service I'm planning. That would be far more important than playlists to me - you would have my unending support if that is made available. We want to do a sort of public movie night. People submit what they want to watch, then vote on what's been submitted and a time to watch it. Once that's all been done and people have acquired the film that we want to watch together, the movie starts at the previously selected time. Movie nights on a global scale, really. This would either be entirely server-moderated or would require some administrator input. Some people involved in this want to be able to do TV shows and transition between episodes easily. I'm no great developer, but I'm working on improving my Python (experience now: near zero) and if my project starts getting dedicated or popular you can bet that I'll be helping out in whatever way I can. |
Controlled rooms means only the person who created the controlled room (and others authorised by that individual) can pause, play and seek in that room - see #45 for progress. |
Nice work guys. New feature request do: |
The draft Shared Playlist spec is available from: http://syncplay.pl/Syncplay_Shared_Playlist_Draft_Spec.txt One of the big questions is how Syncplay should handle persistence of shared playlists. If everyone leaves the room, does it stay attached to that room, and if so for how long? Should the length of persistence if everyone leaves be something that is specified server-side, with a default of an hour? Should it be remembered if you close the server and open it again? Should it forget as soon as everyone leaves the room, and rely on restorable client-side backups? Should shared playlists belong to a specific user, and then you can specify that a room subscribes to that user's playlist? Your thoughts are welcomed. |
Release Candidate 1 of Syncplay 1.4.0 with its shared playlists feature is out now! http://syncplay.pl/syncplay-1-4-0/ |
If you have multiple files in queue and switch over to the next one, something bad happens:
One of the players jumps into the next file and syncs the time position with the other player. If the file is too short, it continues jumping until a long enough file is reached.
So you often end up playing another file from somewhere halfway through.
nnamrrehdlopoel
The text was updated successfully, but these errors were encountered: