{"action":"created","issue":{"url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/74","repository_url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID","labels_url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/74/comments","events_url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/74/events","html_url":"https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/74","id":339650161,"node_id":"MDU6SXNzdWUzMzk2NTAxNjE=","number":74,"title":"order audio by type","user":{"login":"Luegengladiator","id":35236795,"node_id":"MDQ6VXNlcjM1MjM2Nzk1","avatar_url":"https://avatars3.githubusercontent.com/u/35236795?v=4","gravatar_id":"","url":"https://api.github.com/users/Luegengladiator","html_url":"https://github.com/Luegengladiator","followers_url":"https://api.github.com/users/Luegengladiator/followers","following_url":"https://api.github.com/users/Luegengladiator/following{/other_user}","gists_url":"https://api.github.com/users/Luegengladiator/gists{/gist_id}","starred_url":"https://api.github.com/users/Luegengladiator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luegengladiator/subscriptions","organizations_url":"https://api.github.com/users/Luegengladiator/orgs","repos_url":"https://api.github.com/users/Luegengladiator/repos","events_url":"https://api.github.com/users/Luegengladiator/events{/privacy}","received_events_url":"https://api.github.com/users/Luegengladiator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-10T00:17:33Z","updated_at":"2018-07-10T08:51:39Z","closed_at":null,"author_association":"NONE","body":"From the code it's possible to order the type of audio in subfolders:\r\n\r\nfind . -type d | grep shared\r\n./shared/audiofolders\r\n./shared/audiofolders/weblinks\r\n./shared/audiofolders/weblinks/ZZZ-YouTube-Link1\r\n./shared/audiofolders/weblinks/ZZZ-YouTube-Link2\r\n./shared/audiofolders/audiobooks\r\n./shared/audiofolders/audiobooks/Audiobook1\r\n./shared/audiofolders/audiobooks/Audiobook2\r\n./shared/audiofolders/audiobooks/Audiobook3\r\n./shared/audiofolders/podcasts\r\n./shared/audiofolders/podcasts/ZZZ-Podcast-1\r\n./shared/audiofolders/podcasts/ZZZ-Podcast-2\r\n./shared/audiofolders/music\r\n./shared/audiofolders/music/music1\r\n./shared/audiofolders/livestreams\r\n./shared/audiofolders/livestreams/ZZZ-Webstream1\r\n\r\nyou have to create the same folderstructure in playlists\r\n\r\nfind . -type d | grep playlists\r\n./playlists\r\n./playlists/audiobooks\r\n./playlists/livestream\r\n./playlists/podcasts\r\n./playlists/music\r\n./playlists/webstream\r\n\r\nto store the m3u. \r\n\r\nNow it's possible to recreate or keep the m3u by type of audio.\r\nYou want to recreate it on podcast or store it in audiobooks.\r\nThere is no need to change the code. Only remember to create the shortcut with the specific subfolder:\r\n\r\ncat 5000112547726\r\naudiobooks/Audiobook1\r\n\r\ncat 4045145288001\r\nmusic/music1"},"comment":{"url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/comments/403749377","html_url":"https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/74#issuecomment-403749377","issue_url":"https://api.github.com/repos/MiczFlor/RPi-Jukebox-RFID/issues/74","id":403749377,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzc0OTM3Nw==","user":{"login":"Luegengladiator","id":35236795,"node_id":"MDQ6VXNlcjM1MjM2Nzk1","avatar_url":"https://avatars3.githubusercontent.com/u/35236795?v=4","gravatar_id":"","url":"https://api.github.com/users/Luegengladiator","html_url":"https://github.com/Luegengladiator","followers_url":"https://api.github.com/users/Luegengladiator/followers","following_url":"https://api.github.com/users/Luegengladiator/following{/other_user}","gists_url":"https://api.github.com/users/Luegengladiator/gists{/gist_id}","starred_url":"https://api.github.com/users/Luegengladiator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luegengladiator/subscriptions","organizations_url":"https://api.github.com/users/Luegengladiator/orgs","repos_url":"https://api.github.com/users/Luegengladiator/repos","events_url":"https://api.github.com/users/Luegengladiator/events{/privacy}","received_events_url":"https://api.github.com/users/Luegengladiator/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T08:51:39Z","updated_at":"2018-07-10T08:51:39Z","author_association":"NONE","body":"stored positions are direct linked to the mp3 folder. \r\nRecreation of m3u on the folder maybe ends up in broken stored positions: \r\nExample:\r\nyour m3u is created on the audiolist file1 file3 file4\r\nStored position is now track 2 second 125.\r\nyou add file2 to the folder recreate the m3u. stored position is now a different audiofile.\r\nSo you have to delete (or recalculate) the stored positions if you recreate the m3u which is automatically done if you store the position inside the m3u."}}
{"actor":{"display_login":"Luegengladiator"}}