jSyn5 0 Posted July 4, 2024 Posted July 4, 2024 Hi all, I've set up Emby on a Synology in Docker and added lots of m3u playlists to my shared folder. It took some time to figure out which kinds of relative paths are needed, but ultimately emby picked up the playlists and I could happily just play them. Now I recognized an issue: I cannot add any audio tracks to the playlist. Only playlists created directly in Emby appear in the popup dialog (see screenshot). Also, wenn I want to remove an item from an imported playlist, I get another error popup: "You've not been granted access to edit this content. Please ask your server administrator to grant you the appropriate access." So naturally, I checked permissions for the shared folder containing the music and playlists. I ensured the following: - The folder is accessible R/W by the "music" user (the UID I provided to the docker container) - The folder is accessibly R/W by the system-created emby user - The docker volume for the configuration (/docker/Emby/config) is mounted R/W into the container - The music volume with music and playlist (/music) is mounted R/W into the container - I even set the permissions for music and emby user to /docker shared folder to R/W Obviously I restarted docker container, resynched everything etc. No change. I currently assume Emby does support importing playlist, but afterwards they are kind of read-only?
Abobader 3464 Posted July 4, 2024 Posted July 4, 2024 Hello jSyn5, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 Correct all imported library m3u files are not owned by any user. Only playlists created by the user will have ownership and option for collaboration with other users. Not sure how you got the first error. And since there is no ownership it does not show up in the list to add to playlists. @Lukethere probably need to be a note on this in library settings or clarification in the KB. 1
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 Now with a little work you can take those m3u playlists and put them in individual {playlistname} [playlist] folder and put in /data/playlists to be globally useable/editable by everyone depending on access privileges.
jSyn5 0 Posted July 4, 2024 Author Posted July 4, 2024 Hi Happy2Play, thanks for your answers and clarifications! Yes, I actually tried to put some into /data/userplaylists, exactly the way you described. A folder named {playlistname} [playlist], and below that the {playlistname}.m3u file. I set the same permissions as for other playlists that were created by Emby, using chmod. However they never showed up, with resyncing and even restarting the container. Note /data/userplaylists. Would it work with /data/playlists instead? Thanks, Jens
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 1 minute ago, jSyn5 said: Hi Happy2Play, thanks for your answers and clarifications! Yes, I actually tried to put some into /data/userplaylists, exactly the way you described. A folder named {playlistname} [playlist], and below that the {playlistname}.m3u file. I set the same permissions as for other playlists that were created by Emby, using chmod. However they never showed up, with resyncing and even restarting the container. Note /data/userplaylists. Would it work with /data/playlists instead? Thanks, Jens Yes it needs to be in /data/playlists as only Emby created one will be in userplaylists as the have db usershare controls.
Luke 42080 Posted July 4, 2024 Posted July 4, 2024 I can't reproduce this. From my testing I'm able to add and remove from these kinds of playlists.
jSyn5 0 Posted July 4, 2024 Author Posted July 4, 2024 Hi @Luke, you also used Docker, I assume, or the Synology Package Manager provided Emby? BTW the way I "imported" the playlists is that I just put them onto my music shared folder with m3u extension. Emby saw them directly. I also tried to go back to the Software package manager provided Emby, which I tried first with another issue. However, I cannot install it anymore. Either Synology Package Manager just does nothing when I click install, or it downloads, and then does nothing. No idea currently why that is.
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 4 minutes ago, Luke said: I can't reproduce this. From my testing I'm able to add and remove from these kinds of playlists. Library m3u import and delete just fine. You have no reorder control and cannot add/remove any items to them.
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 20 minutes ago, Luke said: I can't reproduce this. From my testing I'm able to add and remove from these kinds of playlists. Either there is something wrong with my admin account or there is just quirks with /data/playlists as admin cannot reorder or add to but user account can.
Happy2Play 9781 Posted July 4, 2024 Posted July 4, 2024 @LukeThink it is just my flaky test system where I nuked the library.db not too long ago and have these permissions quirks as I just toggle access and parental controls and is working now. As mentioned elsewhere users.db and new library.db don't quite play well together. So may need to see server log for library imported m3u issues.
jSyn5 0 Posted July 4, 2024 Author Posted July 4, 2024 Hi @Happy2Play, I tested the approach you mentioned with creating a Playlist file in the data/playlists folder. The playlist shows up, but again, I cannot add or remove anything. Here is what I did and the screenshots of what I tried see below. Logged in via SSH Copied an existing playlist to data folder: cp /volume1/music/Playlists/SomePlaylist.m3u /volume1/docker/Emby/config/data/playlists Went to playlists folder and renamed: mv SomePlaylist.m3u PLAY_TEST.m3 Mkdir and move: mkdir 'PLAY_TEST [playlist]' && mv PLAY_TEST.m3u PLAY_TEST\ \[playlist\]/ Change permissions: sudo chown -R music:daemon PLAY_TEST\ \[playlist\]/ Resynched the music library and just to be sure restared the container. Now the playlist shows up and can be played. However: Trying to add any piece of music: Click the 3 dots and "Add to playlist" -> The playlist does not show up. Going into the playlist and selecting a song, clicking "-" to remove -> Error message "You've not been granted access to edit this content. Please ask your server administrator to grant you the appropriate access." So seems it is some general permission issue.
Luke 42080 Posted July 7, 2024 Posted July 7, 2024 On 7/4/2024 at 10:13 AM, jSyn5 said: Hi @Happy2Play, I tested the approach you mentioned with creating a Playlist file in the data/playlists folder. The playlist shows up, but again, I cannot add or remove anything. Here is what I did and the screenshots of what I tried see below. Logged in via SSH Copied an existing playlist to data folder: cp /volume1/music/Playlists/SomePlaylist.m3u /volume1/docker/Emby/config/data/playlists Went to playlists folder and renamed: mv SomePlaylist.m3u PLAY_TEST.m3 Mkdir and move: mkdir 'PLAY_TEST [playlist]' && mv PLAY_TEST.m3u PLAY_TEST\ \[playlist\]/ Change permissions: sudo chown -R music:daemon PLAY_TEST\ \[playlist\]/ Resynched the music library and just to be sure restared the container. Now the playlist shows up and can be played. However: Trying to add any piece of music: Click the 3 dots and "Add to playlist" -> The playlist does not show up. Going into the playlist and selecting a song, clicking "-" to remove -> Error message "You've not been granted access to edit this content. Please ask your server administrator to grant you the appropriate access." So seems it is some general permission issue. HI, please attach the emby server log from when this happened: How to Report a Problem Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now