diff options
author | lshprung <lshprung@yahoo.com> | 2021-10-02 16:06:24 -0700 |
---|---|---|
committer | lshprung <lshprung@yahoo.com> | 2021-10-02 16:06:24 -0700 |
commit | 011702b518c78f3a8d4635e3c7f3b93780fc585c (patch) | |
tree | f98cb73d40dc67db0cb5d1489bbf679e7dafb6cf /build_playlists.plx | |
parent | 90c3eba635f31472ca4fb5ebec5910a41221dbbf (diff) |
Created README
Diffstat (limited to 'build_playlists.plx')
-rwxr-xr-x | build_playlists.plx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build_playlists.plx b/build_playlists.plx index a2e0760..fc5b0f5 100755 --- a/build_playlists.plx +++ b/build_playlists.plx @@ -61,7 +61,7 @@ Options: --sql SQL_STATEMENT generate a single playlist based on output of some SQL statement Examples: - $0 ALBUM,ALBUMARTIST /home/john/Music/playlists/{ALBUMARTIST}-{ALBUM}.m3u Generate a playlist for every combination of ALBUM and ALBUMARTIST in the database, with the output file pattern ALBUMARTIST-ALBUM.m3u + $0 ALBUM,ALBUMARTIST \"/home/john/Music/playlists/{ALBUMARTIST}-{ALBUM}.m3u\" Generate a playlist for every combination of ALBUM and ALBUMARTIST in the database, with the output file pattern ALBUMARTIST-ALBUM.m3u $0 --sql \"SELECT PATH FROM LIBRARY WHERE ARTIST='Steely Dan';\" steely_dan.m3u Generate a playlist based on the output of this SQL statement $0 --sql \"ARTIST='Steely Dan';\" steely_dan.m3u If an incomplete SQL statement is received, the \"SELECT PATH FROM {table_name} WHERE \" part of the SQL statement is assumed to be implied "; @@ -145,6 +145,14 @@ else { } } + ## DEBUG TODO remove me + #for my $i (keys %tag_hash){ + # for my $j ($tag_hash{$i}){ + # print "$j\n"; + # } + #} + #die; + # TODO break up by semicolon (signifying array of tag values) # Determine output_file $output_file = $output_pattern; |