VoxCommando

Help and Support (Using VoxCommando) => iTunes => Topic started by: Vangelis on October 13, 2013, 01:55:58 PM

Title: iTunes teething issues
Post by: Vangelis on October 13, 2013, 01:55:58 PM
This might be just me not setting up some parameters but sometimes I get some weird results when using VC with iTunes...

Example... (VC has read in my iTunes dbase of 600 songs)

Issue 'play song Running up that hill' and get a recognition of 92.1%. I can see that VC sends an iTunes.rqSong Running up that hill
but on iTunes I can see it checking the voxTemp 'Playlist' with zero items

Is there anything I can do to fix this??

Also when VC sees multiple possibilities in iTunes I get a black box with 'iTunes Basic Commands' and ...

1 Play Song (Lapdance)
2 Play Song (Low)

etc

How do I select the option verbally? Can I turn this off as I plan to run the whole system without a screen..?

Would renaming the songs within iTunes help with indexing?

Regards,
Vangelis
Title: Re: iTunes teething issues
Post by: nime5ter on October 14, 2013, 11:26:41 AM
Also when VC sees multiple possibilities in iTunes I get a black box with 'iTunes Basic Commands' and ...

1 Play Song (Lapdance)
2 Play Song (Low)

How do I select the option verbally? Can I turn this off as I plan to run the whole system without a screen..?

I can't speak to the iTunes issue regarding the empty voxTemp playlist, but:

I believe there's a built-in command in standard VC configurations called "Option", which you should see listed in the Vox Commands group of your tree.

This allows you to verbally select any of the options by number (Option 1, Option 2, etc.).

