VoxCommando

Help and Support (Using VoxCommando) => XBMC (Old board see 'KODI' above) => Topic started by: jitterjames on October 02, 2010, 01:28:16 PM

Title: (outdated thread) XBMC for Dummies!
Post by: jitterjames on October 02, 2010, 01:28:16 PM
PLEASE NOTE THAT THIS THREAD IS OVER 3 YEARS OLD


I have put together an english package for XBMC with all the commands from my latest youtube demos.  Just unzip and go!

Well, ok, there are a few steps.

Configure XBMC :
 - Go to SETTINGS >> NETWORK >> SERVICES
 - put a check mark next to "Allow control of XBMC via HTTP"
 - put check marks next to "Allow programs... to control XBMC"
 - set the port, username, and password as desired (remember them)
 - exit the settings menu but keep XBMC running.  (alt-enter to exit fullscreen)

Unzip the attached Vox file to a folder on your HD

Run VoxCommando.exe from this new folder

click OPTIONS, then go to the XBMC tab.
 - enter your port username and password to match what you entered in XBMC  ** DO NOT put checkmarks next to "create artist grammar" or "create album grammar"
 - click "SAVE AND CLOSE" and go back to the main VoxCommando window.

click GENXML
a window will open.  Click all the buttons in the XBMC group.

you are done.  :yay  close this window and RESTART VoxCommando.
Title: Re: XBMC for Dummies!
Post by: Native on October 05, 2010, 06:27:57 PM
Ok, Finally got an hour, so played around with this (thought the title meant it was specifically for me)  :P

Preeety good i have to say, although i did have some issues, seems mainly with the KB emulation stuff.
Sometimes the "jump to" command, whilst recognised by VC, failed to act in XBMC. Same with the "starts with", and also "scroll/scroll fast", and maybe some other stuff. No real pattern to it, sometimes it worked sometimes it didn't. When the "jump to" worked, the "starts with" failed, or the scroll worked but the jump to wouldn't.
Didn't check the VC log, but did notice some time outs in the results window. However, sometimes the VC results window said all ok, but still nothing XBMC side.

Odds on, it's probably my iteration of XBMC, which is getting a little flakier by the day, especially since the new build, and the resulting path changes. Have tested dharma beta 2 extensively, and will probably make the jump soonish, but it still has some issues scraping a few of my tv shows. Plus, am loath to lose all the recently added and watched status info, and i just know it'll end up with a complete database rebuild.. or , worse still, a total reorganisation of all the friggin' files/nfos/fanarts/cleararts..etc..etc..   *sigh*.   Don't have a month free to spend on that!   :bonk

Incidentally, the "Browse unwatched episodes of.." worked flawlessly for me.

One more clue that points to VC not being to blame was the fact that my rf keyboard stopped actioning in XBMC at certain points too, although that also happens when i alt-tab to something then switch back to XBMC, some focus issues somewhere..

Anywayyyys..lol, s'enuff rambling from me i reckon, will have a further play tomorrow and report back if i find anything (more) useful.

Oh, one request if at all possible. Any chance of a "browse songs"? 

Regards, Mick.
Title: Re: XBMC for Dummies!
Post by: jitterjames on October 05, 2010, 06:58:29 PM
first for your request "browse songs" I have attached an xml file.

- open VC
- click edit
- drag the xml file onto the tree

it should add a group called "XBMC browse songs" to your tree.  There should be a single command in this group called "Browse Songs"

Optional:
If you want you can then drag the new command up to the group named "XBMC goto Windows" where his friends are hanging out, and then delete the empty group.

As for the other stuff, it's a bit tricky.  I understand your reluctance to upgrade.  If you do, you can at least backup your database files and then if you decide to go back there is still hope...  Is there anyway you can install dharma beta2 somewhere else (or maybe on another user account?) and test VC with it to see if it works better?

For the scroll commands I have used keyboard emulation (and focus of XBMC is required) because it should be faster than sending keys to xbmc via http.  However it is possible to modify the commands to do it by http.

If you are actually having timeouts because xbmc is not responding, we could adjust the length of time before VC gives up, but it is pretty long and if you are timing out it is probably an indication of some kind of other problem.  Still if you want I can make you a "patient" version of VC for testing purposes.  You could have some kind of network issue.

I'm not sure why you would be having problems with jump to unless it is related to the time outs.  In order to jump to a letter it may have to press as many as 4 keys (for 's' or 'z') because it uses sms-style input via http.  The "starts with" command emulates a single keyboard press. (shift-letter)

Even if the problem is not with VC, the solution could be, but for the record I've tested on 3 machines and don't have the issues you are having, but some of them sound similar to problems I had with certain builds of XBMC.  Unfortunately I can't be more specific than that.
Title: Re: XBMC for Dummies!
Post by: Native on October 06, 2010, 11:05:43 AM
A short testing report and more ideas for you (feel free to tell me to piss off btw).

