INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to change pathname in CD Database  (Read 1851 times)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
How to change pathname in CD Database
« on: May 29, 2006, 12:35:28 pm »

Find and Replace silently fails when trying to change the pathname for items in the CD Database.  Is this known?  Is there another way to quickly bulk change paths in the CD Database ?
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: How to change pathname in CD Database
« Reply #1 on: May 30, 2006, 08:50:16 am »

CD filenames can't be changed since you'd need to reburn the disc to change a filename.

MC stores filenames in a drive-independent way already. (so putting the disc in any drive will work as expected)
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to change pathname in CD Database
« Reply #2 on: May 30, 2006, 09:34:52 am »

Wait, this doesn't make sense.  I'm not talking about track1.cda, I'm talking about the Album Title that comes from YADB and is used to construct the "Filename" field in the CD Database.  The "Filename" field in the database shows something like :

   Album Title\track01.cda

The "Album Title" part can be changed manually, just not with Find and Replace, even though Find and Replace gives you the option to do so.

Album Title, which appears to be coming from YADB, is sometimes incorrect (and worse, inconsistent across multli-disk sets); so I have had to manually change the Album Title in the CD Database I maintain.

If there's a more obvious way to change this part of the Filename field (which feels like a misnomer as it really seems to be Filepath\Filename), I'd like to know it, or perhaps report as a bug that F&R can't do what it allows the user to believe can be done.
Logged
The opinions I express represent my own folly.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: How to change pathname in CD Database
« Reply #3 on: May 30, 2006, 02:15:11 pm »

I've done this many times. Just edit the [Album] field?

Think about it...

It's not possible to change the file path or the filename of a file that resides on "write once" removable media. It's not an MC shortcoming or bug, it's just not possible by any means what-so-ever. If you edit the filename field in the way you describe, does MC still keep the library data linked with the CD? What I mean is, if you placed the CD in the drive, then double clicked one of the files you had edited, would MC play the file from the CD, or would it ask you to insert the correct disc?

What you can do is create "aliases" via the CD\DVD database.

The "find and replace" tool works just fine for this too.

You simply correct the info in the database fields and use those to find and reference your ofline media rather than the filename itself.

If at some time in the future you copy those files from cd to your hard drive, after checking that the "read only" flag is clear, you are then free to use all available library tools to sync the file paths and file names with their respective tags.

-marko.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to change pathname in CD Database
« Reply #4 on: May 30, 2006, 02:31:22 pm »

Marko - I think you misunderstand me. I suppose its all the nomenclature that's in the way.  I'm not attempting to change read-only media; that would be silly. 

I'm trying to change the Filename entry in a DB:CD view.  This is changable data; I can do so manually.  This data is auto-populated when a CD is inserted; the Filename is simply an MC generated field, created by joining the YADB Album Title field with Track[Track Number].cda.  It is not on the CD; I suppose you are calling these aliases.

The issue is that Find & Replace is failing to actually do the find and replace in the field that can be changed manually.  It simply does nothing.

I already have the CDs ripped, and they are in their own database; I am currently not associated the CD:DB with my ripped tracks.  And with over 13,000 tracks, i'm not about to try to start to manually sync the two databases.
Logged
The opinions I express represent my own folly.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: How to change pathname in CD Database
« Reply #5 on: May 30, 2006, 02:49:57 pm »

K. try this....

Take a cd whose CD:DB entries have not been altered and place the disc in the drive (preventing any autorun nonsense)

Now browse to that cd's entry in your CD:DB and double click on one of the files. MC begins playback from the cd, right?
If I'm right, stop playback and remove the disc, but keep it handy...

Now manually edit the filename field, changing the [volume] part of it as you described above.
Now replace the cd in the drive (preventing any autorun nonsense)
If you double click on the cd's track entry in the CD:DB, does MC find the cd in the drive and begin playback, or does your manual edit break the relationship?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: How to change pathname in CD Database
« Reply #6 on: May 30, 2006, 03:19:48 pm »

MC has an independent "Volume Name" database.  You can read and write the [Volume Name] field for any removable file.  I think this is what you're looking for.
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to change pathname in CD Database
« Reply #7 on: May 30, 2006, 03:41:13 pm »

That's exactly what I wanted.  I see now that Filename = Volume Name\Filename (name).

Unfortunately, I had already changed some Filename fields, which seems to have created some read-only Volume Name fields (they are labeled like TH, TR, and I can't change them).  Is there a way to rename, or do I have to re-assosciate the CD?
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up