The feature above is referred to as "Alternates". You can see some settings related to alternates in the Options > Open Options > General settings tab (a bit confusing that I'm talking about the Option command and Options in the menu, because these do not refer to the same thing, but I hope you know what I mean). If you don't want to see the OSD for alternates, you should be able to uncheck that box. (Might depend what version of VC you're using?)

That said: if you're planning on running the system without a screen, why does it matter if this OSD appears or not? If the problem is that the song isn't playing when there are possible alternates, this may mean that the setting "don't execute if there are alternate commands" is selected in your Options. If so, you can try unchecking that box.

I hope this helps.
Title: Re: iTunes teething issues
Post by: Vangelis on October 14, 2013, 11:48:53 AM
Thanks Nime5ter - I might have missed that Option in the Options setting  ;D (regarding OSD). Might have to wait on James for and understanding of the VoxTemp playlist.

btw I am using the Licensed version
Title: Re: iTunes teething issues
Post by: nime5ter on October 14, 2013, 11:58:19 AM
 :)

I didn't mean whether you are using the licensed or trial version, but which release number you're using (e.g. 1.1.3 ; 1.140 etc.).

James releases VC updates relatively often, and some of the settings related to Alternates have been changed fairly recently. Although it's easy to install updates, some users prefer to stick with whatever version they originally downloaded. That's why it can be very helpful when people say what version number they're using when they are having difficulties (and why saying "I'm using the 'latest version'" is not such a good idea ...).
Title: Re: iTunes teething issues
Post by: Vangelis on October 14, 2013, 12:12:24 PM
Ahh ok - Erm, downloaded last night if that helps - Will update on ver when back at the system
Title: Re: iTunes teething issues
Post by: jitterjames on October 14, 2013, 12:39:06 PM
Issue 'play song Running up that hill' and get a recognition of 92.1%. I can see that VC sends an iTunes.rqSong Running up that hill
but on iTunes I can see it checking the voxTemp 'Playlist' with zero items

I have a library of several thousand songs and I have tested this command on a number of systems, over and over and it works 100% of the time, so I don't know what issue you might be having.  Maybe you just need to update your payloadXML files?

If that doesn't work then I think I would need to come "take a look" using some kind of screen sharing program, in order to try to figure out what is happening.  I am happy to do this if we can find a good time.  Usually 9AM to 3PM works for me.  I am in the same time zone as New York city.  (EDT).
Title: Re: iTunes teething issues
Post by: Kalle on October 14, 2013, 04:29:08 PM
Quote
The feature above is referred to as "Alternates". You can see some settings related to alternates in the Options > Open Options > General settings tab (a bit confusing that I'm talking about the Option command and Options in the menu, because these do not refer to the same thing, but I hope you know what I mean). If you don't want to see the OSD for alternates, you should be able to uncheck that box. (Might depend what version of VC you're using?)

That said: if you're planning on running the system without a screen, why does it matter if this OSD appears or not? If the problem is that the song isn't playing when there are possible alternates, this may mean that the setting "don't execute if there are alternate commands" is selected in your Options. If so, you can try unchecking that box.
Hey nime, James and I figured out how VC can read the alternates and use TTS to read them aloud - like: "there a xyz alternates available", option1 "blablabla", option2 "blablabla" and so on.
I'm not at home, so I can't post the command group for that, but tomorrow  ;)
Title: Re: iTunes teething issues
Post by: nime5ter on October 14, 2013, 06:15:06 PM
:)

Thanks Kalle, that sounds like it would be good xml to share on the forum.

Personally, I think I would find it annoying to hear the TTS voice struggle to pronounce 3 or 4 weird song names, but in general that code will probably be useful to many folks.
Title: Re: iTunes teething issues
Post by: Kalle on October 14, 2013, 06:35:05 PM
Haha, yes you've right. If VC find to much alternates for songs is really annoying, but we have the "match" option for this command, this allows us to adjust how many alternates VC speak aloud.  ::banana
Title: Re: iTunes teething issues
Post by: Vangelis on October 15, 2013, 05:09:12 AM
Thanks James - Is there an option to update the payloadXML ?? I will let you know on setting up a Telco after I have implemented some of the suggestions from others.

Kalle / Nim5ter - I would be interested in the TTS of the 'options' and the 'match' function to limit them. If you can post the XML examples that would be great

Vangelis
Title: Re: iTunes teething issues
Post by: nime5ter on October 15, 2013, 08:28:49 AM
Thanks James - Is there an option to update the payloadXML ??

Vangelis

Run the GenXML for iTunes again. 

http://voxcommando.com/mediawiki/index.php?title=Installation#Gathering_Media_Information_.28GenXML.29
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 12:03:01 PM
@Nim5ter - Ref checkbox 'don't execute if there are alternate cmds', can you let me know where that is under Options as I have had a look and cannot find anything  :-\

I think that is the issue why the song is not playing as VC recognised the cmd but there are multiple options btw my version is 1.1.5.0

Vangelis
Title: Re: iTunes teething issues
Post by: nime5ter on October 19, 2013, 12:31:26 PM
Alas, I don't think that could be the issue if you're using 1.150. As you say, that option doesn't yet exist in 1.150.

In your version, VC should automatically play the first option unless you tell it otherwise (i.e. by saying "Option 2" or "3" or whatever when it offers you alternatives).

In more recent beta versions (posted here on the forum), users now have the option of telling VC to not execute the command at all if there are alternates.

Perhaps it would be best for you to turn on logging for a while, and post your log here once the problem happens again. http://voxcommando.com/mediawiki/index.php?title=Main_Menu#Options
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 12:38:18 PM
Thanks Nime5ter - Gone one step further and just created a little video of the issue  ;D. I just need to put in somewhere? (~2Mb)
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 12:50:06 PM
ok Video on YouTube now - Sorry for the rather emotionless voiceover  :biglaugh

&feature=youtu.be
Title: Re: iTunes teething issues
Post by: nime5ter on October 19, 2013, 12:58:16 PM
ok Video on YouTube now - Sorry for the rather emotionless voiceover  :biglaugh

That's OK, I hear-tell robotic delivery is all the rage. That's how the cool kids talk, right after they wow the laydeez with their *insane* robot moves.


Good news is, VC is clearly understanding you perfectly. The video is too low-def for me to read the orange error messages you're getting, however. And anyhow jitterjames is probably in a better position to assist. Could you please upload a log file so that we can read all those orange alerts?

Also, I see that earlier James offered to screen-share with you to try to diagnose the problem. If the log file doesn't get us anywhere, I recommend you PM him to arrange something. He is not allergic to helping folks on the weekend.
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 01:06:46 PM
Craps - Not usre if it's the screen recorder sw or my upload bw - anyhoo, here is the log information..

Code: [Select]
19/10/2013 16:25:11 289 focused: setup_wm
19/10/2013 16:25:17 306 focused: wmplayer
19/10/2013 16:27:35 807 focused: ScreenRecorder
19/10/2013 16:27:38 812 focused: iTunes
19/10/2013 16:27:44 836 focused: ScreenRecorder
19/10/2013 16:27:58 883 error opening options.xml
19/10/2013 16:27:59 891 focused: VoxCommando
19/10/2013 16:28:24 781 semanticID: 21
19/10/2013 16:28:24 784 kvp: command | 21
19/10/2013 16:28:24 787 kvp: payload1 | <21:>Secret
19/10/2013 16:28:24 790 id from payload: 21
19/10/2013 16:28:24 794 semanticID: 21
19/10/2013 16:28:24 797 kvp: command | 21
19/10/2013 16:28:24 799 kvp: payload1 | <21:>Secret
19/10/2013 16:28:24 802 id from payload: 21
19/10/2013 16:28:24 805 alternate:play song Secret
19/10/2013 16:28:24 808 semanticID: 21
19/10/2013 16:28:24 810 kvp: command | 21
19/10/2013 16:28:24 813 kvp: payload1 | <21:>Your Secret's Safe
19/10/2013 16:28:24 816 id from payload: 21
19/10/2013 16:28:24 818 alternate:play song Secrets
19/10/2013 16:28:24 854 doCommand:play song
19/10/2013 16:28:24 857 action repeat set to: 1
19/10/2013 16:28:24 860 Action:  iTunes.rqSong - Secret
19/10/2013 16:28:27 334 semanticID: 2
19/10/2013 16:28:27 340 kvp: command | 2
19/10/2013 16:28:27 346 kvp: p2d1 | 2
19/10/2013 16:28:27 403 doCommand:play song
19/10/2013 16:28:27 407 action repeat set to: 1
19/10/2013 16:28:27 410 Action:  iTunes.rqSong - Your Secret's Safe
19/10/2013 16:28:33 574 semanticID: 21
19/10/2013 16:28:33 583 kvp: command | 21
19/10/2013 16:28:33 586 kvp: payload1 | <21:>Sex Style
19/10/2013 16:28:33 589 id from payload: 21
19/10/2013 16:28:33 594 semanticID: 21
19/10/2013 16:28:33 598 kvp: command | 21
19/10/2013 16:28:33 601 kvp: payload1 | <21:>Sex Style
19/10/2013 16:28:33 604 id from payload: 21
19/10/2013 16:28:33 607 alternate:play song Sex Style
19/10/2013 16:28:33 640 doCommand:play song
19/10/2013 16:28:33 643 action repeat set to: 1
19/10/2013 16:28:33 647 Action:  iTunes.rqSong - Sex Style
19/10/2013 16:28:42 70 focused: iTunes
19/10/2013 16:28:46 882 semanticID: 21
19/10/2013 16:28:46 886 kvp: command | 21
19/10/2013 16:28:46 890 kvp: payload1 | <21:>Diva
19/10/2013 16:28:46 894 id from payload: 21
19/10/2013 16:28:46 899 semanticID: 21
19/10/2013 16:28:46 903 kvp: command | 21
19/10/2013 16:28:46 908 kvp: payload1 | <21:>Diva
19/10/2013 16:28:46 912 id from payload: 21
19/10/2013 16:28:46 915 alternate:play song Diva
19/10/2013 16:28:46 918 semanticID: 21
19/10/2013 16:28:46 921 kvp: command | 21
19/10/2013 16:28:46 924 kvp: payload1 | <21:>Eugina (Pacific Diva)
19/10/2013 16:28:46 927 id from payload: 21
19/10/2013 16:28:46 930 alternate:play song Diva
19/10/2013 16:28:46 974 doCommand:play song
19/10/2013 16:28:46 978 action repeat set to: 1
19/10/2013 16:28:46 985 Action:  iTunes.rqSong - Diva
19/10/2013 16:28:49 237 semanticID: 2
19/10/2013 16:28:49 244 kvp: command | 2
19/10/2013 16:28:49 250 kvp: p2d1 | 1
19/10/2013 16:28:49 291 doCommand:play song
19/10/2013 16:28:49 296 action repeat set to: 1
19/10/2013 16:28:49 299 Action:  iTunes.rqSong - Diva
19/10/2013 16:28:55 361 semanticID: 21
19/10/2013 16:28:55 365 kvp: command | 21
19/10/2013 16:28:55 368 kvp: payload1 | <21:>Ring the Alarm
19/10/2013 16:28:55 372 id from payload: 21
19/10/2013 16:28:55 377 semanticID: 21
19/10/2013 16:28:55 380 kvp: command | 21
19/10/2013 16:28:55 385 kvp: payload1 | <21:>Ring the Alarm
19/10/2013 16:28:55 388 id from payload: 21
19/10/2013 16:28:55 391 alternate:play song Ring the Alarm
19/10/2013 16:28:55 394 semanticID: 21
19/10/2013 16:28:55 397 kvp: command | 21
19/10/2013 16:28:55 400 kvp: payload1 | <21:>Ring the Alarm (Freemasons Club Mix)
19/10/2013 16:28:55 403 id from payload: 21
19/10/2013 16:28:55 406 alternate:play song Ring the Alarm
19/10/2013 16:28:55 410 semanticID: 21
19/10/2013 16:28:55 413 kvp: command | 21
19/10/2013 16:28:55 417 kvp: payload1 | <21:>Ring the Alarm (Freemasons Club Mix Radio Edit)
19/10/2013 16:28:55 420 id from payload: 21
19/10/2013 16:28:55 424 alternate:play song Ring the Alarm
19/10/2013 16:28:55 477 doCommand:play song
19/10/2013 16:28:55 482 action repeat set to: 1
19/10/2013 16:28:55 487 Action:  iTunes.rqSong - Ring the Alarm
19/10/2013 16:28:57 971 semanticID: 2
19/10/2013 16:28:57 974 kvp: command | 2
19/10/2013 16:28:57 978 kvp: p2d1 | 1
19/10/2013 16:28:58 11 doCommand:play song
19/10/2013 16:28:58 14 action repeat set to: 1
19/10/2013 16:28:58 18 Action:  iTunes.rqSong - Ring the Alarm
19/10/2013 16:29:06 340 semanticID: 21
19/10/2013 16:29:06 347 kvp: command | 21
19/10/2013 16:29:06 355 kvp: payload1 | <21:>Skyfall
19/10/2013 16:29:06 360 id from payload: 21
19/10/2013 16:29:06 370 semanticID: 21
19/10/2013 16:29:06 373 kvp: command | 21
19/10/2013 16:29:06 376 kvp: payload1 | <21:>Skyfall
19/10/2013 16:29:06 380 id from payload: 21
19/10/2013 16:29:06 385 alternate:play song Skyfall
19/10/2013 16:29:06 425 doCommand:play song
19/10/2013 16:29:06 428 action repeat set to: 1
19/10/2013 16:29:06 432 Action:  iTunes.rqSong - Skyfall
19/10/2013 16:29:13 78 semanticID: 21
19/10/2013 16:29:13 84 kvp: command | 21
19/10/2013 16:29:13 90 kvp: payload1 | <21:>Gotta Work
19/10/2013 16:29:13 96 id from payload: 21
19/10/2013 16:29:13 104 semanticID: 21
19/10/2013 16:29:13 107 kvp: command | 21
19/10/2013 16:29:13 110 kvp: payload1 | <21:>Gotta Work
19/10/2013 16:29:13 113 id from payload: 21
19/10/2013 16:29:13 117 alternate:play song Gotta Work
19/10/2013 16:29:13 162 doCommand:play song
19/10/2013 16:29:13 167 action repeat set to: 1
19/10/2013 16:29:13 171 Action:  iTunes.rqSong - Gotta Work
19/10/2013 16:29:21 626 semanticID: 21
19/10/2013 16:29:21 633 kvp: command | 21
19/10/2013 16:29:21 639 kvp: payload1 | <21:>Circus
19/10/2013 16:29:21 645 id from payload: 21
19/10/2013 16:29:21 653 semanticID: 21
19/10/2013 16:29:21 657 kvp: command | 21
19/10/2013 16:29:21 660 kvp: payload1 | <21:>Circus
19/10/2013 16:29:21 663 id from payload: 21
19/10/2013 16:29:21 666 alternate:play song Circus
19/10/2013 16:29:21 669 semanticID: 21
19/10/2013 16:29:21 673 kvp: command | 21
19/10/2013 16:29:21 676 kvp: payload1 | <21:>Circus (Remastered)
19/10/2013 16:29:21 679 id from payload: 21
19/10/2013 16:29:21 682 alternate:play song Circus
19/10/2013 16:29:21 685 semanticID: 21
19/10/2013 16:29:21 687 kvp: command | 21
19/10/2013 16:29:21 690 kvp: payload1 | <21:>Circus (Villains Remix)
19/10/2013 16:29:21 693 id from payload: 21
19/10/2013 16:29:21 696 alternate:play song Circus
19/10/2013 16:29:21 698 semanticID: 21
19/10/2013 16:29:21 701 kvp: command | 21
19/10/2013 16:29:21 704 kvp: payload1 | <21:>Hotel Room Service
19/10/2013 16:29:21 706 id from payload: 21
19/10/2013 16:29:21 709 alternate:play song Service
19/10/2013 16:29:21 780 doCommand:play song
19/10/2013 16:29:21 787 action repeat set to: 1
19/10/2013 16:29:21 790 Action:  iTunes.rqSong - Circus
19/10/2013 16:29:24 308 semanticID: 2
19/10/2013 16:29:24 315 kvp: command | 2
19/10/2013 16:29:24 322 kvp: p2d1 | 3
19/10/2013 16:29:24 380 doCommand:play song
19/10/2013 16:29:24 383 action repeat set to: 1
19/10/2013 16:29:24 387 Action:  iTunes.rqSong - Circus (Villains Remix)
19/10/2013 16:29:30 982 semanticID: 21
19/10/2013 16:29:30 986 kvp: command | 21
19/10/2013 16:29:30 990 kvp: payload1 | <21:>Call My Name
19/10/2013 16:29:30 993 id from payload: 21
19/10/2013 16:29:30 999 semanticID: 21
19/10/2013 16:29:31 2 kvp: command | 21
19/10/2013 16:29:31 6 kvp: payload1 | <21:>Call My Name
19/10/2013 16:29:31 9 id from payload: 21
19/10/2013 16:29:31 12 alternate:play song Call My Name
19/10/2013 16:29:31 45 doCommand:play song
19/10/2013 16:29:31 49 action repeat set to: 1
19/10/2013 16:29:31 53 Action:  iTunes.rqSong - Call My Name
19/10/2013 16:29:35 182 semanticID: 21
19/10/2013 16:29:35 187 kvp: command | 21
19/10/2013 16:29:35 190 kvp: payload1 | <21:>Fight for This Love
19/10/2013 16:29:35 193 id from payload: 21
19/10/2013 16:29:35 197 semanticID: 21
19/10/2013 16:29:35 201 kvp: command | 21
19/10/2013 16:29:35 204 kvp: payload1 | <21:>Fight for This Love
19/10/2013 16:29:35 206 id from payload: 21
19/10/2013 16:29:35 209 alternate:play song Fight for This Love
19/10/2013 16:29:35 242 doCommand:play song
19/10/2013 16:29:35 246 action repeat set to: 1
19/10/2013 16:29:35 249 Action:  iTunes.rqSong - Fight for This Love
19/10/2013 16:29:44 23 semanticID: 140
19/10/2013 16:29:44 31 kvp: command | 140
19/10/2013 16:29:44 42 semanticID: 140
19/10/2013 16:29:44 50 kvp: command | 140
19/10/2013 16:29:44 57 alternate:Stop
19/10/2013 16:29:44 95 doCommand:Stop
19/10/2013 16:29:44 99 action repeat set to: 1
19/10/2013 16:29:44 102 Action:  iTunes.Stop -
19/10/2013 16:29:50 890 semanticID: 21
19/10/2013 16:29:50 893 kvp: command | 21
19/10/2013 16:29:50 896 kvp: payload1 | <21:>Crazy
19/10/2013 16:29:50 899 id from payload: 21
19/10/2013 16:29:50 904 semanticID: 21
19/10/2013 16:29:50 907 kvp: command | 21
19/10/2013 16:29:50 910 kvp: payload1 | <21:>Crazy
19/10/2013 16:29:50 914 id from payload: 21
19/10/2013 16:29:50 918 alternate:play song Crazy
19/10/2013 16:29:50 920 semanticID: 21
19/10/2013 16:29:50 923 kvp: command | 21
19/10/2013 16:29:50 926 kvp: payload1 | <21:>It Will Make Me Crazy
19/10/2013 16:29:50 929 id from payload: 21
19/10/2013 16:29:50 932 alternate:play song Crazy
19/10/2013 16:29:50 935 semanticID: 21
19/10/2013 16:29:50 938 kvp: command | 21
19/10/2013 16:29:50 940 kvp: payload1 | <21:>Crazy in Love (feat. JAY Z)
19/10/2013 16:29:50 944 id from payload: 21
19/10/2013 16:29:50 950 alternate:play song Crazy
19/10/2013 16:29:51 16 doCommand:play song
19/10/2013 16:29:51 21 action repeat set to: 1
19/10/2013 16:29:51 26 Action:  iTunes.rqSong - Crazy
19/10/2013 16:29:53 448 semanticID: 2
19/10/2013 16:29:53 454 kvp: command | 2
19/10/2013 16:29:53 460 kvp: p2d1 | 2
19/10/2013 16:29:53 507 doCommand:play song
19/10/2013 16:29:53 510 action repeat set to: 1
19/10/2013 16:29:53 514 Action:  iTunes.rqSong - It Will Make Me Crazy
19/10/2013 16:30:03 802 semanticID: 140
19/10/2013 16:30:03 805 kvp: command | 140
19/10/2013 16:30:03 809 semanticID: 140
19/10/2013 16:30:03 812 kvp: command | 140
19/10/2013 16:30:03 816 alternate:Stop
19/10/2013 16:30:03 853 doCommand:Stop
19/10/2013 16:30:03 857 action repeat set to: 1
19/10/2013 16:30:03 861 Action:  iTunes.Stop -
19/10/2013 16:30:09 355 focused: ScreenRecorder
19/10/2013 16:30:15 379 focused: wmplayer
19/10/2013 16:32:30 867 focused: ScreenRecorder
19/10/2013 16:32:33 878 focused: explorer
19/10/2013 16:34:43 344 focused: iexplore
19/10/2013 16:52:12 371 semanticID: 140
19/10/2013 16:52:12 375 kvp: command | 140
19/10/2013 16:52:12 382 semanticID: 140
19/10/2013 16:52:12 385 kvp: command | 140
19/10/2013 16:52:12 388 alternate:Stop
19/10/2013 16:52:12 429 doCommand:Stop
19/10/2013 16:52:12 433 action repeat set to: 1
19/10/2013 16:52:12 436 Action:  iTunes.Stop -
19/10/2013 17:01:07 30 focused: explorer
19/10/2013 17:01:10 42 focused: VoxCommando

Let me know if this is the right info - thanks for the assistance on a Saturday btw!!

Vangelis
Title: Re: iTunes teething issues
Post by: nime5ter on October 19, 2013, 01:12:54 PM
Actually the video is fine. It was something on my end, or else I tried to view it before youtube had finished processing it.

Hopefully James can give you some feedback now. (Yes, that's the log file. In general and in the future, it's best to post logs as text file attachments to your messages. But it's fine for now.)
Title: Re: iTunes teething issues
Post by: jitterjames on October 19, 2013, 01:13:51 PM
In your video, it looks like it fails to play any song that has the "cloud with a down arrow" icon next to it.  Can you confirm this for me?

Unfortunately the log doesn't show anything (my fault) but the rqSong actions are clearly orange which means they failed for some reason.  If you focus the main VC window and then roll your mouse (hover) over the orange actions, you should get a pop up with some kind of error message.  Can you please tell us what it says?
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 01:29:23 PM
Hey James - Thanks for helping also

Error shows :

System.ArgumentException : Value does not fall within expected range

However James is spot-on regarding not playing songs with the 'cloud' symbol next to them. Tested it on songs without it and got 100% play rate  ;D

Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 01:31:32 PM
...while I have you both online  :) How do I get the partial mute working??

I have setup prefix mode and would like the partial mute to execute (if possible) when I say 'Computer' . Is this a simple thing to do?

Vangelis
Title: Re: iTunes teething issues
Post by: jitterjames on October 19, 2013, 01:34:39 PM
Apparently those are songs that exist only in the cloud and have not yet been downloaded to your computer.

The simple solution (if it is an option for you) is to download all those songs to your local computer.

It is quite possible that there is no fix available for this, because the itunes SDK for windows has not been updated for about 5 years (that's a guess but it has been forever), and I don't expect that to change any time soon!  I will poke around a bit to see if there is something I can do to work around the problem but I have no idea at this point...

I assume that you can play those songs fine by clicking on them?

Do the other voice commands for playing music work?
Title: Re: iTunes teething issues
Post by: jitterjames on October 19, 2013, 01:37:05 PM
...while I have you both online  :) How do I get the partial mute working??

I have setup prefix mode and would like the partial mute to execute (if possible) when I say 'Computer' . Is this a simple thing to do?

Vangelis

It makes more sense to use softmute with your "listen" command, and then softunmute with your stop listening command.

While it is technically possible to do it with prefix mode, it is more complicated to set up and I find it does not really work all that well in the real world because you can only pause for a very short time after saying the prefix before you need to say the rest of your command.
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 01:54:47 PM
Yes, all other cmds appear to work so that 'cloud' was the gotcha!

I only suggested prefix as in this possible scenario ...

Music Playing (Volume 50)
Say Prefix word...Ack sound plays and music soft mutes (say Volume 5) VC Now awaits my next cmd (unsure if you can get prefix mode to ack after the 'prefix word')?
I issue a play song cmd
VC accepts and plays song at Volume 50

Maybe I am misunderstanding the Softmute function??
Title: Re: iTunes teething issues
Post by: jitterjames on October 19, 2013, 02:09:37 PM
No you are misunderstanding the prefix mode.  The prefix is delivered as the first word in the sentence, not as a separate command.

So you can do what you want, as I suggested, by putting the mute action in the "pay attention" command.  Then you can unmute in a number of ways.

What you probably want is to have a command which tells it to listen to only one command.

Copy and paste this into your command tree.  You can adjust the phrase that you want to use to trigger the command of course.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name="softmute one command" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="171" name="just one thing" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.OnSingle</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>iTunes.SoftMute</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>just one thing, excuse me</phrase>
  </command>
  <command id="158" name="unmute after single" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>iTunes.SoftUnmute</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>VC.Single.End</event>
  </command>
</commandGroup>
Title: Re: iTunes teething issues
Post by: Vangelis on October 19, 2013, 02:17:08 PM
No worries - guessed I might have it incorrect.

Will try the example you posted and let you know how it goes. It's foodies time here in the UK so will probably get round to it tomorrow.

Thanks for all your (and Nime5tar's) help...

Vangelis
Title: Re: iTunes teething issues
Post by: nime5ter on October 19, 2013, 03:52:54 PM
You can adjust the phrase that you want to use to trigger the command of course.

This may be stating the obvious, but if you've chosen the word "computer" as your prefix phrase, and you also--apart from that--want to put James's "just one thing" command above to the test, make sure that you don't change the trigger phrase in James's command to "computer" as well. :)