SongID assigned -1 value ???

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: SongID assigned -1 value ???

Re: SongID assigned -1 value ???

by TheoOrl45 » Mon Feb 23, 2009 1:16 pm

Ok Ok, I'm sorry...

I find out what I was doing wrong. For having a SongID value, I have to call "updateDB" once....

Until now, I was working with field BEFORE calling the updateDB. So, the values was not saved in the database....^^ If I call first "updateDB" and after, I try working with the fields, it's better :-)

Thanks for your help everybody !!

Re: SongID assigned -1 value ???

by TheoOrl45 » Mon Feb 23, 2009 1:10 pm

I probably miss something.

There is no difference when I do "Files -> Add track to the library"...
I think I'm doing something wrong... it's quite anoying....

Re: SongID assigned -1 value ???

by TheoOrl45 » Mon Feb 23, 2009 10:18 am

Ok, I will try tonight.
Thank for your help :-)

Re: SongID assigned -1 value ???

by nohitter151 » Mon Feb 23, 2009 7:26 am

TheoOrl45 wrote:<Insert> ?

I don't know if I correctly tell you my need.
I don't have any playlist. Indeed, I only use the "My computer" node because I need the items list be updated as soon as I add an audio file in the directory.

I have 1 main folder, and 2 sub-folders. In the first one, there are more than 800 audio files (MP2 format). In the second one, there are only more than 10 audio files (mp2 format too).
With the first one, no problem : my MM3 script finds SongID field with a value. But, with the second one, my MM3 script finds no value (like your script does).

I tried to press F5 to "rescan", but SongID still remains empty.... (I mean -1 value). So....I don't know what I can do.... :-?
Rescan = File -> Add/rescan tracks to the library

Re: SongID assigned -1 value ???

by TheoOrl45 » Mon Feb 23, 2009 5:01 am

<Insert> ?

I don't know if I correctly tell you my need.
I don't have any playlist. Indeed, I only use the "My computer" node because I need the items list be updated as soon as I add an audio file in the directory.

I have 1 main folder, and 2 sub-folders. In the first one, there are more than 800 audio files (MP2 format). In the second one, there are only more than 10 audio files (mp2 format too).
With the first one, no problem : my MM3 script finds SongID field with a value. But, with the second one, my MM3 script finds no value (like your script does).

I tried to press F5 to "rescan", but SongID still remains empty.... (I mean -1 value). So....I don't know what I can do.... :-?

Re: SongID assigned -1 value ???

by Bex » Mon Feb 23, 2009 2:42 am

Simply add/rescan your music to MM. Press <insert>.

Is that what you mean?

Re: SongID assigned -1 value ???

by TheoOrl45 » Mon Feb 23, 2009 2:30 am

Bex,

Your script is very handy, great !!

But, what should I do to add the item in MM3 database ?? I need a unique integer value to rename the file and SongID is the best way to do it. Is there any way to force MM3 to add the item and to give it a unique songID number ???

Thanks a lot.


--
Theo

Re: SongID assigned -1 value ???

by Bex » Sun Feb 22, 2009 6:07 pm

It means that the track is not scanned into the library. It can also happen if you run the scripts on tracks from the My Computer node.
To easily see different values from different tracks you select, try this script:
http://www.mediamonkey.com/forum/viewto ... =2&t=25935

SongID assigned -1 value ???

by TheoOrl45 » Sun Feb 22, 2009 5:48 pm

Hi everybody,


Thank for the previous help you gave me.
Now, I'm facing another problem... In MediaMonkey, I clicked on a directory which list all the included items, guessing the title and artist from the file name.

I created a script in order to fill some information and rename the file. For renaming the file, I use the SongID field. But, when I try to access this field, this is a -1 value that is returned...

Why ?
What should I do for MediaMonkey distributing a SongID to the item it found in the directory I see ?

Thanks for your help. Each day, I discover the power of MediaMonkey and I begin to love it !!!

--
Theo

Top