The browse songs xml worked perfectly. The Jump to and Scroll and Starts with all worked, on and off again, got the operation timed out result after a while, seems to happen when i've issued a lot of commands quickly or when XBMC is doing something intensive like pausing a song/playing a movie/stopping movie/jumping to home/playing song.  Not real world usage really, so hopefully wont need the patient edition ;) 
  ..and i still think xbmc or as you say the network is responsible. Incidentally, all my movies and tv shows are on a nas which sleeps when not in use, normally takes about five or seven seconds to wake it to play a movie. The songs are on this machine shared via samba /win7 homegroups majobby thing. Makes it very likely to be the network i'd think.

As for the upgrade, yeah, i know, gotta be done.. trouble with the backup database is that camelot to dharma loses thumbs and various other stuff. Couple that with the problems people are having with scraping currently, and it sorta sounds like a major p.i.t.a.  Plus, then along is gonna come (hopefully) soonish Eden... and no doubt that will bring it's own issues, and may have to do it all again.    Good news is tho', i'm currently installing/configuring dharma on this machine (as opposed to the htpc), so i can test where i sit. Only reason i haven't done it thus far is because i want it to work in the living room ;)

On to the ideas; Sure i could (eventually) implement all these myself (honest), but i wouldn't deny you the pleasure.. lol. As i said before, i wont be offended if you say NO GODDAMMMIT!  ;)
Much like the music options, how about a "what movie/show/episode is this?" 
 Also, thinking about the xbmc clock, timers and the "finish time" mod/info in the pause menu, is there any way to ask xbmc what the current time is, what time the current movie or episode will finsh or to remind you when it's three o' clock?  Just blueskying it here..
Lastly, show unwatched movies?

Sure i can thing of ten more impractical things before tonight, so for now i'll leave it.
Title: Re: XBMC for Dummies!
Post by: jitterjames on October 06, 2010, 12:18:24 PM
Well, a LOT of the work that went into VC was to make it as easy (and flexible) as possible for users to create their own custom commands.  So I'll probably incorporate some of these, but try fiddling around with it yourself.  It is actually a lot of fun.  I would prefer to spend more time developing the software, documentation, instructional and demo videos, maintaining the web site, helping new users get started, getting the word out to new users etc...   I'm actually very busy with non-VC stuff right now too which doesn't help.

Hopefully as time goes by, more users will come up with their own groups of commands that they can share with other users.

That said, I am always happy to hear about new ideas, missing commands etc.  So eventually I will add most of these to the master command set for new users, but maybe I won't actually be the one to create them all.

For now I'm attaching a patient version of VC for you.  The only difference is that it will wait for 3 seconds before timing out, instead of 1.5.  There is no harm really in having a larger time out, the only drawback is that if XBMC is not running and you try to issue a command to XBMC, VC will be frozen until the timeout occurs.

If someone wants to try their hand at some of these ideas here are some clues:

Unwatched movies can be done with a Smart Playlist, and no need for payloads.
the current time is already available in VC as a variable.  Just insert {timeshort} or {timelong} into an OSD or TTS command or send it to XBMC as a notification :
Code: [Select]
execbuiltin(  Notification(header,message[,time,image])  )
as for asking for movie and tv info, ya, we can do some cool stuff there, but don't forget we have a "show info" command as well.  It should be pretty easy to modify the current What song is this type comands to work with video.  If someone is up for the challenge.  But I like the idea so I will probably do this in the next day or two.

As for an alarm at 3:00, I'm not too sure.  Does XBMC has some kind of function like that already?  Maybe you could post some more info on the subject.
Title: Re: XBMC for Dummies!
Post by: Wanilton on October 06, 2010, 01:25:00 PM
To contribute my groups of commands, most of it with phrases or words in Portuguese, interested to download the file from this link http://github.com/downloads/Wanilton/voxcomanndo-xbmc-Brazil/voicecommands.xml or atached file.
I am posting too in HTForum, a Brazilian forum of audio and video, in this topic:
http://www.htforum.com/vb/showthread.php/144704-Usando-Comando-de-voz-para-controlar-seu-midia-center-com-%C3%AAnfase-no-XBMC-Vers%C3%A3o-Dharma
My way of helping to promote this amazing software
Title: Re: XBMC for Dummies!
Post by: jitterjames on October 06, 2010, 02:59:55 PM
Thanks W.  I've looked over that thread on htforums.  You've done a great job of putting all the information together and translating it.  Thanks for all your hard work.
Title: Re: XBMC for Dummies!
Post by: Mr_Grinch on November 06, 2010, 08:03:46 PM
Been waiting patiently for my forum account to be created, thinking I'd been forgotten, then checked my spam folder and it had ended up in there, damn gmail!

Anyway, loving the possibilities of this and am going to sit down and have a play tomorrow. I'm using the xbmc microphone at the moment but am tempted to see if the setup microphone for my amp will work too.

