VoxCommando

Help and Support (Using VoxCommando) => MediaPortal => Topic started by: jitterjames on January 10, 2012, 04:38:46 PM

Title: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 10, 2012, 04:38:46 PM
get it here:

http://db.tt/3WpMYsjz

This is an experimental release.  There are many things that are not working very well right now with Moving Pictures, and MP TV-Series plugins.

More information on setup, what's new, and what is working and not will follow this post.

EDIT: I have attached an updated plugin.  Unzip the two files into tour VoxCommando\plugins\MpWifi folder
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 10, 2012, 04:54:04 PM
you should be using the latest available versions of MediaPortal and the plugins: WifiRemote, TvSeries, Moving Pictures.


MediaPortal: 1.2.2.0 --
Moving Pictures: 1.3.0.1344 -- http://code.google.com/p/moving-pictures/downloads/list
TV-Series 3.1.3.1888 --   (special use this .dll  http://db.tt/DI2pNGTe)
WifiRemote: 0.6.0.0 -- http://code.google.com/p/wifiremote/downloads/list
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 10, 2012, 04:55:33 PM
For those of you who were already playing with 0.921 please note:

You should install this version to a new BLANK folder and then when you start it for the first time, select the standard configuration for MediaPortal.

After that you can import custom commands that you were using in the old version.

- Note that I have changed all the MPWifi actions to the format: MpWifi.*  in stead of MpWifiRemote.*
I did this because the commands were getting too long an taking up too miuch space in the editor grids.  If you import your old commands, I think they will be automatically renamed... If not save, open the editor again, then save.  At this point it is probably a good idea to do a "File >> Purge Cache" followed by a "File Quick Restart"

- I forgot to include the keyboard emulation commands in the standard config.  If you want to use them open the editor.  On the right side click the blue planet icon to open the megaweb bin.  You should see "Keyboard Emu (local PC only)" at the top.  Drag it onto your command tree then save.  If you have a bin file with your own commands in it, be sure not to save the megaweb bin file on top of it.  (I need to change the code to avoid this likelihood).
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 07:51:56 AM
Ow my God!!!! This is really fantastic..

I was searching for something like this for a while, and this software does EXACTLY what I want!! Thanks a lot for making this software compatible with Mediaportal.. I'm a huge fan of Mediaportal, so this is like a huge surprise for me.. :)

But after saying this, It's time for some questions and critical notes before I decide to buy this software..

-I have to start Mediaportal first and than launch VC because else the program keeps saying; "connecting" Is this a bug that will be solved in a next release? When I run VC first I am able to give the commando; "Open Mediaportal" but I can't do anything else inside it.. I would like to see that it doesn't matter wich program will be launched first.. I want to let VC startup with windows..

-After the first time I installed this software I was not able to give keyboard emu's.. When I go to "Groups" and activate the "Keyboard emu (local PC only)" the program did recognized my commants like "Go up" but it deactivate the program immediately (goes to red state). What I had to do was to go to "Edit" and Enable "Keyboard emu (local PC only)". What's the reason for this?

-I was wondering if there is a way to learn the program my Dutch commandos.. I now I can set the "learn" button in the configuration, but I have no idea what it does exactly..

-Is there a way to add comments yourself? I am now able to open movingpictures by saying; "Browse movies" but I'm not able yet to open the music section of Mediaportal.. (I only can ask for a speific song or artist). Is there a way to learn the program when I say; "Open music" or what ever it opens it?

-What are the functions you want to implantate soon.. Support for Onlinevideo's? YouTube.fm? Extensionsplugin? Etc..? Please let me know!!

Ow and what I like to say, I'm using a very cheap microphone that was included with my motherboard.. But it's working very good! A tip to anyone: If you set the volume in the configuration of your microphone a bit higher (it's default at 0, so set it to 15% by example) it's working a lot better.. Also when the microphone is a couple of meters away!

Thanks!
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: Kalle on January 11, 2012, 09:22:08 AM
Hi powermarcel10, welcome to VC-Forum. I think James will you answer all questions. If you click on the Wiki button above, you can find some answers to your questions. There is a tutorial for VC in English and German.

Kalle
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 10:42:37 AM
Welcome powermarcel10,

I appreciate your enthusiasm. :)

Quote
-I have to start Mediaportal first and than launch VC because else the program keeps saying; "connecting" Is this a bug that will be solved in a next release? When I run VC first I am able to give the commando; "Open Mediaportal" but I can't do anything else inside it.. I would like to see that it doesn't matter wich program will be launched first.. I want to let VC startup with windows..
Yes this is a bug, but the solution is not yet obvious to me.  I am working on it.  It is at or near the top of my list of priorities.  For now, in case it makes life a bit easier you can use File >

Quote
-After the first time I installed this software I was not able to give keyboard emu's.. When I go to "Groups" and activate the "Keyboard emu (local PC only)" the program did recognized my commants like "Go up" but it deactivate the program immediately (goes to red state). What I had to do was to go to "Edit" and Enable "Keyboard emu (local PC only)". What's the reason for this?
I'm confused by this.  What version are you using?  In the latest test (version 0.936) the standard configuration for MediaPortal does not include Keyboard emulation commands at all.

the learn button helps WSR to adapt to your voice whenever it recognizes a command.  If you want to create your own custom commands in your own language you need to edit the command tree.  There is no engine available for Dutch, but you can use the english engine and spell dutch commands phonetically and it will probably work OK.

Please look at the wiki.  In particular there is a section on other languages that may be of interest to you: http://voxcommando.com/mediawiki/index.php?title=Languages

My first priority is to get the existing stuff working well.  Then I will look at other features / plugins in MediaPortal
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 12:32:42 PM
Hi jitterjames,

thank you for your warm welcome..

-About the keyboard thing; my mistake.. I have added it myself from the original VC into the voicecommands.xml file for the compiled Mediaportal version because I saw that it was missing.. After doing that I had to go into the settings menu en enabled it from there.. Everything is working.. May I ask why you didn't included those keyboard commands allready?

-Ontorher thing I want to report is that when I launch this version (0.936) it's in red state by default (so I have to select the green one myself..) With the original version of VC (0.921) It's automaticly green, like it should be I think.. Is this a bug?

-About the rest of my questions, I will focus on the Wiki.. I'm sory, I had to do that first.. It was my enthousiasm that overruled me a bit and I would have those answers asap, hihi.. Thanks for the answers so far..

You will hear soon from me again!

EDIT: You said: "If you want to create your own custom commands in your own language you need to edit the command tree.  There is no engine available for Dutch, but you can use the english engine and spell dutch commands phonetically and it will probably work OK."

So you mean it will only allow me to spell things? Like "G-A N-A-A-R F-I-L-M-S" What means; "Browse movies"? I would like to see an option where you can set a commando to the things you say.. So you can learn the program than when I say: "Ga naar films" he knows that he has to do the same thing as for; "Browse movies"

But this is not possible?

Another question about this: How do I change the command tree?


This is not a big problem btw, but I was wonderging how it works.. English is not a problem for me.. (well, those short commandos than :p )

EDIT 2: When I say; "Browse movies" it always go to Movingpictures in List view, well it's default in Coverflow mode.. Is there a way to change this?

Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 12:42:53 PM

WifiRemote: 0.6.0.0

Is this correct? I believe the latest is still 0.5, cant find a 0.6 on the forum or in the plugin installer
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 12:50:00 PM
Is this correct? I believe the latest is still 0.5, cant find a 0.6 on the forum or in the plugin installer


Yes It's right, you can download the newest version at here: http://code.google.com/p/wifiremote/downloads/list

I don't know why it is not added yet to the MPE installer..
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 12:56:19 PM

-About the keyboard thing; my mistake.. I have added it myself from the original VC into the voicecommands.xml file for the compiled Mediaportal version because I saw that it was missing.. After doing that I had to go into the settings menu en enabled it from there.. Everything is working.. May I ask why you didn't included those keyboard commands allready?
just an oversight.  I did a million different thing in the last week to the program code, the plugin code, the configuration, documentation, testing etc...  a few things slipped by.  The standard config will be cleaned up as we go forward.  There are two types of users for MP, ones who use VC on the same computer (keyboard emu will work for them) and those who use VC on a different machine from MediaPortal - they would need to use different commands for arrows and scrolling.  Only one type can have the default config that suits them, and the other will need to make some minor adjustments.

-Ontorher thing I want to report is that when I launch this version (0.936) it's in red state by default (so I have to select the green one myself..) With the original version of VC (0.921) It's automaticly green, like it should be I think.. Is this a bug?
it's not a bug, but it should not be part of the final configuration. It's something I left in by mistake from my testing and editing setup.  The "VC.Loaded" is assigned to the "Vox Off" command.  You just need to delete the event from the command.


-About the rest of my questions, I will focus on the Wiki.. I'm sory, I had to do that first.. It was my enthousiasm that overruled me a bit and I would have those answers asap, hihi.. Thanks for the answers so far...
understandable.  no problem.  :D
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 12:56:52 PM
Yes It's right, you can download the newest version at here: http://code.google.com/p/wifiremote/downloads/list

I don't know why it is not added yet to the MPE installer..

Thanks, I should have looked there  :bonk
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 01:06:38 PM
Quote
So you mean it will only allow me to spell things? Like "G-A N-A-A-R F-I-L-M-S" What means; "Browse movies"? I would like to see an option where you can set a commando to the things you say.. So you can learn the program than when I say: "Ga naar films" he knows that he has to do the same thing as for; "Browse movies"

But this is not possible?

Another question about this: How do I change the command tree?

please read the wiki first.  No you cannot create commands by speaking, and no I will not be adding this functionality.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 01:08:36 PM
Allright jitterjames,

I understand.. I thought that the keyboard emu was maybe missing because it had some stability issues in combination with Mediaportal or what ever.. I was happy I could add it by myself because it's very usefull to control Mediaportal and it works great..

I deleted "VC.Loaded" and now it's listen to me at startup.. Thanks! :)

I also did some research on wikipedia about the "phonetically commands" I think that's a hard job and really don't know how to configure that at this moment.. So that's something for later maybe..

Are all english words availible to add at this moment for Phrases? I have add "go to movies" as an alternative for "browse movies" and that works great..

Are you or other developars of VC planning a Dutch engine for the future?

EDIT: I just readed the wiki and I understand.. 
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 01:25:26 PM
Dont seem to be able to get this one working at the moment, the move up, down, left, right commands work but all the others (select, browse movies etc.) the woman returns with "connecting" the commands are recognised in vox though and it says wifi.command.ok in the history log.

I'm guessing it is connected to wifi remote since the navigation works, is there something else that should be connected?

Not sure if it was needed in this version but i tried the set up guide from the previous version post, building grammers etc but still the same.



EDIT

Oddly its working now. not sure what that was  :-\
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 01:38:35 PM
with the current version you need to have MP running first.  If you have connection problems, restart VC and it should connect right away.

I'm working on a fix for that. Sorry.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 01:41:59 PM
Are you or other developars of VC planning a Dutch engine for the future?



no.  VC is built on the microsoft engine.  There won't be a Dutch version unless MS makes one, which is probably unlikely.  If you have a lot of English media content, you are better off with the english engine anyway.  It is not possible for it to differentiate between multiple languages,  unless you run two engines side by side and hope that one does not misinterpret commands directed at the other. :bonk
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 01:45:38 PM
You may be aware but if not

The start with windows option is working properly for me, it pops up the the EULA box and asks to pick the plugins but there are none in the list so the only option is to close and run vox manually.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 02:06:12 PM
thanks I was not aware of that.  I believe I have the solution though so it will be in 0937 which I will release within the next day or two.

although I think when you way "working" you mean "not working" and when you say "plugins" you mean "configurations"
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 02:13:55 PM
Allright, last question for today.. After that I will do some more tests and report than..

I have one strange problem on my HTPC..

I have tested this software (as always) on my Game machine.. (with has also latest version of Mediaportal installed)

I was able to run movies fine with VC enabled..

I have tried it also on my HTPC but there is a strange behavior.. When I launh a movie (by hand or by voice) the movie stopped inmidietly.. This only happend when VC is enabled.. When I exit VC, start Mediaportal and start the movie, everything is fine..

And to make it even more complicated, it only happend with HD movies!! (90% of my collection) Only SD files like .avi are running fine.. But when I launch a 1080P .mkv file, it stops after it's running..

Do you know what it can be?
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 02:18:02 PM
All seems working fairly well, just need to look into adding command.

There seems to no current commands for browse music/artist/genre etc., presumably this can be added by ourselves?

Also is it posible to jump to a certain page or xml within mediaportal, for instance MP has a lyric plugin, is it possible to add the command show lyrics and have it jump to the lyric page for current playing song?

also :) is it possible when using command play album/artist/song etc. to jump straight to now playing rather than playlists?

