Closed ChoiZ closed 5 years ago
I guess you could trigger your external app in the get_playlist() method using os.system(...) and adding an option in the config to give the app start command ? https://github.com/yomguy/DeeFuzzer/blob/master/deefuzzer/station.py#L403
If this app returns a m3u file, then it may be read by the same method as in this part: https://github.com/yomguy/DeeFuzzer/blob/master/deefuzzer/station.py#L421
If not, your app should return the playlist to the stdout which can be read by os.system.
Is it possible to load a playlist (m3u) and the last element of this playlist is another playlist to load?
playlist1.m3u content:
artist - title.mp3 other songs … playlist2.m3u
playlist2.m3u content:
artist2 - title2.mp3 other songs … playlist1.m3u
2nd question: Is it possible to reload playlist without restarting deefuzzer?
Hi @ChoiZ Hope you are well ! I am afraid I have missed your questions 3 years ago! :(
I write a little playlist scheduler and I want to call this playlist generator on startup and when the playlist end to generate a new one.
@yomguy What is the best way to call my playlist generator?
Thanks in advance ;)