Cue Reader 5.6 - Updated 20/07/2014

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

Moderators: Peke, Gurus

sambul27
Posts: 1
Joined: Sat Dec 27, 2014 12:34 pm

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

Post by sambul27 »

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?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

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

Post by trixmoto »

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.
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.
odobo

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

Post by odobo »

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.
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Post by Lowlander »

Guest

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

Post by Guest »

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.
odobo
Posts: 3
Joined: Fri Mar 20, 2015 12:13 pm

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

Post by odobo »

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
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

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

Post by Eyal »

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.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
odobo
Posts: 3
Joined: Fri Mar 20, 2015 12:13 pm

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

Post by odobo »

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.
odobo
Posts: 3
Joined: Fri Mar 20, 2015 12:13 pm

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

Post by odobo »

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.

Code: Select all

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
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

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

Post by trixmoto »

Yeah, about the encoding issues, that's a VBScript thing. It can do UTF-16 but not UTF-8, which causes all kinds of problems! It's on my list to try and sort it, but not had much luck so far.

@odobo - does that error message have a line number?
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.
gk
Posts: 35
Joined: Mon Apr 23, 2007 7:01 pm

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

Post by gk »

trixmoto wrote:Yeah, about the encoding issues, that's a VBScript thing. It can do UTF-16 but not UTF-8, which causes all kinds of problems! It's on my list to try and sort it, but not had much luck so far.
Hi trixmoto,

We've spoken briefly about this, in context of iPlaylist Importer - which I'm still working on - but just thought I'd offer this code snippet for use here. This is how you parse UTF-8 in VBscript.

Code: Select all

      Dim adoStream : Set adoStream = CreateObject("ADODB.Stream")
      Const adCharset = "utf-8"
      Const adTypeText = 2

      adoStream.Type = adTypeText 'not really needed since text is the default type
      adoStream.Charset = adCharset 
      adoStream.Open
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

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

Post by trixmoto »

Thanks, yes. I've used this mechanism before and it's on my list to apply it to this script... when I find time! :-?
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.
cholv
Posts: 6
Joined: Fri Jul 16, 2010 7:59 am
Contact:

Cue Reader 5.6 damage cue-file after MM moves it

Post by cholv »

Hello.

Cue Reader 5.6 damage cue-file after MM moves it. How to make MM just moves cue-file whithout damage it?
Thanks.

Before:
REM GENRE Rock
REM DATE 2013
REM DISCID A10D550D
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER "ЧайФ"
TITLE "Кино, Вино и Домино"
FILE "ЧайФ - Кино, Вино и Домино (2013).flac" WAVE

After
я╗┐REM GENRE Rock
REM DATE 2013
REM DISCID A10D550D
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER ""
"

TITLE ", "
"
"
"
"
FILE " - , (2013).flac" WAVE
jez12
Posts: 6
Joined: Thu Mar 28, 2013 9:21 am

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

Post by jez12 »

So where do I place the external CueSheet.css? There's one located in "C:\Users\[username]\AppData\Local\Temp" but if that is modified, it just resets back to the original one when refreshing the cue sheet. I also tried to place the modified file into the various MediaMonkey installation folders and it seems to have no effect.
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

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

Post by Eyal »

jez12 wrote:So where do I place the external CueSheet.css?
The correct filename is CueReader.css and should be placed in the same folder as the script CueReader.vbs, ie:
C:\Program Files\MediaMonkey\Scripts\Auto\
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
Post Reply