I wanna figure these out myself as I want to learn adding and editing commands but i'd like to just know if each is possible with the current build before I spend ages trying to figure it out only to find it can't be done.

O and it's so much better with a license, supprising how quick you use up 25 commands :)

thanks I was not aware of that.  I believe I have the solution though so it will be in 0937 which I will release within the next day or two.

although I think when you way "working" you mean "not working" and when you say "plugins" you mean "configurations"

Yes sorry, not working, its the box that pops up the 1st time i ran vox asking to accept the EULA and then choose something from the box but tbh, i cant remember what was in it the 1st time as upon restart, the box is empty.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 02:24:23 PM
Allright, last question for today.. After that I will do some more tests and report than..

I have one strange problem on my HTPC..

I have tested this software (as always) on my Game machine.. (with has also latest version of Mediaportal installed)

I was able to run movies fine with VC enabled..

I have tried it also on my HTPC but there is a strange behavior.. When I launh a movie (by hand or by voice) the movie stopped inmidietly.. This only happend when VC is enabled.. When I exit VC, start Mediaportal and start the movie, everything is fine..

And to make it even more complicated, it only happend with HD movies!! (90% of my collection) Only SD files like .avi are running fine.. But when I launch a 1080P .mkv file, it stops after it's running..

Do you know what it can be?
I'm not sure.

