Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add full daemon functionality #551
I'm trying to integrate tizonia into my own project, but during testing found out that
Expected behaviour would be to keep tizonia running in the background, where tracks could be added to the queue, and it would (maybe configurable) stay idle once the queue is empty.
Right now I would have to keep track of every tracklength in order to spin up a new tizonia instance, when I'm not using one (or more) of the supported music providers, in order to keep the music playing.
Please update this daemon functionality to work more as expected, it's an amazing project, and this would make it all the better
Hi!, thanks for your feedback.
You are absolutely correct. Tizonia currently does not have the right tools to provide a music service to other applications. This is a known issue and is definitely one that I would love to resolve in the future (see the roadmap section in README.md).
Regarding the current state of the
This is a very large topic. I would be more than happy to accept contributions, ideas, suggestions, etc.
Thank you for the quick response.
I'm not expecting it to provide a music service to other applications, nor am I asking for a
Tizonia works great as-is for me, and personally I have no need for that to change. It does exactly what it says, a command-line music player. All I'm missing is a full daemon implementation.
But maybe your understanding of the
To help, I would need to understand exactly what behavior is not there/is broken right now for your use cases:
There currently is no (easy) way to add tracks to the playback queue of a running Tizonia instance.
This is the same as #491 and it would be relatively easy to implement.
What else would be needed?
I just tested
#491 was the issue I ran into next during testing.
The only functionality that's then missing after the looping is fixed, is to be able to add songs to the queue. That would make Tizonia absolutely perfect for my use case.
My project is Shoutz0r, which is basically meant to be a local radio where people can upload their own mp3's, or request songs, which will then be played. It's main goal is for private LAN-parties to have some background music going.
There have been multiple revisions of shoutz0r, the first few using
So now I found Tizonia, and I'm basically creating a wrapper for it to interface with it.