neolao / music-playlist-generator
Playlist generator
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Language:Perl
Type:util
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2024-12-21 16:25:46 UTC
README
Requirement
- PHP CLI >= 5.4
- Perl >= 5
Usage
./bin/music-playlist-generator.phar configuration.json
Configuration
{ "exiftoolPath" : "/path/to/exiftool", "cachePath" : "/path/to/cache", "mediaDirectoryPath" : "/path/to/media/library/", "playlistPath" : "./myPlaylist.m3u8", "format" : "m3u8", "relativePath" : true, "directorySeparator" : "/", "rules": [ { "field" : "Popularimeter", "operator" : "isEqual", "value" : 5 }, "and", [ { "field" : "Genre", "operator" : "isEqual", "value" : "Pop" }, "or", { "field" : "Genre", "operator" : "isEqual", "value" : "Rock" } ] ] }
Note: The paths are relative to the configuration file.