1) are you running VC and MediaPortal on the same computer?
2) are you sure it is in fact HD movies, or could it have something to do with the type of sound in the movies.  Like, it happens that your HD movies are all using 5.1 sound DTS, while your avis have only stereo AC3, or something like that.  And is it possible that your have different sound settings for different types of codecs.  Try going into MP configuration (advanced).  Then look in codecs and renderer  (look on both the first and last tabs: "video codecs" and "video renderer") and try different settings and see if you can figure out what works and what does not.  I think the problem could be with TTS using the sound card and the player doesn't want to share.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 02:32:13 PM

There seems to no current commands for browse music/artist/genre etc., presumably this can be added by ourselves?

Also is it posible to jump to a certain page or xml within mediaportal, for instance MP has a lyric plugin, is it possible to add the command show lyrics and have it jump to the lyric page for current playing song?

yes and yes.

you can create a comand to open a window using the action "MpWifi.ActivateWindow" but you must know the window ID that you want to open.  It also seems to be not as smooth as opening from the skin so I need to check with Shukuyen if this can be fixed.  (maybe it is just on my system).

to go to the playlist instead of nowplaying after requesting music:
you can replace the action "MpWifi.ShowPlaylist" with the action "MpWifi.ShowNowPlaying"
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 03:07:01 PM
Thanks again for you reply..

