More > JRiver Media Center 21 for Windows
Handheld Sync Replacing Slash Characters in Field with Underscores
glynor:
I've been trying to re-sync my phone for an upcoming trip, which I haven't actually been doing lately (because JRemote is usually good enough). I've hit a problem. I've long used a system to sync between MC and iTunes. It amounts to this:
1. I have a handheld device added to MC called iTunes which has a list of all files that are worth syncing to iTunes from my MC database. This includes all music that I'd ever want to access, all Audiobooks, etc, but filters out Test Files, Podcasts, and other similar files.
2. This handheld device syncs to a location on a hard drive. The Audio Path under Files, Paths, & More is simply: [Handheld Audio Path]\
3. [Handheld Audio Path] is a calculated field with the following expression:
--- Code: ---Audio\If(IsEmpty([Media Sub Type]),Music,[Media Sub Type])\If(IsEmpty([Artist]),Unknown,Clean([Artist],3))\If(IsEmpty([Album]),Unknown,Clean([Album],3))If(IsEmpty([Disc #],1),,\[Disc #])
--- End code ---
4. That expression works and spits out:
This setup has, for a long time, worked in the past. I previously had it automated, and I have a set of these files on my disk from the last time MC did the sync (which was probably quite some time ago, but not "forever"). I'd turned off the automation at one point, and was just tonight trying to fix it. In any case, at some point in development, between late-MC19 and now (I'd guess), however, this existing setup that used to work, broke.
When I sync my files using this system, instead of the "expected path" of:
M:\iTunes_cache\Audio\Music\ABBA\Gold - Greatest Hits
I get:
M:\iTunes_cache\Audio_Music_ABBA_Gold - Greatest Hits
glynor:
bump
glynor:
So, I figured out what it is doing now, and why it no longer works, but it stinks, so I'm hoping there's a way around it. Basically, the Handheld engine is now parsing any fields you add to the File Path box and stripping out slashes. If I paste the same expression (listed above) directly into the box, then it works correctly.
But that means I need to change the expression in two places if I ever need to tweak it (because the same expression is used by MCiS to generate the iTunes File Key).
Is there any way to disable this parsing? Maybe if I wrap it in an expression of its own of some kind?
Cmagic:
Hi Glynor,
Think I'm in the same boat.
I am using a calculated field to compute some (rather convoluted) file paths for use in various RMCF presets. All backslashes are now replaced by underscore when using the field!
Did you find any nice workaroud so as to avoid this automatic parsing?..
All the best,
Christian
blgentry:
CMagic: Are you using Rename, Move, and Copy? If so, look in the lower part of the interface, just under the Preview Pane. You'll see a check box for "replace slashes in expressions". Turn that off and it will not replace slashes.
I've seen this problem in Handheld Sync and there is not a similar option that I'm aware of.
Brian.
Navigation
[0] Message Index
[#] Next page
Go to full version