-
Notifications
You must be signed in to change notification settings - Fork 397
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, Livestreams, Podcasts #2200
Playlists, Livestreams, Podcasts #2200
Conversation
Thanks for the pull request 🎉👍 At the moment I'm unsure what the PR is adding, because according to our feature status page playlists should work already. But I haven't tried playlists myself. |
Yes and no. At the moment, jukebox-daemon reads playlists, and presents the content as single items to the user. See |
@pabera, you now probably the status of the current playlist features. |
|
@flipreverse Good news: Playlists are implemented, even without your change. They also can be assigned to cards. The only problem is, documentation is missing. I will use your PR to make the necessary changes to the docs and revert your change as it actually conflicts with the original implementation. Here is an explanation from the code that already describes how to use playlists. Long story short. The Phoniebox expands the content of your playlist, so you can actually call individual items from it within the Web App for example. To be able to assign a play list to a card, I suggest the following:
This will play your playlist. But instead of registering a playlist to a card, you register a folder and Phoniebox will do the rest. RPi-Jukebox-RFID/src/jukebox/jukebox/playlistgenerator.py Lines 2 to 32 in 4f015dd
|
I guess it could make sense to pull some docs from docstring to the Markdown docs or at least reference it. E.g. like this RPi-Jukebox-RFID/documentation/developers/README.md Lines 13 to 14 in 6f09764
Battery Monitor docs are also such a candidate. |
Pull Request Test Coverage Report for Build 7692545448
💛 - Coveralls |
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
Co-authored-by: s-martin <s-martin@users.noreply.github.com>
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
documentation/builders/webapp/playlists-livestreams-podcasts.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not try it yet, but it looks fine to me.
|
||
1. In the `audiofolders` directory (or any sub-directory), create a new folder. | ||
1. In this new folder, copy your .m3u playlist. Make sure the links to the respective songs are correct. | ||
1. Open the Web App. Under `Library`, select the `Folder` view and browse to the new folder you created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Open the Web App. Under `Library`, select the `Folder` view and browse to the new folder you created. | |
1. Open the `Library` tab in the Web App, select the `Folder` view and browse to the new folder you created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to keep it that way. It's represents a step by step guide where Open Web App
comes first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, just though of harmonizing the wording with Line 58
I'm very sorry returning that late to this PR. Thanks for considering my feedback. One thing I don't get: Why do I have to put every playlist in a separate folder? On my opinion, it is the default behavior of nearly every audio player out there. Simply select the playlist as a file, and I'm done. |
That's a good point. It was a choice. This way, you can still choose an individual song of your given playlist. How do you organize your ripped CD's? In my opinion, you'd still manage them in individual folders. I agree, this could still be added as an option. I'll keep it in mind. To avoid too much manual work with copying the playlists, you could use a bash script to do this for you. If you have all your playlists in a folder, this script should be sufficient
|
This is a first draft. It add support to set m3u playlists as action on cards or directly play them.
At the moment, one is not able to edit cards assigned to a m3u playlist. This is due a
None
answer byget_song_by_url()
in the player.Why is this function called on behalf of the HTTP request
#/cards/0006807296/edit
?