I'm shure it has something to do with the soundcard.. It only happend on movies that has DTS and Dolby-D, so that's the problem.. Will figure out how to fix it but I'm shure I can.. :)

Another thing.. I'm trying to add some Parses with: "MpWifi.ActivateWindow" and it works! Here is a link for most default Mediaportal ID's: http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Window_IDs (for other plugins use google; by example; Mediaportal Onlinevideos ID)

For some ID's it's works fine (like settings: ID 4) I can now say: "Settings" and he goes to settings.. So that's nice! But like you said, it doesn't work always nice.. When i try to do the same thing for music (ID: 511) I get a black screen and I have to go back to the home menu.

I have an suggestion for this; The Mediaportal shortcutter plugin: (I'm using that to program some ID's to my imon remote) Here it is: http://forum.team-mediaportal.com/mediaportal-plugins-47/shortcuter-plugin-shortcuts-mediaportal-sections-32747/

with doing that I can set a combination of buttons like Ctrl + Shift + M to ID 511 (music) and let VC put that buttons for me when I say; (music)

Is there a way to do that? Like with an alternative for "MpWifi.ActivateWindow"?.

I hope you know what I mean!!   :P
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 03:28:50 PM
yes and yes.

you can create a comand to open a window using the action "MpWifi.ActivateWindow" but you must know the window ID that you want to open.  It also seems to be not as smooth as opening from the skin so I need to check with Shukuren if this can be fixed.  (maybe it is just on my system).

to go to the playlist instead of nowplaying after requesting music:
you can replace the action "MpWifi.ShowPlaylist" with the action "MpWifi.ShowNowPlaying"

