Cue Reader 5.6 - Updated 20/07/2014

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

:lol: IC...
Thats the least tricky part. I've actually made a few extra tables and even added extra fields to existing ones without any problem what so ever. 8)

If you think you can make an auto-script to do what I stated, I'll provide you with the necessary SQL statements.

/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I'm not sure how you'd add a track to now playing if all the details are stored in another table. You need to have the SongData object for the track, but this needs the filename which is where all the problems lie. If you could have more than one ID with the same Filename and them be considered different tracks, this would be possible (in fact, I'd have finished the script by now!) but you can't add the same filename to the Now Playing list multiple times with different metadata.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

any chance this script can be integrated into a dockable panel? that would make it a little less ubtrusive and more polished.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Yes the new version will be in a dockable panel (it's halfway in already!) :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

New version (4.0) can now be download from my website with a fixed installer. Changes include...

- Made into a dockable panel
- Options moved to a sheet and stored in ini file
- Added option to hide artist/album in panel header
- Added option to specify refresh rate in milliseconds
- Cue file moved/copied when mp3 is (FILE command updated too)

:o DON'T FORGET TO UNINSTALL ANY PREVIOUS VERSIONS OF THIS SCRIPT! - See Bex's instructions below :o
Last edited by trixmoto on Sun May 14, 2006 4:07 am, edited 1 time in total.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Very nice Trixi! It looks so much better with a dockable panel.

First it didnt work? The good old cue-reader came up when I played a file. Then i realised that I had to remove the old cue-reader script.

So to others who upgrades, do this:
1) Open up the Scripts.ini file and delete the whole [CueReader] section
2) Delete the old scripts named CueReader.vbs and CueReader2.vbs or rename them (to .old) if you plan to use them again.
3) You find all three files in the "MediaMonkey\Scripts" folder. Do NOT delete CueReader.vbs if you find one in the auto folder - that's the new script.
4) The options panel is found in Tools -> Options -> CueReader settings

But i have problems with the I options panel. No changes I make is saved? Everything is reverted back to the default values?

I haven't tried the moved/copied function yet (Very cool feature, thanks) but does it only work if the audio file is MP3?

Great work Trixi!

Thanks
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Thanks Bex - I was going to add uninstall instructions but when I was writing the post I obviously forgot! :oops:

I don't know why the options are not working for you. I'm sure they work for me but I will double check they all are. You do have to close the panel and reopen it for the options to take affect. At the moment the best way to do this is to stop the song you are on and play it again.

The move/copy feature will work with any filetype, except at the moment when it writes the new cuesheet it will write the FILE command with MP3 on the end - oops! I've only just realised this and it won't cause any problems with the script, but it's incorrect so I will fix in the next version.

I really love this script now because I have about 15 new albumwraps so I am creating cuesheets and using the script lots! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

All of a sudden changes made in the option panel are saved. Except "Show Table Headers" which I cant deselect no matter what? (It's quite possible that it was the only problem yesterday as well.)

Yesterday I also found a bug. "Error executing script event." Pops up when you rename file or change tags on any playing file.

I did also test some renaming where I found some other bugs, but I'll test some more and get back to you.

Thanks
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Found a bug.
When you play a file with a cuesheet and start to play another file with a cuesheet, you get this error:

Image

Followed by numerous "Error executing script event" which forces you to close MM with the task manager.

PS The error does not occur if you start to play a file that does not have a cue sheet.

/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

The error you are getting when editing track properties is an event conflict. This is a MM bug which jiri is working on. To avoid this you'll have to disable other scripts with events, until this issue is resolved.

The error when moving from one cue to another will be fixed in the next version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Thanks Trixi,
I've read about the event conflict error but I didn't fully understand what it was. It's however not a big thing since it's just to click OK on the error message window and it goes away. The track is properly updated.

The renaming feature works amazingly well! I'm impressed that you succeded to update the filename within the cue sheet. 8)

There are however some things:
1) The filename in the cue sheet is updated with the full path. I prefer to only update with the filename, is that possible? (Maybe as an option?)
2) Auto-organise or renaming the file works flawlessly. But if I only change the folders name in the location tree, the path within the cuesheet is not updated (which isn't importent unless there's a full path there).
3) Changes made outside MM, which is seen by the filemonitor, does not trigger any changes on the cuesheet.

Perhaps 2&3 has to be adressed to Jiri, since it seems that they are not included in the new "on move" event?


PS In the option panel I can't deselect "Show Table Headers". I have to goto the .INI file and change it there.



Thanks for a great work!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

I will fix (1), which will fix (2).

Not sure about (3) though. It's possible that I could add an OnTrackAdded event which checks for a cue sheet and updates the cuesheet but I think that would cause a lot of errors. I think it's best that you move the files using MM if you want them automatically updated.

The options trouble is a typo. Line 598...

Code: Select all

ini.StringValue("CueReader","ShowHeader") = "0"
... should be...

Code: Select all

ini.StringValue("CueReader","ShowHeaders") = "0"
You can update this yourself for now if you like, and it will be fixed in the next version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Thanks trixi!

Option panel works great now.

Regarding nr 3. I actually never move around files outside MM. I just tested if it was caught by the script. So there's no need to implement OnTrackAdded.
(But why isn't "filemonitor moves" considered as an move event?)


And thanks again for a great script! I can now finally auto-organise my whole collection without manually update all cuesheets!

/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

You are right, when the file monitor see's a moved track it should fired the OnBeforeTracksMoved event, but I don't think it does. I wonder if it fires the OnTrackAdded event or not? Maybe jiri will answer. :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Nebbin
Posts: 316
Joined: Mon May 30, 2005 4:52 am
Location: Australia

Post by Nebbin »

hmmm... I just updated from v3.7 to v4.0 and now the cuereader screen doesn't even open. I've checked the options page and everything seems fine.

I've tried all files which worked with the prior version but with no luck. Unfortunately I deleted the earlier version so I can't reinstall it to see if it works again. Is there something else I should look for? Would a particular activex control be preventing it? (I have checked the ie controls and they're all currently set to prompt or enable)

Do you have an earlier version I could test with? I'm not sure what else to try.
Post Reply