Just thought I'd fire off an XBMC related question, maybe I'm being dumb. I'm running Dharma Beta 4 and scroll left/scroll right are going very wonky, no idea if it's just my setup. I'm pretty sure the send key command is working fine but the end result is that XBMC will sort of judder but not move (for example in tv shows it will try to move left then "bounce" back to what it was on before and repeatedly do this). Any ideas?

::edit:: Scratch all that, used the version attached to your first post and all seems to be working well, going to have a proper play around tomorrow. I'm sat about 10 foot away from the tv, the ps3 eye is ON the tv, my centre speaker below the tv and my two fronts below. It seems to pick up (90% of the time) my commands, despite the difference, it also makes out pause when something is playing. Overall pretty impressed with the mic on it! Though I'm going to have to shove a little bit of tape over the led :)
Title: Re: XBMC for Dummies!
Post by: jitterjames on November 06, 2010, 10:49:15 PM
Welcome Mr. Grinch.  The whole sign up-thing with activation is a pain, but still I have spam-bots getting through and making a mess.  I keep trying to measures to try to foil them.  What a PITA!

Anyway I'm glad you got through the red tape.  I have my ps3 on what engineers would call a "sticky outy thingy" so that it extends a bit beyond my TV.  It does seem to do a pretty good job, but I still use a remote to switch VoxCommando on and off, to avoid it doing funny stuff when I am not paying attention.  I agree about the LED.  It seems to be a common theme with manufacturers underestimating the annoyingness of bright LED lights stabbing you in the eye all the time, when you are trying to watch a movie.

I just got a new "Amulet Remote" with a wireless microphone built into it.  I will post a full review soon in the microphone section, but so far I like it.

Title: Re: XBMC for Dummies!
Post by: Mr_Grinch on November 07, 2010, 05:03:11 AM
Well, regarding signing up, your initial auto-email saying you'd check my account and then activate it came through my inbox, however the email with the link went to my spam box, very odd. This was with gmail.

Anyway, having a blast playing around with this. WHen using the smart playlists to start a film, I take it you need to update the xml each time you add a film/show? I was wondering if it's possible to generate this from a command line prompt, or something like that? So then I could add a voice command for "Update Movie List", so when using XBMC I could just say that and it'd update.

Also it still amazes me that I can sit back on my couch and say "Find Unwatched Episodes of Community" and up they pop.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on January 31, 2011, 11:45:07 AM
This was cool thanks.  It found 17,000 + songs.  But 0 artists.  I assume it's my naming?   Is there a util that will reformat names as needed?
works for play song!
 - and works for browse and play movie.

VERY cool so far.
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 31, 2011, 12:35:53 PM
usually xbmc fails to export proper xml if any of your tags contain < or > symbols.  Check your artists to make sure non contain these symbols.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on January 31, 2011, 08:53:09 PM
No not that I can see...   any other reason?
I see some  [disc 1]  characters.

wouldn't it pull in some that don't have illegal characters if that was the reason?
Or does it hit them and bomb?   I see the artists listed in XBMC.

Title: Re: XBMC for Dummies!
Post by: jitterjames on January 31, 2011, 09:11:43 PM
I already posted a pretty detailed explanation of this somewhere in this forum. The problem with the < and > characters is that they are used to create the xml tags.  When they appear in the actual items they break the rules of xml.  Vox tries to look at the xml that xbmc generates and is unable to parse it because it is no longer valid.  XBMC should be encoding these characters (into %3C and %3E) but it is not.

you end up with something like

 <tag>value < 3</tag>

which makes no sense in xml.

 I'm not aware of any other characters that cause problems but it is possible.  I just don't know what they are... I suppose slash  or something could do it.  Who knows.  I would suggest that you look in the forum for the other post I made on this topic.  In it I included a means of getting the xml as a text file.  If you can  do that, and send it to me I will look at it.  If you can't find the post anywhere (after looking) let me know.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 01, 2011, 11:37:21 AM
Thanks - yeah - getting the xml in a text file would be great as I could search for strange characters.

Also - I have a question, I'd like to add commands like  view live tv etc.  I was looking at the xml code to see what I'd need to edit and it looks pretty straight forward. (I use to program  aLOT in pascal in the olden days).

anyway where do you get a list of all the XBMC strings... like

<cmdString>ExecBuiltin(ActivateWindow(MusicLibrary,Songs))</cmdString>

musiclibrary,songs ?   Appears there are some executables built in... is there a list of them that can be called?
I'd like to find the TV/channels built ins.  I could then edit your code to add my own vox commands.

________________________________  re: your....

<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\james\Downloads\VoxCommandoXBMC 0_825 EN\export\XBMC browse songs.xml-->
<VoiceCommands version="0.825">
    <commandGroup name="XBMC browse songs" enabled="True">
        <command name="Browse Songs" enabled="true" loop="False" loopDelay="0" loopMax="0">
            <action>
                <cmdType>XBMC.Send</cmdType>
                <cmdString>ExecBuiltin(ActivateWindow(MusicLibrary,Songs))</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>Browse Songs</phrase>
        </command>
    </commandGroup>