Thanks, got both of those sorted, show lyrics works really well for me, no issue with smoothness. maybe its only with certain windows

Window Id for mylyrics is 90478 if anyone else wants to do the same.

Any chance of an option to filter out a parrot in the next release? he thinks im talking to him and he's squaking back, getting or sorts of weird options poping up :)

I have noticed though when using command, "play album X" it seems to start play on a random track rather than starting at the 1st track, is this normal, as far as I know I have no shuffle options enabled, when selecting an album to play with remote it starts from track 1.

Thanks again for you reply..


Another thing.. I'm trying to add some Parses with: "MpWifi.ActivateWindow" and it works! Here is a link for most default Mediaportal ID's: http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Window_IDs (for other plugins use google; by example; Mediaportal Onlinevideos ID)

For some ID's it's works fine (like settings: ID 4) I can now say: "Settings" and he goes to settings.. So that's nice! But like you said, it doesn't work always nice.. When i try to do the same thing for music (ID: 511) I get a black screen and I have to go back to the home menu.



Nice find, very useful.

I think for browse music you need ID 504 (mymusicgenres) not 511


EDIT

504 is the right window, ive added it but cannot get it to go via the command "Browse Music" but if i click the green test arrow it goes to music, it is a bit clunky with this one, opens a side menu for a few seconds then closes it but it does go to music.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 11, 2012, 04:16:15 PM
I have checked it on my HTPC, and It's windows 501.. :)

It's not working yet.. I'm try to let VC sent the shoftcut (Ctrl = Shift + M) to Mediaportal, but is doesn't work.. I'll let you guys know when I make some progress..
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 04:17:44 PM
Ah, you browse music in shares view?
I'm using ID 504 and it takes me to Album Artist view. It's working fine now, somehow i had 'top 100' added under the command so it was expecting further commands after saying "browse music" presumably it was waiting for me to say top 100 I guess.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 04:44:43 PM
If you folks can compile a list of window IDs that work well I will add it to the standard config.

Also if you have an actual key combo that works for a particular view I can probably help you set that up.  When I press ctrl-shift-M on my mediaportal nothing happens so I assume this is a custom key combo?

edit: sorry, missed part of your original post about the shortcut plugin...  I'll take a look at that.  It it's open source then maybe we can figure out what it does differently from mpwifi plugin if it opens stuff more smoothly.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 04:52:14 PM
Not sure if you seen or missed it, marcel posted a link a few posts up showing all the standard window ID's in MP, doesnt include plugins though, I got the lyric ID from the streamed MP editor, when you select a plugin to add to your home screen it tells you what ID it has, I could post them all up if you wanted, StreamedMP supports almost all major plugins so will have most of them.

Maybe I'll create a thread in MP section with a list of them all. MP interest in Vox seems to be growing nicely so I'm sure many will want to jump to screens not included in Vox download.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 11, 2012, 05:18:48 PM
I saw it (thanks), and I was aware of it anyway having done a search for "mediaportal window ids" many times already :)

I was thinking more along the lines of a list of which ones worked, and possibly extra plugin IDs that are not in the standard list.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 11, 2012, 06:21:18 PM
Created thread

http://voxcommando.com/forum/index.php?topic=707.0 (http://voxcommando.com/forum/index.php?topic=707.0)

Not sure if thats what you had in mind, just delete it if im on a different path to what you were thinking  :-\
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 12, 2012, 12:02:15 PM
TV series has more control than I was expecting, didn't think we could play a specific episode.

What addition control do you have in XBMC for tv shows? the MP one seems fairly complete to me. Although requesting an episode by it's name would be awesome rather than it's season and episode number.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 12, 2012, 12:21:35 PM
It's fairly complete but also fairly buggy at the moment.  I think it is related to the same problem of calling window IDs and I think the solution will be found in modifying the MpWifi code.

What can be done with XBMC is somewhat limited by how well you know the inner working of XBMC.  You can get creative with the actions and calls to execbuiltin etc.

One thing we can do with XBMC is create custom smart playlists and inject voice payloads into them, which allows us to bring up a list of just about anything.  It would be nice if we could do something similar in MediaPortal.  It seemed like a hack at first to get around what the XBMC http api was missing but it really works so well that I don't think of it that way anymore.  Because it involves writing to a file from VC and then telling XBMC to read the same file, it can be a bit problematic when VC and XBMC are not running on the same machine.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 12, 2012, 12:45:03 PM


