iDate Added 1.5 - Updated 23/01/2008

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: iDate Added 1.5 - Updated 23/01/2008

Re: iDate Added 1.5 - Updated 23/01/2008

Post by lukesed » Fri Feb 08, 2013 4:42 am

I'm getting the error "Invalid procedure call or argument: 'Chr'" from line 226 of the script. This happens halfway through thousands of tracks.

Re: iDate Added 1.5 - Updated 23/01/2008

Post by pioniergeist » Thu Feb 23, 2012 10:52 am

Hi dear people,
Looking for a flexible portable audio library with a good search I came across MM, which is to replace my old FileMaker sound library.
Now I would like to import my data set (CD, title, description, comments) in MM, to the more than 7,000 Title (noise) does not need to tag again.
FileMaker offers me the opportunity to export my records as the following formats:

Rennie Tab text files (. Tab)
Comma Separated Text files (. Csv)
DBF files (. Dbf)
Serierbriefdateien (. Number)
HTMLTabeIIendateien (. Htm)
FiIeM aker Pro files (. Fp7)
Daeaen XML (XML)
Excel 95 2OO4 revision folders (. Xls)
Excel workbooks [. Xlsx)

What can I import into MM? Emergency on I-Tunes as a sort of import-export "Translator"?
I have already tried the program: "iDateAdded15.mmip" which XML files are imported, but it does not recognize title.
Basically I have a file with 4 columns (CD, title, description, comments) that I have to teach MM. Based on the title name of the MM can detect a match to the imported sound files.
I would really like to use MM. Do you have any tips?

Re: iDate Added 1.5 - Updated 23/01/2008

Post by sshaikh » Tue Jun 15, 2010 11:42 am

I used this script to transfer across playcounts, ratings, play date and adddate - All I needed to finally uninstall iTunes. Thanks a lot!

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Mon Apr 26, 2010 4:13 am

I'm sorry, I've never used iTunes so I don't know if there are any tools in there to allow you to find broken links, but I know MM does! I guess this script could be rewritten with a fuzzier matching process, but the trouble with this is that you may get multiple results (the same track on multiple albums) and this makes it very difficult to automate the process.

Re: iDate Added 1.5 [MM2+3]

Post by kspanks04 » Sun Apr 25, 2010 8:01 pm

I'm assuming this script matches songs by "location"? About 2000 songs in my iTunes library have broken links because I let MM organize my files; so I'm wondering if there would be an easy way to manipulate this script to match songs by "title" "artist" and "album"? Or maybe there's any easier way fix my broken files in iTunes without having to manually find each track?

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Wed Feb 18, 2009 9:43 am

This script only updates the "Date Added" field, nothing else.

Re: iDate Added 1.5 [MM2+3]

Post by Guest » Wed Feb 18, 2009 7:45 am

sorry i think i got you, i change Chr to ChrW inside the file iDateadded.vbs, so after that i got no error and everything gone smooth. but i found nothing change, iDate didn't transfer anything (no play list no rating or play count).
is there anything i should do after i run your script?

Re: iDate Added 1.5 [MM2+3]

Post by Guest » Wed Feb 18, 2009 6:36 am

hi,
thanks for your instant response, i don't know where to change that you said "replacing it with "ChrW" "

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Wed Feb 18, 2009 4:56 am

It's most likely to be a Unicode character outside the range of the "Chr" function. You could try replacing it with "ChrW" and see if this helps.

Re: iDate Added 1.5 [MM2+3]

Post by Guest » Tue Feb 17, 2009 6:34 pm

i got this error, any fix for that please
Error #5 - Microsoft VBScript Runtime Error
Invalid procedure call or argument: "Chr"
File: "C:\Program Files\MediaMonkey\Scripts\iDateAdded.vbs", Line: 226, Column: 10

Error happened during script execution:
Invalid procedure call or argument: "Chr"

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Mon Feb 02, 2009 7:14 am

I've no idea why anything before January 2006 is not working, the date should be calculated in the same way. I might create a separate script for importing the last played date, or make it optional, so that people can choose what they want importing and what they don't.

Re: iDate Added 1.5 [MM2+3]

Post by Leif Andersen » Sun Feb 01, 2009 6:41 am

trixmoto wrote:I guess it must be the dictionary object that is hitting it's data limit, I don't think there's much that can be done about that, except splitting your XML file into two separate files and processing them individually.


Hi Trixmo,

Thank you for your help.

I have for a long timed looked for a replacement for iTunes, but the library was back from with in 2004 and I wanted to take my information with me to a new player and your scrips made it possible to try.. I KNOW there are others looking, and playcount and Last Played are to many important information to preserve.

I fired up iTunes, I took a copy of all the libraries, then I made a playlist of songs with no 'Last Played' date and simply deleted them. The resulting iTunes Library.xml I used to run the modified iDate to iLastplayed script on. This worked for all albums with a last played date AFTER 01 January 2006, the ones with a date Before 01 January 2006 did not get added. However for me it got most of the dates. However have you got any idea why the date 01 January 2006?

I have now made a similar list to import iDates, in iTunes I have deleted all m-z and saved the resulting itunes library.xml and afterwards all a-l and saved the resulting itunes library.xml ... The first one is importing in the background now (it takes about 30 hours pr. file :) )

Concerning the many empty boxes turning up, it seems to be a limit in Mediamonkey, it happened once I tried to sort on 'last played' in the big playlist with 324000+ songs, BEFORE it has listed all the songs. Maybe that is a hint.

Regards Leif.

May I suggest you add the last played script underneath iDate script, many will benefit from this the iDate script, many will benefit from thiser the iDate script, many will benefit from this.

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Fri Jan 30, 2009 5:20 am

I guess it must be the dictionary object that is hitting it's data limit, I don't think there's much that can be done about that, except splitting your XML file into two separate files and processing them individually.

Re: iDate Added 1.5 [MM2+3]

Post by Leif Andersen » Wed Jan 28, 2009 9:52 am

trixmoto wrote:Sorry, it will be both of those lines that you need to replace. I'm not sure about these empty boxes, I guess it must be something to do with the size of your XML file but I've never seen anything like this before. I'm going to need to investigate and get back to you.


HiTrixmo,

Thank you for your replies.

I have triede the iDate script again. It ends with the same hundreds of boxes, however suddenly I can see one of them it said something 'Not Enough Storage is available .....' And it disappreared and I can't remember any more of it.

When I first ran the iDate Script it actually did add the dates from iTunes ... I have now seen it added about 80% of the dates, maybe up until the boxes started appearing.

However I have tried to replace the lines you mentioned. It runs like the original iDate script, and at around the same time some 458000+ it starts with the boxes.

If I just leave the boxes running wild, MediaMonkey stops responding, with a message, that the MediaMonkey library is not responding, shortly after it all closes down.

Is there any buffer sizes or something similar which can be ajusted to accomodate my 324000+ tracks?

Thank you for your help - Regards Leif.

Re: iDate Added 1.5 [MM2+3]

Post by trixmoto » Tue Jan 27, 2009 4:57 am

Sorry, it will be both of those lines that you need to replace. I'm not sure about these empty boxes, I guess it must be something to do with the size of your XML file but I've never seen anything like this before. I'm going to need to investigate and get back to you.

Top