More > JRiver Media Center 25 for Mac
Exporting to handheld
al1947:
I am using “Music/[Filename (path)]\/” as the export path template, with “Filename (name)” as the name template. (Screenshot) My problem is that the [Filename (path)] field carries the folder name from my computer onto my DAP.
Thus: "/Volumes/LaCie/Testing/Michael Tilson Thoma/Mahler_ Symphony No. 6 in/01_Mahler__Symphony_No._6_in_A_minor__I._.flac"
Gets written to DAP as "/Volumes/LaCie/Testing Output/Music/_Volumes_LaCie_Testing_Michael Tilson Thoma_Mahler_ Symphony No. 6 in_/01_Mahler__Symphony_No._6_in_A_minor__I._.flac".
"/Volumes/LaCie/Testing Output/" and "_Volumes_LaCie_Testing_" are both extraneous.
(shows up in playlist as "./../Music/_Volumes_LaCie_Testing_Michael Tilson Thoma_Mahler_ Symphony No. 6 in_/01_Mahler__Symphony_No._6_in_A_minor__I._.flac")
I want to get the file on the handheld to be "Music/Michael Tilson Thoma/Mahler_ Symphony No. 6 in/01_Mahler__Symphony_No._6_in_A_minor__I._.flac"
How do I do this? What do I change in the path template so that volume information from my Mac doesn't get written to the handheld?
blgentry:
The normal way that the export template gets used is to have the directory contain a fixed path and then a field or two to make subdirectories underneath it. For example:
Music/[Artist]/[Album]/
This way you'd get album and artist directories which should organize your exported media into a nice structure. I see that your example is classical, which generally uses something other than just artist and album. Composer, Work, etc might be used.
I think you are probably wanting to use something like the last two directory names in the Mac path as part of the export path. I think that's what your example shows. This can be done with an expression. You'll probably want to use the FileFolder() function:
https://wiki.jriver.com/index.php/File_Path_and_Identifier_Functions#FileFolder
If you can figure out a way to get a meaningful path from some of the metadata like Composer or Work or even Artist/Album/etc that might be more straightfordward.
In any case you'll need to play around with this to try to get the expression just right to give you the paths you want.
Good luck!
Brian.
al1947:
Having trouble with the filefolder function. To start with:
--- Quote ---filefolder()
Returns the name of the file's parent folder.
filefolder([filename,0], 0)
Same as the previous example.
--- End quote ---
For me, while "filefolder()" works -- creates folders with the album names and puts the tracks inside them. But the "filefolder([filename,0], 0)" notation does not work -- it just generates tracks without album folders.
The same thing happens if I attempt to expand the function to add another level of folders: "filefolder([filename,1], 1)"
It appears that the info in https://wiki.jriver.com/index.php/File_Path_and_Identifier_Functions#FileFolder presupposes Windows and, thus, backslashes as folder separator.
However, I am working on a Mac where regular slashes are the separator. Is there a Mac version of that function? Or a way to modify it for Mac?
blgentry:
It's very, very strange. I've tested this for a few minutes using MC for Linux, which also uses "/" for a path separator instead of the "\" that Windows uses.
I get the same thing you get: filefolder() with any kind of argument (like [filename]) doesn't work at all in the EXPORT OPTIONS. It works just fine in an expression column though. I've seen this behavior going back several years: Expressions that should work in RM&C and Export do not work. They work in an expression column, but do not do the same thing in these file specific dialogs.
I'm not sure what to advise here. Is there a way for you to construct two levels of folder path from other variables you have? It sorta looks like [Album] is the last folder and the one before it is maybe Conductor or Artist? That would make this easy.
Or just use Album all by itself?
Brian.
Matt:
This turned into a pretty tricky problem, but next build will fix it.
The history:
Fixed: When getting the filename field in an expression, the filename slash character won't be replaced by underscores (only slashes in other fields).
Navigation
[0] Message Index
[#] Next page
Go to full version