I have noticed though when using command, "play album X" it seems to start play on a random track rather than starting at the 1st track, is this normal, as far as I know I have no shuffle options enabled, when selecting an album to play with remote it starts from track 1.



Is there anyway to change this behaviour in Vox? I'd imagine it's something to do with MP though, there is an option to shuffle playlists but I don't have it selected.

Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 12, 2012, 01:08:24 PM
yes it is very easy to change.

if you edit the command you will see the action MpWifi.RequestMusicBySQL has a parameter is this:

strAlbum like '%{1}%' order by random() limit 100

just change it to :

strAlbum like '{1}' order by iTrack

Thanks for mentioning this. I'm going to make this the standard for request album in the next release too.  And I'll have it go to nowplaying in stead of plalist

I like to have a request for artist or playlist come up as random and show the playlist (as the default) but you can change that too!
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 12, 2012, 01:25:01 PM
yes it is very easy to change.

if you edit the command you will see the action MpWifi.RequestMusicBySQL has a parameter is this:

strAlbum like '%{1}%' order by random() limit 100

just change it to :

strAlbum like '{1}' order by iTrack

Thanks for mentioning this. I'm going to make this the standard for request album in the next release too.  And I'll have it go to nowplaying in stead of plalist

I like to have a request for artist or playlist come up as random and show the playlist (as the default) but you can change that too!

Thanks, will have a look, there is an option in MP to tell it what to jump to after selecting a song or album, would vox mimic this setting if you didnt tell it where to go after selecting music?
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 12, 2012, 02:22:46 PM
probably not, but give it a try and let us know.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 12, 2012, 02:28:13 PM
No it doesnt, i tried it and it plays the album but stays on the current screen
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 12, 2012, 04:08:22 PM
right which is actually a really good thing because it gives us the choice.  You may want to make a macro "entertain us", which queues up a photo slideshow and starts playing random music.  You would not want it to automatically change views.

While you are watching the slideshow, you might want to change the music, and you would not want to switch to another view, you would want to continue with the slideshow, etc. and btw in this scenario you might want to ask "who is this?" etc.  Or I will often listen to music with my TV off completely and this is when the voice commands, and the TTS really shine.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 12, 2012, 07:09:14 PM
if anyone wants to vote on the MpWifi Activate window issue please do so here:

http://code.google.com/p/wifiremote/issues/detail?id=82&thanks=82&ts=1326407647
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 13, 2012, 09:23:33 AM
I think this might fix the activateWindow issues.  But I haven't tested too much yet, so maybe you can help me.  Let me know if it works well for you so I can recommend to the WifiRemote team to implement my changes in the official version.

http://db.tt/fC0YrwU5

unrar and put replace the dll in your MP process folder.  On my system it is found here :

C:\Program Files\Team MediaPortal\MediaPortal\plugins\process
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: powermarcel10 on January 13, 2012, 09:25:41 AM
I think this might fix the activateWindow issues.  But I haven't tested too much yet, so maybe you can help me.  Let me know if it works well for you so I can recommend to the WifiRemote team to implement my changes in the official version.

http://db.tt/fC0YrwU5

unrar and put replace the dll in your MP process folder.  On my system it is found here :

C:\Program Files\Team MediaPortal\MediaPortal\plugins\process

Thanks, will test it soon and report my findings.. :)
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 13, 2012, 10:16:38 AM
It seems to be working perfectly for me now.  Wow, what a difference!
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 13, 2012, 11:44:10 AM
Doesnt seem to have made a difference on my system, It wasnt really all that bad before but it's still the same with this new version with some odd graphical glitches.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 13, 2012, 04:09:50 PM
Yeah, it's weird.  It works well on my 32bit machine but still has problem on the x64 htpc.  Probably has nothing to do with 32 vs 64 though since there are plenty of other differences between the two machines.

try this one.  It works well for simple activateWindow commands, but still has problem with the ones that use load parameters.

http://db.tt/fC0YrwU5

going to the music view should work well...

note: same link as earlier but a new file.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 14, 2012, 10:15:47 AM
with the current version you need to have MP running first.  If you have connection problems, restart VC and it should connect right away.

I'm working on a fix for that. Sorry.