</VoiceCommands>
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 01, 2011, 11:40:12 AM
Also - I want to put some IR strings into vox commando.  Must I use eventghost, or can I call strings from vox as is?
I was thinking - I could make some .cmd files with IR calls to  IRBLAST.EXE  (I have some that I manually click on at present)
I could just launch these? via voice command?

___  UPDATE

I thought I'd just try it and it works fine.  = )  
unless you can think of a better way?  But seems pretty simplistic as is.

Oh which brings me to another question.   Is it better to enter the command like

launch tee vee
as oppose to
launch tv or t v ?
Title: Re: XBMC for Dummies!
Post by: Auri on February 01, 2011, 12:30:13 PM
Quote
Thanks - yeah - getting the xml in a text file would be great as I could search for strange characters.

Also - I have a question, I'd like to add commands like  view live tv etc.  I was looking at the xml code to see what I'd need to edit and it looks pretty straight forward. (I use to program  aLOT in pascal in the olden days).

anyway where do you get a list of all the XBMC strings... like

<cmdString>ExecBuiltin(ActivateWindow(MusicLibrary,Songs))</cmdString>

musiclibrary,songs ?   Appears there are some executables built in... is there a list of them that can be called?
I'd like to find the TV/channels built ins.  I could then edit your code to add my own vox commands.

Hi Rojoyinc,
Currently Vox Commando uses XBMC's HTTP API found here http://wiki.xbmc.org/index.php?title=Web_Server_HTTP_API
When you scroll down abit you will find the Command Tables Reference.
Here you will basicly find everything you need.

To talk specificly about the ExecBuiltin command, you can find it's functions and explaination here http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions

For instance :

ActivateWindow(window[,dir,return])
Opens the given window. The parameter window can either be the window's id, or in the case of a standard window, the window's name. See here for a list of window names, and their respective ids. If, furthermore, the window is Music, Video, Pictures, or Program files, then the optional dir parameter specifies which folder XBMC should default to once the window is opened. This must be a source as specified in Sources.xml, or a subfolder of a valid source. For some windows (MusicLibrary and VideoLibrary), the return parameter may be specified, which indicates that XBMC should use this folder as the "root" of the level, and thus the "parent directory" action from within this folder will return the user to where they were prior to the window activating. On Xbox, the special command ActivateWindow(MyFiles,autodetection) opens the filemanager with the autodetected Xbox in the left hand pane.  

I'm fairly new this this also so I hope this is helpfull to you.
Correct me if I'm wrong james

Regards
Auri
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 01, 2011, 12:53:51 PM
that all sounds like good and correct advice as far as I can tell.

there is one little trick that can help you though, if you are having problems figuring out the exact text to use in ActivateWindow

see a previous post here:
http://voxcommando.com/forum/index.php?topic=98.msg708#msg708
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 01, 2011, 03:43:28 PM


Oh which brings me to another question.   Is it better to enter the command like

launch tee vee
as oppose to
launch tv or t v ?


It doesn't really matter but in some cases it may be more likely to understand you if you write it tee vee or even T V (with a space) .  Especially with longer and less common ones like XBMC.  Ex bee em see, might work better.
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 01, 2011, 03:48:16 PM
paste the following into a web browser on a machine where xbmc is running.

http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=querymusicdatabase(select%20strArtist%20from%20artist%20order%20by%20strArtist)

