Cue Reader 5.6 - Updated 20/07/2014

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: Cue Reader 5.6 - Updated 20/07/2014

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by odobo » Sun Mar 29, 2015 4:32 pm

I get the following error with the following cue sheet, whether it's in ansi or utf-8.

"error executing script event.
This key is already associated with an element of this collection"



and here is the cue sheet.


PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
TITLE "J.S.Bach - Complete Cantatas - Vol.07 CD-2"
FILE "CDImage.ape" WAVE
TRACK 1 AUDIO
TITLE "BWV 136 - 1. Chorus: Erforsche mich, Gott, und erfahre mein Herz"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 00:00:32
TRACK 2 AUDIO
TITLE "BWV 136 - 2. Recitative (Tenor): Ach, dass der Fluch"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 03:55:20
TRACK 3 AUDIO
TITLE "BWV 136 - 3. Aria (Alto): Es kommt ein Tag"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 05:06:37
TRACK 4 AUDIO
TITLE "BWV 136 - 4. Recitative (Bass): Die Himmel selber sind nicht rein"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 09:04:57
TRACK 5 AUDIO
TITLE "BWV 136 - 5. (Tenor, Bass): Uns treffen zwar der Sunden Flecken"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 10:08:32
TRACK 6 AUDIO
TITLE "BWV 136 - 6. Chorus: Dein Blut, der edle Saft"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 13:53:67
TRACK 7 AUDIO
TITLE "BWV.184 - 1. Recitative (Tenor): Erwunschters Freudenlicht"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 14:51:25
TRACK 8 AUDIO
TITLE "BWV.184 - 2. Aria (Soprano, Alto): Gesegnete Christen"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 18:26:35
TRACK 9 AUDIO
TITLE "BWV.184 - 3. Recitative (Tenor): So freuet euch"
PERFORMER "Ton Koopman - The Amsterdam Baroque Orchestra & Choral"
INDEX 1 26:43:40
TRACK 10 AUDIO
TITLE "BWV.184 - 4. Aria (Tenor): Gluck und Segen sind bereit"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 28:40:17
TRACK 11 AUDIO
TITLE "BWV.184 - 5. Chorus: Herr, ich hoff' je"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 32:16:72
TRACK 12 AUDIO
TITLE "BWV.184 - 6. Chorus: Guter Hirte, Trost der Deinen"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 33:24:05
TRACK 13 AUDIO
TITLE "BWV.105 - 1. Chorus: Herr, gehe nicht ins Gericht mit deinem Knecht"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 35:53:30
TRACK 14 AUDIO
TITLE "BWV.105 - 2. Recitative (Alto): Mein Gott, verwirf mich nicht"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 41:43:57
TRACK 15 AUDIO
TITLE "BWV.105 - 3. Aria (Soprano): Wie zittern und wanken"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 42:37:02
TRACK 16 AUDIO
TITLE "BWV.105 - 4. Recitative (Bass): Wohl aber dem, der seinen Burgen weiss"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 48:38:37
TRACK 17 AUDIO
TITLE "BWV.105 - 5. Aria (Tenor): Kann ich nur Jesum mir zum Freunde machen"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 50:24:32
TRACK 18 AUDIO
TITLE "BWV.105 - 6. Chorus: Nun, ich weiss, du wirst mir stillen"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 56:05:02
TRACK 19 AUDIO
TITLE "BWV.148 - 1. Chorus: Bringet dem Herrn Ehre seines Namens"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 58:08:37
TRACK 20 AUDIO
TITLE "BWV.148 - 2. Aria (Tenor): Ich eile, die Lehren"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 61:29:67
TRACK 21 AUDIO
TITLE "BWV.148 - 3. Recitative (Alto): So wie der Hirsch nach frischem Wasser schreit"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 66:10:27
TRACK 22 AUDIO
TITLE "BWV.148 - 4. Aria (Alto): Mund und Herze steht dir offen"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 67:24:12
TRACK 23 AUDIO
TITLE "BWV.148 - 5. Recitative (Tenor): Bleib auch, mein Gott, in mir"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 72:03:55
TRACK 24 AUDIO
TITLE "BWV.148 - 6. Chorus: Amen zu aller Stund"
PERFORMER "Ton Koopman (The Amsterdam Baroque Orchestra & Choir)"
INDEX 1 72:48:00

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by odobo » Fri Mar 27, 2015 3:36 pm

Eyal wrote:It seems like your cue file is UTF encoded at some point. See 2 previous pages in this thread:

petermgates wrote:Just a note on this great script.

I was having lots of problems with "unknown command" errors and strange characters supposedly appearing in my CUE files.
After a bit of fiddling in notepad++ I found that converting the character encoding from UTF to ANSI or vice versa, the errors would stop.


