The "mediame - stage <devicename>" file creates a "staged" copy of the directory structure to be loaded into the specified device. The "staged" directory structure resides in the ~/mediame/staging/<devicename> directory. Device name must be alphanumeric.
The contents of the [alldevices] and [<device name>] sections of the ~/mediame/conf/mediame.ini define what mp3 files are to be staged. The superset of the two sets of files are staged. Initially, the following key value pairs are supported within these sections:
<content-class>_artists=<csv list of artists or '*'>, where <content-class> is one of: "popmusic", "podcast", "recentpodcast", "book", "classicalmusic". An '*' value indicates that all content of the class is to be staged. Otherwise a csv list of the artists (or authors or composers) to be staged is given where every album and every track by that artist is staged.
<content-class_genre_startswith=<csv list of strings>, where <content-class> is one of: "popmusic", "podcast", "recentpodcast", "book", "classicalmusic" and where any track whose genre starts with one of the entries in the csv list is a candidate for staging.
When a content-class has both an _artists ini parameter and a _genre_startswith ini parameter an mp3 file if it matches either the _artists criteria or the _genre_startswith criteria.
<content-class>_location=<relative path>, where <content-class> is one of: "popmusic", "podcast", "recentpodcast", "book", "classicalmusic" and where <relative path> defines where under the ~/mediame/staging/<devicename> the content-class's mp3 directory structure should be placed. The default value for a content-class is the content class-name, e.g. "book" artists are placed in the ~/mediame/staging/<devicename>/book directory.
<content-class>_genreoverride=<genre_name>, where <content-class> is one of: "popmusic", "podcast", "recentpodcast", "book", "classicalmusic" and where <genre_name> is the string that all of that content-class's tracks are assigned. This genreoverride mechanism provides a way for the Cowon iAudio9 to be given a command to shuffle all of the content-class's tracks. One selects the genre and shuffle and all the tracks in that genre shuffle. The reassignment occurs at the point of staging (prior to the tracks being sync'ed to the actual device). The default value of empty string ("") indicates that no override operation should take place.
One additional parameter controls how many directories of recent podcast days are copied to the device:
recentpodcastdays=<1..1000000> gives the number of recent podcast day directories to be staged. There is one directory for each of the most recent days that a mediame -P command is executed. This controls how much space is occupied by recent podcasts.
The initial values I'm implementing is for the following .ini content:
[alldevices]
popmusic_genre_startswith=MusicNPop
recentpodcast_artists=*
#popmusic_artists=*
[i9]
popmusic_location=Music
popmusic_genreoverride=MusicN
recentpodcast_location=PodcastRecent
recentpodcastdays=14
book_location=Book
MontyHigh, www.worldofwallstreet.us