see the first post of this thread for an updated version of the MPWifi plugin for VoxCommando
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 14, 2012, 01:45:43 PM
Nice one, connects no problem now, also the wifi remote dll works better, no more weird behaviour jumping to lyrics
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 14, 2012, 02:22:50 PM
yes.  too bad the other calls don't work properly to open series by name or go to movie details page etc.  I think this is a bug in the MediaPortal 1.2.2.0 itself.  I guess we should see about filing a bug report on that...
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 14, 2012, 05:20:18 PM
I think you are probably better qualified to file the bug report than myself
I wouldn't know what to request  :D . Of course I'll vote if you do.

Tbh tho. I can live with it as it is for the time being, its really not that bad for me.
I've not had an issue like the image you posted on the wifiremote page though
I do use streamedmp and I see mentioned it isn't as bad with that skin.

It's just a bit slow and clunky but all seems to load ok in the end.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 14, 2012, 05:43:55 PM
well, I don't consider it acceptable, and even with StreamedMP it crashes my htpc after a few calls to different commands that require load parameters.  The folks at MpWifi don't seem to be too interested at the moment.  I guess they have other stuff they are working on and I suspect their couch potato app isn't really using these features yet so it doesn't affect them directly.

It's frustrating because we are so close!  I'm not too sure where to file an error report for MediaPortal but I'll take a look and if I do I'll post a link here for sure.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: bodiroga on January 15, 2012, 10:30:12 AM
The folks at MpWifi don't seem to be too interested at the moment.  I guess they have other stuff they are working on and I suspect their couch potato app isn't really using these features yet so it doesn't affect them directly.

James, this is a bit unfair, don't you think so? As I can read in the issue tracker, they are answering to your questions and trying to help you, so I don't understand why you have said this :S Perhaps you can jump to #mp-extended in freenode and talk directly to DieBagger as he was the man who developed the parameter launcher stuff for MediaPortal. I'm sure that you will able to fix the issue quickly, so be a bit more patient please ;)

It's frustrating because we are so close!  I'm not too sure where to file an error report for MediaPortal but I'll take a look and if I do I'll post a link here for sure.

If you still think that this is a MediaPortal's bug, here you can report it (including logs, of course):

http://forum.team-mediaportal.com/bugreports-74/

Nevertheless, many many thanks for all your work and I truly hope that this little bugs get fixed as soon as possible. I can't help you now testing VoxCommando because I have exams at university, but in a couple of weeks I will do my best ;)

Best regards,

Aitor
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 15, 2012, 10:52:13 AM
James, this is a bit unfair, don't you think so? As I can read in the issue tracker, they are answering to your questions and trying to help you, so I don't understand why you have said this :S Perhaps you can jump to #mp-extended in freenode and talk directly to DieBagger as he was the man who developed the parameter launcher stuff for MediaPortal. I'm sure that you will able to fix the issue quickly, so be a bit more patient please ;)


I think you are misreading my tone.  I am not trying to bash the folks over at WifiRemote.  Sorry if I did not chose my words carefully enough.  They don't seem to have tested these commands, and have not proposed any possible solutions.   I am assuming that this is because their app doesn't use it.  I am not saying that they are bad people or anything.  Without their plugin there would be no support for MediaPortal in VoxCommando at all.

I am pretty sure that the bug is in MediaPortal itself, but there might be a way to get around it as I did in the calls that don't require a load parameter.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: bodiroga on January 15, 2012, 11:11:56 AM
I think you are misreading my tone.  I am not trying to bash the folks over at WifiRemote.  Sorry if I did not chose my words carefully enough.  They don't seem to have tested these commands, and have not proposed any possible solutions.   I am assuming that this is because their app doesn't use it.  I am not saying that they are bad people or anything.  Without their plugin there would be no support for MediaPortal in VoxCommando at all.

I am pretty sure that the bug is in MediaPortal itself, but there might be a way to get around it as I did in the calls that don't require a load parameter.

Ok, sorry then for my reply James ;-)

Then I think that you should contact directly to DieBagger as he wrote the patch that was added to MediaPortal for the parameter launcher option. There's nobody that knows better how that part of the code work and I'm sure that that he will help you to solve the problem.

Here is his profile in case you want to send him a private message:

http://forum.team-mediaportal.com/members/56421.html

Or you can join to the channel #mp-extended here:

http://webchat.freenode.net/

That's the dev channel for MP-Extended plugin, you can have a look at it as it also offers great tools to access MP Databases using the WCF protocol. It's an open source project so you can have a look at the code here:

