Author Topic: Issue with VC not loading grammar generated by MediaMonkey  (Read 4979 times)

0 Members and 1 Guest are viewing this topic.

escapeartist

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Issue with VC not loading grammar generated by MediaMonkey
« on: September 02, 2010, 08:42:15 PM »
I am so stumped, here is the log file.
Code: [Select]
9/2/2020 1:31:30 PM VoxLog created:
9/2/2020 1:31:30 PM Starting VoxCommando, version: 0.796
9/2/2020 1:31:32 PM installed language:English (United States)
9/2/2020 1:31:32 PM additional info:System.Speech.Internal.ReadOnlyDictionary`2[System.String,System.String]
9/2/2020 1:31:32 PM installed language:English (United Kingdom)
9/2/2020 1:31:32 PM additional info:System.Speech.Internal.ReadOnlyDictionary`2[System.String,System.String]
9/2/2020 1:31:32 PM Loading Command Grammar
9/2/2020 1:31:32 PM creating grammar: Vox Commands
9/2/2020 1:31:32 PM grammar created
9/2/2020 1:31:32 PM creating grammar: EG Standard Commands
9/2/2020 1:31:32 PM grammar created
9/2/2020 1:31:32 PM creating grammar: EG MediaMonkey Commands
9/2/2020 1:31:33 PM grammar created
9/2/2020 1:31:33 PM creating grammar: MediaMonkey Grammar Commands
9/2/2020 1:31:33 PM grammar created
9/2/2020 1:31:33 PM Loading Music XML
9/2/2020 1:31:33 PM ! Error loading music data from Artists.xml
9/2/2020 1:31:33 PM using speech engine: Microsoft Speech Recognizer 8.0 for Windows (English - US)

http://mir.cr/0XUVQGC3 here is a zip of the VC directory without the exe's
I tried both version 796 and 794.  I'm glad I could narrow it down to artists.xml but I think I need further assistance to fix my prob.  I'm going to try messing with MM to get working grammar files but I think I need to get outside, I'm getting sick of looking at my monitor :(

I was wondering why VC wasn't taking my artist commands after I removed the custom commands I made not realizing there was phrase fields in the event ghost options tab.

oh I didn't know there was an attach button right here

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #1 on: September 02, 2010, 09:01:01 PM »
sorry.  I can't open either zip file.  It appears to be corrupt.

edit: if you want you can email it to me at james@voxcommando.com but rename the .zip tot .jpg or my mail server might reject it.
« Last Edit: September 02, 2010, 09:03:23 PM by jitterjames »

escapeartist

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #2 on: September 02, 2010, 09:15:29 PM »
my bad, I used 7zip and it used lzma. This one should be allright, plain jane zip

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #3 on: September 02, 2010, 11:09:49 PM »
ah, see...  that's why it's good to have beta testers!  :D

If you look in your artist.xml on line 13040 you'll see this:        <Title></Title>

Obviously I need to modify my code to account for this, but in the mean time you just need to edit that line (actually you have a few so you better search for <Title></Title>).  And if you want to do regular updates of the xml from MediaMonkey obviously you'll have to fine the song with no name...  Not to be confused with song horse with no name on line 18778 who never caused any problems...

My next release will check for this of course if possible.  Actually it might be necessary to modify the mediamonkey script that exports the xml.

Yes.  I've attached an updated script for mediamonkey.  I can see that I was  checking for blank names on artist and album but forgot to make the check for songs...

escapeartist

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #4 on: September 03, 2010, 12:18:01 AM »
That fixed it.  Artist and Album works fine, song gives me a sql error.  I'm gonna poke around the eventghost VC thread to look if this was already addressed in the meantime.   The error I see.  Very stoked about getting this thing into my car.  I changed my mind about XBMC and MM because MM looked to have way more command possibilities, but the bonus that I didn't realize was that it supported playback through winamp.  So I get to keep my RideRunner playback functions.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #5 on: September 03, 2010, 09:01:52 AM »
no don't poke around.  The event that is triggered should be called SongTitle, not Song.  I'm not sure how this happened since it used to be fine.  Gremlins I guess.


jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #6 on: September 04, 2010, 11:01:48 AM »
hey escapeartist, did that fix it for you?

escapeartist

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #7 on: September 04, 2010, 05:02:39 PM »
Yep, sorry I didn't chime in earlier.  I think the song/songtitle bug was cause by me messing around in eventghost, not sure though.  It's amazing how fast VC (still) is with all this grammar I'm stuffing into it.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #8 on: September 04, 2010, 06:05:52 PM »
well hats off to Microsoft there.  They do a lot of stuff wrong, but they actually do a lot of stuff right too!  I'm quite impressed with their speech libraries overall.  Some of it though, is like black magic, with no documentation that I can find anywhere.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Issue with VC not loading grammar generated by MediaMonkey
« Reply #9 on: September 04, 2010, 06:30:16 PM »
btw, I'm looking forward to seeing some kind of video of your rig, even if it is not the "final version"...  ;D