{"action":"created","issue":{"url":"https://api.github.com/repos/spl0k/supysonic/issues/34","labels_url":"https://api.github.com/repos/spl0k/supysonic/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/spl0k/supysonic/issues/34/comments","events_url":"https://api.github.com/repos/spl0k/supysonic/issues/34/events","html_url":"https://github.com/spl0k/supysonic/issues/34","id":97583333,"number":34,"title":"Support creating playlists from m3u playlist files","user":{"login":"davidbrenner","id":236870,"avatar_url":"https://avatars.githubusercontent.com/u/236870?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbrenner","html_url":"https://github.com/davidbrenner","followers_url":"https://api.github.com/users/davidbrenner/followers","following_url":"https://api.github.com/users/davidbrenner/following{/other_user}","gists_url":"https://api.github.com/users/davidbrenner/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbrenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbrenner/subscriptions","organizations_url":"https://api.github.com/users/davidbrenner/orgs","repos_url":"https://api.github.com/users/davidbrenner/repos","events_url":"https://api.github.com/users/davidbrenner/events{/privacy}","received_events_url":"https://api.github.com/users/davidbrenner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spl0k/supysonic/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T00:09:59Z","updated_at":"2015-08-17T12:42:26Z","closed_at":"2015-08-17T12:42:26Z","body":"I'd like to be able to create playlists from .m3u files. I've written a very rough patch to do this on my own repo of supysonic here: c13b3aeaaa9bdf0a435a48cca85505f466f948fe. I just added a route to upload playlists to the frontend to implement it. The path for the uploads and the upload form are both hardcoded and ugly and the error handling is pretty awful, so it should probably be cleaned up before being pulled in. I can do that if there's interest in it.\r\n\r\nOne other issue related to error handling - due to the way the database is organized, multiple copies of the same song cannot be in the same playlist. I'm not sure how subsonic itself handles it, maybe that's consistent, but to me it's annoying. I'd like the option to have multiple of the same songs. I may end up changing this as well."},"comment":{"url":"https://api.github.com/repos/spl0k/supysonic/issues/comments/131802517","html_url":"https://github.com/spl0k/supysonic/issues/34#issuecomment-131802517","issue_url":"https://api.github.com/repos/spl0k/supysonic/issues/34","id":131802517,"user":{"login":"spl0k","id":2974943,"avatar_url":"https://avatars.githubusercontent.com/u/2974943?v=3","gravatar_id":"","url":"https://api.github.com/users/spl0k","html_url":"https://github.com/spl0k","followers_url":"https://api.github.com/users/spl0k/followers","following_url":"https://api.github.com/users/spl0k/following{/other_user}","gists_url":"https://api.github.com/users/spl0k/gists{/gist_id}","starred_url":"https://api.github.com/users/spl0k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spl0k/subscriptions","organizations_url":"https://api.github.com/users/spl0k/orgs","repos_url":"https://api.github.com/users/spl0k/repos","events_url":"https://api.github.com/users/spl0k/events{/privacy}","received_events_url":"https://api.github.com/users/spl0k/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T12:42:26Z","updated_at":"2015-08-17T12:42:26Z","body":"It'll be difficult to get something that works.\r\nThe M3U format allows both absolute and relative paths. Relative paths require that the playlist file to be created in a well known location, such as one of the root music folders. Playlists with absolute paths would only work if they are created on the computer running the server or if the the server have the same directory structure as the computer we're uploading the playlist from.\r\nThose are strong conditions which are unlikely to be met in the general case."}}