you can then do a view source.  copy and paste that to a text file.  If you can't figure out what is wrong with it, send it to me and I'll take a look.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 03, 2011, 04:00:22 PM
That's a big help, and what a mess...  searching - I have  54763 files with a ( )
so much for manual rename.  (would be nice if you could add a search during that xml generation that would remove them. (hint hint).

Trying someting here...  Using renamer (by den4b)
hoping it allows me to add  54783 files... did a search - (win7 lists them) select all and drag and drop into renamer.

Making a rule  "remove  "(".")"

running - says it could take several minutes (no dah...)
waiting...

says not reponding, so I'll let it cook a while.  ;-)

bbl  to post results.
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 03, 2011, 06:38:26 PM
There is no problem with brackets ( ) the problem is with greater than and less than symbols < > (hint: they are much pointier).  I have songs with brackets in them and they don't cause a problem.

Also, renaming your files isn't going to help, it has to do with the mp3 tags.  Most likely whatever is causing a problem is in only a few items so manual rename should be ok.  If you don't know what you are looking for, then please send me the text file generated from the html "view source" as I outlined above.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 03, 2011, 08:20:03 PM
Seemed to work  (it went through the actions) but I still have many...  I see them in your  "URL  view source" link.
so - is there a way to save - load into word of similar - do a find and replace (to remove them)
save the file and have it use that as the xml file it's generating?

Or some such.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 03, 2011, 08:22:23 PM
oops- you had said   < >   and not ( )  (my bad)

I'll search for those - in the tags.
I'll see how many there are first.

bbl
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 03, 2011, 08:51:18 PM
I can't find any <>
Hard to search the code since  it's loaded with  <field> statements.  = )

You said to post them


http://www.ronkramer.net/temp.htm

or

http://www.ronkramer.net/ronslist.htm
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 04, 2011, 12:06:57 AM
Your last item is: ボブ・マーリィ&ザ・ウェイラーズ

which doesn't look good.

Also your 10th item in the list is <Unknown> which has both a < and a > and is almost certainly causing a problem.  I don't know if that will fix it or not but it seems to be the only one using < or >

how do you manage your music library, tags etc?
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 04, 2011, 10:52:21 AM
I don't do much music managing...  itunes probably...
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 04, 2011, 10:55:47 AM
ok, then all you need to do is a search for < or > in itunes, and then rename it.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 04, 2011, 11:01:02 AM
Will go look and try that - thanks so much for the assistance. My music is a mess. I had HD problem a while back and I have a lot of  0 file length music files that won't play.
I'm going to restore from backup to clean things up.  I never really used the other tags (other than filename) but with vox commando and amulet - I really need them now
so I can play artist and browse albums. 
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 04, 2011, 11:39:28 AM
you should try to clean them up a little.   Like any collection, it will be much more valuable if it is properly organized.  I personally prefer media monkey for managing and listening to music.

As far as the problems you are having with GenXML go, I have finally decided to rewrite my code that gets info from XBMC.  I am no longer relying on an xml format since XBMC is not really following it.  I am using regular expressions now and it seems to work great.

So, long story short, the next version of VC should not have a problem reading anything that XBMC throws at it.  Unless you have an artist tagged as "<field>" lol.  But even then, it would probably just miss that artist, but wouldn't choke on it.
 ;D
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 04, 2011, 01:15:28 PM
‚¶ãƒ»ã‚¦ã‚§ã‚¤ãƒ©ãƒ

I dunno what's causing that - I can't find it.  (corrupt file or something)  I'm going to restore from a backup my entire music dir.
I did remove the <unknown>

how long before new update of voxc is out then?
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 04, 2011, 03:42:53 PM
Using m monkey - I got artists working.
NO albums yet - still searching and dumping odd character files.

Once I remove them in media monkey - must I  "clean" the music files in XBMC?
or just close and re-run it?  to get them out of xbmc.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 04, 2011, 04:14:13 PM
In new version (or can we now?)

set the volume of what ever is playing to fade down quickly - when the computer voice talks - then restore vol.

for example - asking  "What song is this"  I hear the voice, but can't understand it over the loud music.  ;-)
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 04, 2011, 04:41:11 PM
I can post something unofficial in the next couple of days I think.  I am hoping to remove all the old stuff of the main site and replace with the new version, but that might take a little longer.

Note that from now on new versions require activation (i.e. you must be a paid user) or they operate in demo mode which means you can only do X commands before you have to close VC and restart.  I haven't settled on the number of commands yet.  X = 25 or 30 probably.  I want people to be able to set it up and evaluate its usage without it being too annoying but I don't want to make it so that people can use the demo mode without feeling the need to buy it.  Depending on user feedback, I may raise X to 40.

There are a number of "softmute" commands available in the command builder.  I'm not sure what version you would need to use, probably later than 8.51.  There is one for master vol, and one for each of: xbmc, itunes, and mediamonkey.
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 07, 2011, 05:06:33 PM
(minutes passing) and xbmc still says working....  since I clicked genXML on vc.
I have over 18,000 songs, maybe it will just take a while... I'll go take a break and come back later.

Title: Re: XBMC for Dummies!
Post by: jitterjames on February 07, 2011, 05:23:41 PM
please try to be a bit more thorough and accurate in your posts if you want assistance.  I can't help if I have to guess what you mean. ???

Clicking GenXML in VC doesn't do anything other than bring the dropdown menu into view which shows 4 other options, so if that is really all you did you will be waiting a long time for something to happen.

Under no circumstances does using GenXML cause XBMC to display any message.  If XBMC is displaying a message that says "working" then it is doing something else on its own, and that could be part of your problem.

Scanning data from XBMC should be almost instant.  Restarting VC after updating XML files can take a while.
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 07, 2011, 05:25:35 PM
a this point, after all the poking and prodding, it might not be a bad idea to do a reboot...
Title: Re: XBMC for Dummies!
Post by: Kalle on February 07, 2011, 06:14:58 PM
(minutes passing) and xbmc still says working....  since I clicked genXML on vc.
I have over 18,000 songs, maybe it will just take a while... I'll go take a break and come back later.



Rojoynic

only for understanding, XBMC you started as admin and it runs in the background?

Kalle
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 08, 2011, 03:05:21 PM
ok - trying again loading xmbc... waiting for it to load EPG n stuff...
it's done.

running VC

window opens -  says  "Error creating group: XBMC play music
-Voxcommando will continue to load, but commands in this group will not be available.

selected  "gem xml - xbmc".
I get the  notice in the history pane. genXML all XBMC...

Looking at files in the VC folder.
(I should see them dated today right?)  Movies is 2/8... 

Moving all the xbmc*.xml files to a temp dir... (removing) incase it doesn't re-gen if exsisting.

selecting  GENxml (XBMC) again - it should re-gen all the files?

It only generated  xbmcMovies.xml.  (Again) no others.

hopefully I was more clear this time.  Any ideas?  (I can copy MM generated file to xbmc and get it to work, but obviously I have something wrong).
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 08, 2011, 03:25:26 PM
OK.  A much better report.  :D

You would be amazed at how much more happy I am to respond to a post like this.  It is night and day for me.

One thing I suggested before, that I think you missed, is that you should open the genXML form which allows you to do each one individually and it tells you how many items were found.  By doing that you can isolate which is giving you problems.  (i.e artist or album movies etc)  The GenAll button is design to give up if one fails rather than hammering away at XBMC which may not be on or may not be configured correctly.

Note that you shouldn't need to move or delete any xml files, VC will overwrite them if it is able to process what xbmc is serving up.

I assume that you are using version 0.873 ?  If not, you should be.  It is better at handling weird xbmc data.  (at least it is supposed to be).

If you must use MM to scan and want to rename your files, that may work ok, but some artists/albums might not work.  (I'm not sure)
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on February 08, 2011, 04:11:29 PM
the genXML - FORM (oh) nice.

Mmonkey (all worked)
Itunes all worked
XBMC = (    only  movies were found all others 0

That's worse then the previous VC version did (I could get songs and artists before).
Like I said - I can copy my MM files over - but I figured you'd want to track down any
bugs (if that's the case).  I know you said you were doing a new method this vers.

0.873  yes.
I'll - close and re-run as admin, to see if that makes any dif?  I have admin account, I hate it when win7 still wants permission....

Ran XBMC and VC as admin, no change - 0 for all except movies.
I can rename - and move the files to get it to work, but figured you'd want to hear back.
(It still doesn't like something in my library).

And doing it this way I scan scan TV channels or shows.
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 08, 2011, 04:50:39 PM
I'm honestly surprised that the new version isn't able to scan properly.  Are you sure your xmbc data is good?  Are you able to browse stuff in "library" mode?

anyway enter this into the address bar of a web browser on the computer where xbmc is running:

artist:
http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=querymusicdatabase(select%20idArtist,strArtist%20from%20artist%20order%20by%20strArtist)

album:
http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=querymusicdatabase(select%20idAlbum,strAlbum%20from%20album%20order%20by%20strAlbum)

view source, then save it to a text file and send it to me.  Once we look at this we can worry about the other stuff like TVshows.

I'm sorry it isn't "just working" for you, and I really appreciate your patience in helping me figure this out.  We'll get to the bottom of it I am sure!
Title: Re: XBMC for Dummies!
Post by: jitterjames on February 08, 2011, 05:19:57 PM
As far as admin goes, I don't think that either VC or XBMC requires you to run as Administrator.   Of course I could be wrong, but I never run anything as Administrator and it all works.

The only time you have to run as Admin is with MediaMonkey, but you should only have to do this ONCE.  After that you should be able to run it normally and it will work.

On the other hand, I probably have UAC turned off because I find it too annoying.  Maybe if you have UAC on you need to run stuff as admin?
Title: Re: XBMC for Dummies!
Post by: Rojoyinc on March 02, 2011, 07:12:45 PM
I think I'm making progress.  I restored a backup of my music, since many of my files were corrupt and 0 file length.  Have done lots of searched for 0 length files to remove them.  Still had problems and deleted some files that seemed to be corrupt (file info by looking at the source html from the generated file from yoru previous artist/albums links.

It now processed and ended up like this.  Is it normal for all three programs to have different counts?

I also have LOTS OF DUPLICATE files, since I had previously done searched for songs that had  (  and )  and removed them. Upon restoring my music backup
it's tossed dupe of all those files and has included the  ( and ) again in the dupes.   Any way to easily find dupes and remove in music.

(https://voxcommando.com/forum/proxy.php?request=http%3A%2F%2Fwww.ronkramer.net%2Flibrarycap.jpg&hash=cad6468e56d1f43d21ad2b5c901331039f9ae709)
Title: Re: XBMC for Dummies!
Post by: jitterjames on March 02, 2011, 07:26:28 PM
You are asking if it is normal to have a different number of songs in the 3 different programs.  That will depend entirely on which songs have been added (indexed) to the programs.  It probably doesn't have anything to do with VoxCommando.  Also some programs might be aware when you delete a song and some might not.  Go look in each program and see how many songs are being reported by them.  It is possible in MediaMOnkey to set it to scan your folders for changes so that new songs or deletions are detected, but this is probably not enabled by default.

Eliminating duplicates can be done but usually requires a fair amount of work on your part.  Media Monkey can report duplicate songs for you, but there could be a lot of songs that have the same name, that are not actually the same song.  I am not sure if it requires a song to have the same name AND the same artist to be considered a match.  Mediamonkey can also analyze songs to see if they are the same actual file, but it still won't find duplicates if the two songs are even slightly different.  Even if you started with the same CD and used two different programs to encode it to mp3, or encoded at two different bitrates, I don't think it would show up as a duplicate.
Title: Re: XBMC for Dummies!
Post by: jitterjames on March 02, 2011, 08:44:54 PM
I also just noticed that iTunes is reporting that you have more "Album Artists" than "Artists".  This is counter-intuitive.  Normally you would have less album artists than artists if you music is tagged properly.  You should also be aware that iTunes keeps a lot of information in it's internal database, ,without actually writing the information back to the file, so if you are tagging music in iTunes it may not be reflected in other programs.  I know for sure that ratings are stored only internally by iTunes, but I'm not sure about other tags.

The reason "Album Artist" should be fewer than "Artists" is that any compilation albums should be tagged with the "Album Artist" set to "Various", so all your compilation albums combined only represent 1 album artist (maybe a few accounting for variations like "various artist", "various", "various artists" etc.), whereas the songs themsleves should be tagged with "Artist" set to the actual recording artist.

Consider "500 greatest songs" from Rolling Stone magazine.  If properly tagged, this album would only have 1 album artist, but possibly 200-300 artists (assuming certain artists appear more than once).

Managing your music library is a chore.  It's like anything else.  Keeping track of your photos is even worse.  At least with music, there is a system available to us that follows certain standards.  Once your library is organized, keeping it organized is relatively easy.  Classical music is even more difficult to manage.  I haven't actually figured out how to do that, but I don't own much or care too much about it.

Another thing I recommend, if you use MediaMonkey is that multiple artists that collaborate on a song or album should be separated by a semi colon.  Some times they are tagged with an ampersand (&) which doesn't make sense becausee Bob Marley & the wailers is a band, not a collaboration.  If you use a semicolon, MediaMonkey will actual list the song under both (either) artist in the artist tree, and will only send each artist to VoxCommando once as opposed to sending 3 artists like this:

- "Artist 1"
- "Artist 2"
- "Aritist 1 & Artist 2"

When multiple artists get listed as one artist using &, it can end up being quite long , especially with 3 or more collaborators, and because VC will listen for subsets of the artist name you can end up with hundreds of phrases that it is listening for, just because of one song...  BAD!
Title: Re: XBMC for Dummies!
Post by: darkzu on November 30, 2011, 12:32:11 PM
Hi, just found about this app, so i thought to give it a try, the xbmc part is done and configured, the problem is i cant even get voxcommando to launch, as soon as i open VoxCommando.exe i get an error and this is the end.

Windows XP SP3, ive made a picture with some info.

http://oi44.tinypic.com/34sjn06.jpg

and sorry for bumping this old thread havent noticed the last post was in march
Title: Re: XBMC for Dummies!
Post by: Kalle on November 30, 2011, 12:48:43 PM
Hi, just found about this app, so i thought to give it a try, the xbmc part is done and configured, the problem is i cant even get voxcommando to launch, as soon as i open VoxCommando.exe i get an error and this is the end.

Windows XP SP3, ive made a picture with some info.

http://oi44.tinypic.com/34sjn06.jpg

and sorry for bumping this old thread havent noticed the last post was in march
Hi darkzu, VoxCommando do not run under Windows XP, only Win7 or Vista.

Kalle
Title: Re: XBMC for Dummies!
Post by: darkzu on November 30, 2011, 12:51:59 PM
oh.. thanks, havent noticed that aswell :bonk, will try then later on win7.
Title: Re: XBMC for Dummies!
Post by: Mimic on January 11, 2012, 12:37:53 PM
i dont get it, its not working for me at all.

got the latest of vc and xbmc, used this dummies^^ guide but nothing is happening in xbmc, ports and pws are correct.

where could be the problem?

thanks!
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 01:08:17 PM
please start by reading my signature

the current latest version is 0936 and you can get it here: http://voxcommando.com/forum/index.php?topic=704.0

the wiki for XBMC set is here: http://voxcommando.com/mediawiki/index.php?title=Installation_XBMC

there is a vidio guide (a bit dated but still helpful)


if you have done everything correct and it still doesn't work, make sure that your firewall is not blocking VC from talking to XBMC.  Simplest way to check that is to turn your windows firewall off and test.
Title: Re: XBMC for Dummies!
Post by: Mimic on January 11, 2012, 01:23:11 PM
thanks for your replay

by latest i mean: VC : 0.921
xbmc: 10.1 Dharma

windows 7, with line in mic(it works)
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 01:26:31 PM
That's why "latest" is meaningless.

the latest version of VC at the time I write this is 0.936

and the latest version of XBMC (that I know of) at the time I write this is xbmc-11.0-Eden_beta1 http://mirrors.xbmc.org/releases/win32/ (http://mirrors.xbmc.org/releases/win32/)

the general installation guide is here: http://voxcommando.com/mediawiki/index.php?title=Installation

there is plenty of other info in the wiki and on the forum.  If you want help you should try to be specific as possible about what you did and what does and does not work.

You should also check if windows built-in speech recognition works.
Title: Re: XBMC for Dummies!
Post by: Mimic on January 11, 2012, 01:29:42 PM
well i mostly find it better not to work with beta's but ok.

the problem seems to be that vc cant connect to xbmc, when i try to get my songs etc. with genxml it says, remoteserver gave failure back (401).

but even the "ignore me" phrase dont work... (23,3%) always
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 01:33:15 PM
I am not saying that you have to use the latest version of XBMC, only that you should tell us what actual version you are using.

from what you describe, you either set it up wrong or you have network problems, or your firewall is blocking you.

disable your firewall and if it is still not working send us an image of your VC >> Options >> XBMC screen and an image of your XBMC network settings.  I will be happy to take a look
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 01:36:12 PM
but even the "ignore me" phrase dont work... (23,3%) always
if that is the case then your mic setup is not good enough, or there is a language issue (like you don't have windows english language pack installed).  If you do have english language on your OS then try to run WSR speech setup and training.
Title: Re: XBMC for Dummies!
Post by: Mimic on January 11, 2012, 01:43:43 PM
ok i figuered the netwrok problem... damn firewall^^ but still its not recogniseing any of the commands, even the "ignore me"....

i try to give you all information i got but, i dont know what to tell, as my mic works, windows built-in speech recognition works!

thats what vc shows all the time!

(https://voxcommando.com/forum/proxy.php?request=http%3A%2F%2Fimg860.imageshack.us%2Fimg860%2F2122%2Floljf.jpg&hash=72cca30e77fa2a9ed9555cc0a296c41070ec562b)
Title: Re: XBMC for Dummies!
Post by: Dave on January 11, 2012, 02:00:58 PM
Hast du eine deutsche Version von Win7 installiert?
Dann solltest du auch deutsche Befehle benutzen, da ja die englische Aussprache ganz anders ist...
Du kannst in den Optionen auch die "requiered confidence" etwas runterstellen.
Die englische Spracherkennung (sofern sie denn installiert ist) funktioniert meiner Erfahrung nach allerdings besser als die deutsche.

Edit: Wenn du mit einer deutschen Windows-Version trotzdem englische Befehle verwenden willst, musst du sie entweder so aufschreiben wie sie ausgesprochen werden (z.B. ignor mi statt ignore me) oder aber das englische Languagepack zusätzlich installieren. Das fnuktioniert aber nur mit der Ultimate Version ohne weiteres.
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 02:15:18 PM
do a "File >> Purge Cache" and then "File >> Full restart"

click "Help >> Generate Help Menu" to make sure you are saying commands that exist correctly.

you can try to turn on logging. Click: "Options >> Enable Log" (should be checked), then restart.  Try a few commands, then close and upload the file voxlog.txt to this thread.  It will be in the same folder as VoxCommando.exe

You did WSR training?  WSR is actually able to understand most of what you say?
Title: Re: XBMC for Dummies!
Post by: Mimic on January 11, 2012, 02:46:14 PM
ok guys im so sry, i didnt know there where different language, i thought they were all preinstalled^^ sry.

know its working fine, its just AWESOME!!! to sad its not available for linux/openelec. i woult buy it immediately^^

thanks and keep up the good work, awesome job!
Title: Re: XBMC for Dummies!
Post by: Dave on January 11, 2012, 03:13:39 PM
ajith recently tried to run vc on a virtual machine with win7 on a linux system, which seems to work pretty well.
maybe this thread could be interesting for you:
http://voxcommando.com/forum/index.php?topic=702.0
Title: Re: XBMC for Dummies!
Post by: jitterjames on January 11, 2012, 04:40:58 PM
HA!  Dave beat me to it while I was out skiing!  It's great to have more people on the forum helping others.  I like!

also, don't forget that you have the option to run VC on a windows machine and run XBMC on a linux machine as long as they are on the same network.
Title: Re: XBMC for Dummies!
Post by: vulcanjedi on September 06, 2012, 06:15:15 PM
To contribute my groups of commands, most of it with phrases or words in Portuguese, interested to download the file from this link http://github.com/downloads/Wanilton/voxcomanndo-xbmc-Brazil/voicecommands.xml or atached file.
I am posting too in HTForum, a Brazilian forum of audio and video, in this topic:
http://www.htforum.com/vb/showthread.php/144704-Usando-Comando-de-voz-para-controlar-seu-midia-center-com-%C3%AAnfase-no-XBMC-Vers%C3%A3o-Dharma
My way of helping to promote this amazing software


Wanilton, any tips/tricks to setting up VC for other languages? I think this could be great for my mom (vietnamese), since even stripped menus from XBMC could a bit too involved.