https://github.com/MPExtended/MPExtended

Thanks again for your work and best regards,

Aitor
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 15, 2012, 11:57:54 AM
Also If their app doesnt use the same calls I guess they wouldnt make it a priority with currently only a few MP Vox users, I think Diebagger is currently hard at work with ampdroid which is the main user of wifi remote and that android app has a hell of a lot of buzz around it at the moment so that is understandably their priority i'd imagine.

Ampdroid is very impressive but I dont find it practical for general use as a standard remote. I'm sure XBMC has one similar.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 15, 2012, 12:07:46 PM
I tried to talk to DieBagger about it and he made it very clear that he is not interested.  So I am just going to let this lie for now.  Perhaps in a few months some others will start using ActivateWindow in their plugins and the bug will get fixed.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 16, 2012, 12:42:33 PM
Are you planning any more updates for the MP features of Vox though?
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 16, 2012, 12:48:30 PM
sure.  Is there something in particular that you feel is missing at this point?
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 16, 2012, 01:16:03 PM
Well I was just thinking of the start with windows issue that you already know about really, was just curious about when you said let it lie for few months you were only talking about the activate window bug and not Vox and MP as a whole.

One thing I would like is browse a music artist so when giving command "browse artist streetlight manifesto" it will show the albums I have by that band, I'm guessing it's possible but I can't figure it out.

I know if it can be done it doesnt need an update though.

I cloned the play artist command and tried to edit that, I'm guessing the 1st action 'RequestMusicbySQL' would be the same but I don't know what to put in the next box where it has 'strArtist like %{1}% order etc'
Presumably thats the bit that needs changing or am I on a wrong path altogether?

Cheers

Edit

Just looked at the find movie command and that just has {1} so gave it a try, as I expected it wasn't that simple  ;D
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 16, 2012, 03:09:28 PM
The start with Windows is a VoxCommando bug, not specific to MP and I have what I think is a working fix.  It will be in the next release, as soon as I tie up a few loose ends.

Unfortunately the ActivateWindow bug affects many of the commands that we are using, but it works as well as it works.  If these commands are not causing you problems then great.  I just meant that i"m not going to waste any more of my time trying to fix MpWifi or Mediaportal itself because I obviously don't know enough to do it myself, nor do I have the time to spare.

As far as I know there is no way made available by MpWifi yet to browse an artist, or jump to a particuarl album etc.  You can only add them to the now playing list.  Of course you can then jump to the current playlist and see all the songs by that artist/album etc.  The reason you can jump to a particular movie or a particular season of a tvseries is that those plugins have provided load parameters that allow us to do that.  Unfortunately these loadparameters require us to use activateWindow so on my system anyway that means glitches and crashes.  I don't really care because I don't use MediaPortal, but it prevents me from making a compelling demo video which really sucks after all the work I have put into creating support for this program.  :bigno

When you are editing actions in the command builder there are popups explaining how the action works and what parameters are expected.  You can also click the magic wand icon to browse commands and view explanations.  Here you can see that the RequestMusicbySQL action is expecting an "SQL where clause", whereas MpWifi.MvPcFindMovie is expecting "Name of movie to find" for the parameter.

{1} always gets replace by your payload which will be determined by the way your command is defined in the tree, and what you say when you issue the command.

if you have a command where you say "set volume 50", the 50 is probably a payload either defined as a payload list or a payload range.  In any case when you put {1} in any of your actions it will be replaced by 50.

The only way I know of now to browse to an artist, would be through a long series of commands that emulate what the user would do to get to the artist. But this is not really possible to do at this point in any kind of reliable way and even if it were it would be slow and kind of silly.
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: shango on January 16, 2012, 04:01:08 PM
Thanks for detailed reply, it is a shame but i guess this is still new to MP so with time maybe (hopefully) it will get better.

The start with Windows is a VoxCommando bug, not specific to MP and I have what I think is a working fix.  It will be in the next release, as soon as I tie up a few loose ends.



I forgot we are using a normal updated version of Vox now and not the mediaportal test version  :bonk
Title: Re: released: New MediaPortal Configuration and VoxCommando 0.936
Post by: jitterjames on January 16, 2012, 07:07:23 PM
new version with fix for the "start with windows" bug:
http://voxcommando.com/forum/index.php?topic=704.msg5249#msg5249