Thanks for your response. That worked. I saved the file, which I assume was saved as ansi, to utf-8, in notepad.

Re: Cue Reader 5.5 - Updated 07/07/2012

Post by Eyal » Thu Mar 26, 2015 8:43 am

It seems like your cue file is UTF encoded at some point. See 2 previous pages in this thread:

petermgates wrote:Just a note on this great script.

I was having lots of problems with "unknown command" errors and strange characters supposedly appearing in my CUE files.
After a bit of fiddling in notepad++ I found that converting the character encoding from UTF to ANSI or vice versa, the errors would stop.

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by odobo » Fri Mar 20, 2015 12:20 pm

Guest wrote:Thank you, that problem has been solved now.

New problem,

Sometimes, I'll get the error "cue reader: unknown command in cue sheet: 'TLE'", and then the cue reader does not load the window.

But after examining the file, the text TLE does not appear anywhere by itself in the cue sheet. It appears in the word "TITLE" of course, but nowhere else.



here is the text of the cue file

PERFORMER "Cantus Cölln"
TITLE "Deutsche Harmonia Mundi - 50 years"
FILE "Deutsche Harmonia Mundi 05.ape" WAVE
TRACK 01 AUDIO
TITLE "Motet BWV 225 Singet dem Herrn ein neues Lied"
PERFORMER "Johann Sebastian Bach"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Motet BWV 229 Komm, Jesu, komm"
PERFORMER "Johann Sebastian Bach"
INDEX 00 12:04:35
INDEX 01 12:11:60
TRACK 03 AUDIO
TITLE "Motet BWV 227 Jesu meine Freude"
PERFORMER "Johann Sebastian Bach"
INDEX 00 20:13:57
INDEX 01 20:20:52
TRACK 04 AUDIO
TITLE "Motet BWV 226 Der Geist hilft unsrer Schwachheit auf"
PERFORMER "Johann Sebastian Bach"
INDEX 00 38:41:60
INDEX 01 38:49:07
TRACK 05 AUDIO
TITLE "Motet BWV 228 Fürchte dich nicht, ich bin bei dir"
PERFORMER "Johann Sebastian Bach"
INDEX 00 46:19:62
INDEX 01 46:27:25
TRACK 06 AUDIO
TITLE "Motet BWV 230 Lobet den Herren, alle Heiden"
PERFORMER "Johann Sebastian Bach"
INDEX 00 54:36:67
INDEX 01 54:43:30

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by Guest » Fri Mar 20, 2015 12:10 pm

Thank you, that problem has been solved now.

New problem,

Sometimes, I'll get the error "cue reader: unknown command in cue sheet: 'TLE'", and then the cue reader does not load the window.

But after examining the file, the text TLE does not appear anywhere by itself in the cue sheet. It appears in the word "TITLE" of course, but nowhere else.

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by Lowlander » Fri Mar 20, 2015 11:25 am

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by odobo » Fri Mar 20, 2015 11:14 am

This program installs, then When I click try to play a flac file with a cue file, an active x window pops up, I click yes, and mediamonkey crashes.

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by trixmoto » Sat Jan 17, 2015 6:16 pm

That's a lot of "also"s, I'll do my best to cover everything...

1) If it is showing the list of tracks successfully, which it seems to be in your screenshot, then I see no reason why the links wouldn't work. Do you get any ActiveX warnings? My only guess is that the script is failing to communicate back to MM in order to change the song's position.

2) The MM default skin has changed a few times since I wrote this script, I don't try to keep up.

3) Changing the "Embedded in field" option will only work if you embed the contents of the cuesheet into that field. This option allows you to store the cuesheet contents within metadata of the track, instead of having a separate file. If you choose a field and the field for the track does not contain cuesheet contents, it won't display anything.

4) "CueReader.vbs.htm" is written into your %TEMP% directory each time the script runs, if I remember correctly. You should be able to link an external stylesheet if you want to though, in order to change the styles. It doesn't matter where the file is, it doesn't need to be in the Scripts\Auto folder, in fact that might just mess up the original file.

5) Which button in the options panel doesn't seem to do anything for you?

6) The description is out of date, they are links now, not buttons.

7) The panel can be undocked like any other panel, by dragging the title section of the header to the location you want the panel moved to. This is an MM feature, not a feature of the script.

8) No, there is no scripting API that would allow me to make changes to the way the miniplayer displays. You can't override the track name, for example, only display it in a separate panel. There are a number of threads requested full cuesheet support, but I don't think it's a high priority for the developers. I don't know why, you'd need to ask them that.

