Skip to content
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

Streaming doesn't stop even when the video ended #24

Open
Lenoired opened this issue Apr 29, 2023 · 1 comment
Open

Streaming doesn't stop even when the video ended #24

Lenoired opened this issue Apr 29, 2023 · 1 comment

Comments

@Lenoired
Copy link

It would be great to have a function or a command to get the transport status of the device, either for checking if it's available for consuming another video or to check if the last consumed video ended, since nano-dlna does not do this.

@gabrielmagno
Copy link
Owner

@Lenoired that would be good, indeed.

In fact, this feature is somehow related to one of the tasks already mapped in the TODO, which is to be able to handle control commands while playing (play, pause, forward, seek, etc). If we want to do this properly it would be good to continuously monitor the status from the playing client (e.g. to show the progress and status of the media). If we are able to monitor status from the server, we would also be able to identify when the media stopped or finished, so we could close nanodlna properly. Unfortunately I have never had time to implement this so far. Maybe one day.

Meanwhile you could explicitly close nanodlna when your media finished playing, by hitting Ctrl + C in the terminal running nanodlna.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants