Support and General Use > Audio Playback, Database and Playlists

Directories in M3U files?

<< < (3/5) > >>

brianary:

--- Quote from: bascule on January 29, 2008, 03:19:39 AM ---
--- Quote from: brianary on January 29, 2008, 01:07:41 AM ---...since there doesn't seem to be an 'or' operator provided by the filter menu syntax.

--- End quote ---

No, there isn't. But this will work if you have no other directories beginning with 'cast':


--- Code: ---"Music" -> title = "fmt_title" ? filename ~ "/cast"
--- End code ---


--- End quote ---

The idea is to break /castA/ through /castZ/ into categories.


--- Code: ---"Music" -> title = "fmt_title" ? filename ~ "/castA/" | filename ~ "/castN/" | filename ~ "/castQ/"
"News" -> title = "fmt_title" ? filename ~ "/castC/" | filename ~ "/castJ/" | filename ~ "/castY/"
"Comedy" -> title = "fmt_title" ? filename ~ "/castD/" | filename ~ "/castE/" | filename ~ "/castR/"
--- End code ---


--- Quote from: bascule on January 29, 2008, 03:19:39 AM ---
--- Quote from: brianary on January 29, 2008, 01:07:41 AM ---And, really, a playlist file is a much cleaner format to maintain.

--- End quote ---

How's that? A database entry does not need any maintenance, because, provided 'Auto Update' is on, it always displays all the podcasts on your player without having to do anything.

--- End quote ---

Maintenance in the sense that as I add and remove podcasts (directories), rebuilding the playlist automatically seems far easier than preserving all the additional syntax required by tagnavi.

I guess what I'm really looking for is "genre" support, without having to be the "genre police" for all the podcasts I listen to. I doubt the BBC, CBC, NPR, Decoder Ring Theatre, etc would be particularly sympathetic to my request that they update their genre field. I've tried any number of tools to set the actual genre field in the ID3, but with only limited success: too often the tool clobbers tags that aren't in exactly the right format, or the Rockbox database doesn't read the tag correctly (I'd set the genre to "Book", and several tracks would read as "Boo"; or, I'd set "Music" and there'd be several entries for "Mu", "Musi", etc.); but, most of all, I'd rather not have to maintain script(s) to set genre fields anymore.

Llorean:
Then why don't you create a folder called /News, put all the News podcasts into subfolders of it, create one called /Comedy, and put all the comedy ones into subfolders of it, etc?

cpchan:

--- Quote from: brianary on January 29, 2008, 06:55:07 PM ---but I'm not sure if the bash script would work on the Mac side.
--- End quote ---


Bash does work on OS X. From what I have read, it is the default shell from Tiger and up. For system less than Tiger, you can get it here:

http://www.savagetranscendental.com/data/OSX/bash-osx.html

Don't know why they default to a C shell before that.


--- Quote ---Plus, there's the whole problem of testing and maintaining a script on three platforms. I'll probably just go without rather than script a solution.  :(
--- End quote ---

I don't think your device will change much. Maintaining it shouldn't be that hard.

Charles

brianary:

--- Quote from: Llorean on January 29, 2008, 07:19:49 PM ---Then why don't you create a folder called /News, put all the News podcasts into subfolders of it, create one called /Comedy, and put all the comedy ones into subfolders of it, etc?

--- End quote ---

Sadly, the podcatcher software doesn't support that (yet).

brianary:

--- Quote from: cpchan on January 29, 2008, 09:50:31 PM ---
I don't think your device will change much. Maintaining it shouldn't be that hard.


--- End quote ---

I was thinking more about when I add and delete podcasts, or if I decide to move a podcast between categories.

I don't mean to be as dismissive as I must sound. Rockbox is far superior to anything I can compare it to, and I greatly appreciate everyone here willing to take the time to help. I've hit my head against this wall for a while now, and I was hoping I just missed something obvious.

It's too bad FAT32 doesn't support hardlinks, or I'd add the folders to category locations in addition to the location the podcatcher puts them.

It sounds like the best way forward is to create the directory playlists, and build a bash script and a windows command script to expand all of the music files (mp3, ogg, not cover.bmp, ...) in each of those directories. I guess if I keep it simple enough, I won't have to update the scripts, just the directory lists.

Hmmm... I might also investigate creating something that runs on Rockbox itself...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version