9) I don't think I still have a version of the other script, sorry. I don't really use cuesheets myself, and often do a fresh install in order to keep up to date and remove the remnants of scripts I've been working on previously, so it will have disappeared from my installation a long time ago.

I hope I covered everything! And I'm pleased you like the script, despite the issues you're having with it.

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by sambul27 » Sat Dec 27, 2014 1:05 pm

Hi trixmodo,

Thanks for your great plugin! I'm new to MM and Cue Reader, wanted to test the latest versions in Win8.1 64-bit portable MM install, and so far your script doesn't work for me as expected. It shows the list of songs encoded in one flac file and auto plays it. But when I click on any link inside the cue songs list, nothing happens - it doesn't switch to any other song whether a song is playing now or not. Here's a sample cue playlist encoded in ANSI, it plays and manually switches just fine in MusicBee:

Code: Select all
REM GENRE Vocal
REM DATE 2014
REM DISCID 8709270A
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER " Gela Guralia"
TITLE "Dream Of Me"
FILE "Gela Guralia - Dream Of Me.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Dream Of Me"
    PERFORMER "Gela Guralia"
    ISRC RUZZZ1400001
    FLAGS DCP
    INDEX 01 00:00:00


Another thing, the default CueReader style is black & grey & white with yellow for a song selected, so it doesn't match MM default skin colors. When I try to change MM Options - CueReader Settings, whatever I choose in Embedded in field except "None", just black & grey background shows up in place of CueReader with no song list visible. I tried to add CueReader.vbs.htm or CueReader.css to Scripts - Auto folder like mentioned here, but nothing changes if "Use external stylesheet" is marked. Also, another button in Extensions - CueReader - Options doesn't work at all. Anything I'm doing wrong? Can you post a suitable CueReader.css here that can work with default MM skin?

Image

Image

You also mentioned "Simply click the tracks button to skip straight to it" in CueReader description on your site, but I can't find that button in MM or CueReader default skin. Would it allow to change songs in cue list manually if clicked, and whereit is? And what settings to change to undock it?

Also, in MM Miniplayer mode a cue playlist & panel aren't visible, and it shows the same song name for any song from the cue playlist which is its file name. Is it possible to add showing cue playlist in that mode? Generally, why do you think cue support is not integrated properly or at all into MM as a feature?

In another thread about Almighty CUE Lord you posted "In fact this script appears to do everything that I was planning to do with the "Cue Reader" script!". I was trying to download that script for testing, but all links are dead now. Can you upload its last version somewhere pls like to mediafire?

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by trixmoto » Sun Nov 02, 2014 5:54 pm

Yes, but default it's docked, but you can undock it if you want to. What are your settings set to?

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by Guest » Fri Oct 31, 2014 3:39 pm

I have same "problem" as described byJackNeal

Is the panel inside mediamonkey? I have a flac file with corresponding .cue but I don't see any panel when I play the .flac file in my playlist

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by trixmoto » Thu Oct 30, 2014 4:25 pm

If the cuesheet has the same filename as the track (with a different extension) then it should automatically display a panel. You can go into the MM settings in order to change the way the panel displays.

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by JackNeal » Mon Oct 27, 2014 10:40 pm

Hi, could you please tell me how can I use the script?

I downloaded it, installed it, but I have no clue how to make it work.

I have an entire album in ape format with its cue sheet. If I try to open the cue file from Mediamonkey nothing happens. If I try to open the ape file it just shows me one single track of about 68 minutes..

Thanks in advance

Re: Cue Reader 5.6 - Updated 20/07/2014

Post by trixmoto » Thu Jul 31, 2014 11:07 am

Yeah, the script is only designed to handle UTF-8 files, not UTF-16. VBScript isn't good at working out how a file is encoded, so it's quite tricky.

The script is hardcoded to always work in UTF-8 mode from version 5.6. All the code in the UTF-8 is false part is the old code from version 5.5.

Cue Reader 5.6 - MoveCue converts from ANSI to Unicode

Post by A User » Wed Jul 30, 2014 11:03 am

Hello Trixmoto,

Your script does not only have problems with utf-8 but also with utf-16. I realized problems with reading cue-sheets after I moved or renamed associated mp3-files. The issue is caused by function MoveCue. If Utf8 = false, you do the following two calls:

Code: Select all
1037: Set cue1 = fso.OpenTextFile(temp,1,False)
1051: Set cue2 = fso.CreateTextFile(dest,True,True)


This causes the source cue sheet being loaded as ANSI and the destination being saved as UNICODE, no matter, which content the source has. So if you move or rename a file two times, it is no longer readable, because the already utf-16 encoded file will be converted again. So I changed line 1051 as follows, to fix the problem.

Code: Select all
1051: Set cue2 = fso.CreateTextFile(dest,True,False)

Top