{"id":13861281,"url":"https://github.com/bmatcuk/Create-Playlist.workflow","last_synced_at":"2025-07-14T09:31:10.662Z","repository":{"id":23119264,"uuid":"26473820","full_name":"bmatcuk/Create-Playlist.workflow","owner":"bmatcuk","description":"An OSX Automator Workflow for creating relative-pathed m3u playlists from audio files in the selected folder.","archived":false,"fork":false,"pushed_at":"2020-01-26T19:53:32.000Z","size":676,"stargazers_count":16,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-09T23:11:44.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmatcuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-11T07:12:21.000Z","updated_at":"2024-07-16T01:47:31.000Z","dependencies_parsed_at":"2022-08-21T19:30:20.487Z","dependency_job_id":null,"html_url":"https://github.com/bmatcuk/Create-Playlist.workflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2FCreate-Playlist.workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2FCreate-Playlist.workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2FCreate-Playlist.workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmatcuk%2FCreate-Playlist.workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmatcuk","download_url":"https://codeload.github.com/bmatcuk/Create-Playlist.workflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225968807,"owners_count":17553141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T06:01:15.160Z","updated_at":"2024-11-22T21:30:24.555Z","avatar_url":"https://github.com/bmatcuk.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"Create-Playlist.workflow\n========================\n\nAn OSX Automator Workflow for creating relative-pathed m3u playlists from audio\nfiles in the selected folder.\n\nInstallation\n------------\n\nTo install, simply `git clone\nhttps://github.com/bmatcuk/Create-Playlist.workflow.git\n~/Library/Services/Create-Playlist.workflow`. You may need to \"open\" the\nworkflow to get it to appear in the Services menu. To do that, just navigate to\n~/Library/Services and double click Create-Playlist.workflow to open it in\nAutomator. You don't need to do anything here; just close Automator.\n\nYou may also encounter permission problems (it will appear locked in\nAutomator). To fix that in your terminal, run the following commands:\n\n```bash\nchown -R \"$(id -un):$(id -gn)\" ~/Library/Services/Create-Playlist.workflow\nchmod -R 0755 ~/Library/Services/Create-Playlist.workflow\n```\n\nThe first command ensures that the current user owns the files, and the second\nensures that you have read, write, and execute permission.\n\nTo use, open a Finder window and locate a folder for which you want to create a\nplaylist. Right click on this folder and select Services, Create-Playlist. In a\nmoment, a file will be created in the current folder with the same name as the\nfolder you selected and the .m3u extension. You can also select multiple\nfolders. Right click and select Services, Create Playlist as before and you'll\nget a .m3u file for each folder selected! Note: There may be a limit to the\nnumber of folders the workflow can process at a time...\n\nThis script will find .mp3, .aac, .m4a, .wav, .wma, .flac, .ogg, .pcm, .aiff,\nand .alac files. If there are any others you think it should support, file an\nIssue.\n\nHow Does it Work?\n-----------------\n\nThis is an [Automator](http://macosxautomation.com/automator/) workflow that\nruns a simple shell script. The script loops through the arguments (the\nselected folders, in this case), switches to that folder, and then searches for\naudio files recursively. Whenever an audio file is found, it is appended to the\nm3u file using some appropriate formatting.\n\nWhy?\n----\n\nMy car can read music off a USB keychain drive. It seems to understand artists\nand albums from the MP3 headers, but it just ends up playing songs in\nalphabetic order by filename. I could rename all my files so they'll end up\nplaying in the order I'd like... but my car also understands m3u files. It\nseemed easier to make this work =)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2FCreate-Playlist.workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmatcuk%2FCreate-Playlist.workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmatcuk%2FCreate-Playlist.workflow/lists"}