VoxCommando
Help and Support (Using VoxCommando) => Other Plugins => Topic started by: rablack97 on February 20, 2012, 03:39:35 PM
-
Ok cool, nice work.
I have Jriver 16 so i will test tonight and reply back with feedback.
Hopefully the plugin is universally compatible with 16 & 17.
Thanks once again for doing this....
-
ok commands work,
having issues generating the xml, it's not picking up the data i have in my library
also on the plugin, it says connection is a success, but in the status bar it says connection false
-
don't worry about the status bar. It is a left over and should not even be there.
-
ok you moved the topic, i was wondering where my post disappeared off too.
i've tried everything xml refuses to generate, did you get that part to work in your testing?
-
Yes it works perfectly on my system. Since the plugin is very new I have not implemented much in the way of error handling.
I'm not sure what time zone you are in, but it's past my bed time. I will try to suggest something tomorrow. If you could possibly tell me what steps you are taking and what is actually happening as a result that would help. So far you are just telling me "it does not work" which doesn't really give me a lot to work with.
-
Gotcha, i had a cousin that played for the eskimoes never knew when he was up or asleep.
I'm on Central U.S. time.
Anywho, i have jriver running and have enabled DLNA per your instructions.
I go to GENXML and JRiver Gen and get the attachment.
So i cant call up songs by artist, album etc.
-
OK, now we are getting somewhere. So all the other commands, set volume, playpause, stop, next track, etc. work for you?
please browse to this address when JRiver is running:
http://localhost:52199/MCWS/v1/Library/Values?Field=Name
Enter a username and password if necessary. You should get a list of songs in xml format. Save it and send me the xml. If you have difficulties with this please tell me what browser you are using and I'll give you more details.
-
If you can get to me early enough I'd like to use TeamViewer to come take a look. I'm only an hour ahead of you but by 9 o'clock my time (8 central) I'm pretty much toast.
-
It doesn't return anything.
Here are a few things i've found:
- Previous command only restarts the song it doesn't go to the previous song, it takes a double click of the save and execute button in the command builder to work.
- The default setting for the TTS voice in the options screen seems to be off. I have to select Cepstal Diane to get my Cepstral Lawrence voice. This bug appeared in the new release.
-
It doesn't return anything.
Well that explains it. It should.
-
Previous command only restarts the song it doesn't go to the previous song, it takes a double click of the save and execute button in the command builder to work.
That's how JRiver works. Just put the repeat on two if that's what you want.
-
:biglaugh Im not that much of a noob.
I could of told you that, I can get Jriver to create an xml, but i dont know how your pulling the data into yours.
Are you playing your music from the main library or setting up a DLNA Library.
I have the music on the local PC and just dragging and dropping.
Forgot to answer your earlier question, yes all the other commands work....woohooo
-
:biglaugh Im not that much of a noob.
I could of told you that, I can get Jriver to create an xml, but i dont know how your pulling the data into yours.
Are you playing your music from the main library or setting up a DLNA Library.
I have the music on the local PC and just dragging and dropping.
Forgot to answer your earlier question, yes all the other commands work....woohooo
I'm not following you. If you are at home maybe I can take a look using TeamViewer.
-
Yes I'm home..
ok fixed the previous....
What do i need to do for the team viewer
-
I sent you a private message
-
dude,
i f'd up my previus command trying to add other grops. do you remember what you did to fix that...
-
previous
vc.pause 100
previous
-
thanks...
Appreciate the research on jriv.....Im gonna give them a few days to see if they patch, i get the discount for the upgrade.
I used mc17 to create the xmls ans mc16 worked just fine after that just as you said.
I'm trying to pull in all my other commands into one vox, probably doing it the hard way.
Thanks again.
-
well even if you do it the wrong way, you'll learn something along the way I'm sure. The biggest challenge when you start mixing configurations is that you want to avoid overlapping commands. that's when you need to start turning groups on and off. The focus events can be useful for this.
All the info you need for that should be in this video:
-
Dudes at JRiver aren't going to patch their MC16.
so I made some changes / additions to the plugin
Give it a shot. In the plugin settings, set it to "version 16", save options, then try to generate XML.
-
wow man, thanks for not giving up on this.
I was just gonna cough it up as loss and keep moving.
I will try this when i get home from work. Thanks so much....
Also, how can you stop the probram from rebuilding, i created a command to play a song by artiist.
ie. (Play Beat it by michael jackson)
When i restarted its just sat in the rebuliding mode for a long time, i was tired so i just let it sit overnight. Hoping it was due to my extensive library. Will let you know more this evening.
-
I would just kill the process from task manager. You probably did something wrong if it is taking that long. If it is trying to rebuild every time you start VC then you may need to either edit the voicecommands.xml by hand or use a fresh version of VC and open it in the bin to remove the offending commands.
-
I dont know what i did to make is hang like that, i think i setup the payloads and didnt go in and setup the logic.
I just did a fresh install and set everything back up.
Your patch works great. Everything is running super smooth now.
For some reason I cant get the OSD to not show when i request a song by title for Jriver.
-
For some reason I cant get the OSD to not show when i request a song by title for Jriver.
did you look in Options?
-
Yes, it only shows up when calling a specific song.
-
just remove the OSD.Showtext action from the command. Sorry, you were talking about building your own command before so I thought you were already familiar enough with the program to do this.
-
Negative....
Yes I said i was trying to build my own commands and I totally f'd up the program.
I'm not saavy on where to look to fix anything yet command builder wise, still green behind the ears.
That fixed it......Working with this ipad as a mic through skype thing now.
So i can be mobile, i've watched your tut on it, just dont want to lug a laptop around or buy an amulet remote.
It's getting there.
-
If you are not satisfied with the skype hack, I'd go with Mobiola Headset instead. You need to be on the LAN though.
-
I split this thread and moved the mobiola stuff to the microphones section:
http://voxcommando.com/forum/index.php?topic=759.0
-
Is there a way to have JRiver go to the Theater Now Playing view when a song is requested.
Right now it just finds the song and stays on the the standard view.
Or better yet maybe a command can be created to go directly to that view.....i.e (XBMC - previous view mode or full screen)
-
JRiver doesn't seem to offer any commands for navigation, but you can send a key combo. In the case of theatre view the combo is ctrl-4 by default. I don't know if JRiver lets you create / modify keycombos for different things or not.
To send a key combo you can use sendkeys, inputkey, dxInput plugin or you can send keys using the JRiver raw command like this:
JRiver.Raw Control/Key?Key=Ctrl;4&Focus=1
-
Whats the format for sending a function key (F4)
-
Whats the format for sending a function key (F4)
for send- or inputkey command: {F4}
for DxInput command: f4
-
and for JRiver your guess is as good as mine. I would start by trying F4 :biglaugh
-
Ha ha, i'm beginning to see the mad scientists crude sense of humor. :biglaugh
I got it to work with the send key {F4}.
Thank you Kalle....
I asked cause you mentioned the JRiver.Raw command, that of which there is no Key to reference for function keys. I tried all the other combinations from send key etc and they didtn work, so i figured you had your own format for the JRiver.Raw syntax....
Anywho, its coming along nicely. I've implemented a few search commands, and a Now playing view mode.
The commands are crude but darnit they work....So cut the newbie some slack man :)
-
I had to laugh because the answer was so obvious. F4 was the correct answer... I'm just not sure why you didn't try it first.
I had just given you the action code for Ctrl-4 in the previous post.
JRiver.Raw Control/Key?Key=Ctrl;4&Focus=1
so the first thing to try if you want to do F4 is
JRiver.Raw Control/Key?Key=F4&Focus=1
no?
-
by the way, there is a lot more that you can do with the Raw command
You should have access to all of these commands:
http://wiki.jriver.com/index.php/Media_Center_windows_messages
Using the JRiver.Raw action with parameters like this:
JRiver.Raw (a param as show below)
Control/MCC?Command=10000 (play)
Control/MCC?Command=22002 (party mode)
Control/MCC?Command=10048&Parameter=5000 (seek to 5 seconds)
Control/MCC?Command=22013 (show tophits)
Control/MCC?Command=22014 (show recently played)
Control/MCC?Command=22008¶meter=3 (set list style to details)
Control/MCC?Command=22008¶meter=-1 (toggle list style)
and so on. Oh and don't include the part at the end in brackets, that is just a description I added!
-
by the way, there is a lot more that you can do with the Raw command
You should have access to all of these commands:
http://wiki.jriver.com/index.php/Media_Center_windows_messages
Using the JRiver.Raw action with parameters like this:
JRiver.Raw (a param as show below)
Control/MCC?Command=10000 (play)
Control/MCC?Command=22002 (party mode)
Control/MCC?Command=10048&Parameter=5000 (seek to 5 seconds)
Control/MCC?Command=22013 (show tophits)
Control/MCC?Command=22014 (show recently played)
Control/MCC?Command=22008¶meter=3 (set list style to details)
Control/MCC?Command=22008¶meter=-1 (toggle list style)
and so on. Oh and don't include the part at the end in brackets, that is just a description I added!
Haha, is there a command there add 1 million dollar to my paypal account ::wiggle
-
Control/MCC?Command=1,000,000¶meter=KalleIsAGoof
-
Control/MCC?Command=1,000,000¶meter=KalleIsAGoof
:biglaugh ::club
-
Hey, Kalle, wie sagt man "Goof" auf Deutsch?
-
Hey, Kalle, wie sagt man "Goof" auf Deutsch?
Hi Naomi, we said "albern" or "witzig" for goof. ;)
Kalle
PS: 3 months left :yay
-
We have our own countdown which is currently at 8 days. :)
Hurray for march break!
Is this off-topic enough for you?
-
We have our own countdown which is currently at 8 days. :)
Hurray for march break!
Is this off-topic enough for you?
Haha, you are the webmaster, you can push it in another thread :biglaugh
-
I had to laugh because the answer was so obvious. F4 was the correct answer... I'm just not sure why you didn't try it first.
I had just given you the action code for Ctrl-4 in the previous post.
JRiver.Raw Control/Key?Key=Ctrl;4&Focus=1
so the first thing to try if you want to do F4 is
JRiver.Raw Control/Key?Key=F4&Focus=1
no?
Well actually I needed CTRL+F4, so placing F4, (F4), {F4} in place of the 4 you gave me in the prior code did not work. Also the Focus=1 command kept causing Jriver to crash, i removed from future commands and it working pretty good. Give me some credit man. ;)
I will look in the wiki as advised. Thanks again for all of yalls help. Even though i'm the comedy of the evening.... :)
-
Is there a way to add the "what artist/song/album is this" command.
Can't seem to find anything similar to the getcurrentlyplaying command you used for XBMC
Man, that wiki for jriver helped me out a bunch.
-
Can someone help me with a drag feature for the showroom view under the theater view.
I played with a few of the mouse functions.
This works ok, but it doesnt work consistently.
The trick is the mouse button has to be held down and a slower motion need to be made with the mouse to the left or to the right.
What i have seems to be doing the motion to fast for Jriver to pick it up.
Any suggestions.
-
There is no way to do a slow absolute move, but I'm surprised that the speed should make any difference.
To do a slow move would require you to move relative many times. I don't know if it would work any better. Why are you actually trying to accomplish?
Why are you moving twice before releasing the mouse button?
-
In the showroom view, you can actually brwose through the albums with a flicking motion instead of scroll.
Holding the left mouse button down and quickly dragging the mouse left or right and releasing, flicks the albums left or right.
I'm trying to simulate a quick flick
mouse button down
then set initial pointer position far right of the screen
then set pointed to far left of the screen
button up
back to starting position
Beleive it or not this simulates a sweeping motion and it works but just not consistently.
Why? The same reason you built this bad ass program, CAUSE IT'S FREAKIN COOL.
Is there a way to add the "what artist/song/album is this" command.
Can't seem to find anything similar to the getcurrentlyplaying command you used for XBMC
Man, that wiki for jriver helped me out a bunch.
-
In the showroom view, you can actually brwose through the albums with a flicking motion instead of scroll.
Holding the left mouse button down and quickly dragging the mouse left or right and releasing, flicks the albums left or right.
I'm trying to simulate a quick flick
mouse button down
then set initial pointer position far right of the screen
then set pointed to far left of the screen
button up
back to starting position
Beleive it or not this simulates a sweeping motion and it works but just not consistently.
Why? The same reason you built this bad ass program, CAUSE IT'S FREAKIN COOL.
Hi rablack97, you can test it with this mouse commands xml. Modified the scroll-left/right command with an click and hold. http://voxcommando.com/forum/index.php?topic=376.msg4007#msg4007 (http://voxcommando.com/forum/index.php?topic=376.msg4007#msg4007)
Kalle
-
I think maybe you should
A) check if there is a keyboard equivalent that does the exact same thing.
or if not possible...
B) Modify your command actions to do something like the following:
- position your mouse first. (center of screen or whatever is required)
- put the left button down
- move relative either left or right, possibly more than once if it helps (use can set repeat on the far right of an action).
- lift the mouse button
- possibly continue moving the mouse in the same direction using move relative (only if necessary to fool JRiver)
-
What about this?
Is there a way to add the "what artist/song/album is this" command.
Can't seem to find anything similar to the getcurrentlyplaying command you used for XBMC
Man, that wiki for jriver helped me out a bunch.
-
OK. See the attached. The Raw command gives you access to anything in the JRiver web api. It helps if you can work with regular expressions to extract what you want.
-
In the showroom view, you can actually brwose through the albums with a flicking motion instead of scroll.
Holding the left mouse button down and quickly dragging the mouse left or right and releasing, flicks the albums left or right.
I'm trying to simulate a quick flick
mouse button down
then set initial pointer position far right of the screen
then set pointed to far left of the screen
button up
back to starting position
Beleive it or not this simulates a sweeping motion and it works but just not consistently.
Why? The same reason you built this bad ass program, CAUSE IT'S FREAKIN COOL.
I just tested this in showroom view and using multiple arrow keys does the exact same thing, but reliably and smoothly. No need for the mouse.
"go right 10" works fine.
-
:bonk Dude I hate you ::duh
-
that makes two of us :biglaugh
-
Ok, might as well ask you this too, so i dont waste my time writing commands that you just blow out of the water with simplicity.
XBMC and Jriver have similar commands, so on launching Jriver i added the vc.disablegroup command with "XBMC" as the parameter.
Problem is everytime is restart vox the disable command becomes null and void. So i was wondering if theres a way to use the Focus command to disable XBMC commands whenever VOX recognizes/focuses on Jriver.
Also, have you been able to locate a softmute/softunmute command for Jriver?
-
You can use events to turn groups on and off
If you want, you can set a group to be off by default (when VC starts)
- right click the group then enable / disable the group
You can also assign a group to a particular process in the group properties (instead of using events)
- right click the group and choose properties.
- where it says "Active only for process:" enter XBMC if you want the command to be active only when XBMC has focus
- if you want a group to be active only when XBMC does not have focus then enter !XBMC
the process name will be whatever shows up in Task manager (Ctrl-Shift-Esc) when the program is running.
-
cool thanks
-
this error started popping up when i tried to gen xml for Jriver.
-
this error started popping up when i tried to gen xml for Jriver.
I'm not sure, but you can search in you media files a file with this invalid character in name and change it.
I hope it helps.
Kalle
-
what Kalle said...
did this error start after you added new music? Did you make any other change? The error message seems pretty clear that it does not like that you are using a non-text character. You should probably try to find the offending song and fix the tag. Note that the JRiver 16 method involves searching all the data so the bad character could be in a field you don't normally use like "comments"
you can also try to look in "jrivertemp.xml" which is in the VC folder.
-
Hello,
Can you give some insight as to why the correct song doesnt play even though TTS says the correct name.
Vox also displays the correct name in the builder. Odd songs are coming up with no similar words in the title.
I've taken the time to clean up the tags and the xml looks good too. Any idea?
-
I actually have no idea what you are talking about. Maybe you can provide a little more detail on the situation.
-
if you are still unable to genXML that would probably explain it. I don't have time now to look but it is probably using ID numbers and not song names, which would explain the discrepancy between the TTS and what is actually being played.
-
genxml is working fine, just some of the songs are being recalled properly.
If they are being pulled in by id, is there a way to pull in by title
-
sorry. I just checked and they are being requested by name, not by id.
I can't imagine why you'd be getting the wrong songs. Did you make some changes?
maybe you should zip up your whole VC folder and send it to me. Remove the "jrivertemp.xml" if it is giant.
-
Not sure if this matters, but in the artist and album xml's the id is blank and those call up perfectly.
The songs xml has both id and the name, some songs call up as expected. Some are just totally wrong.
For example song "The sign" by Ace of Base, is connected to "Coming Home" by Cold Play.
Even the the Alternates OSD show "The Sign" 5 different times, yet all play the Cold Play song.
Doesnt matter how I say it or try to call it, it plays the same song.
I will zip it up and send you tonight,
I can't recall any major changes other than i've been cleaning up my tags, which were terrible. I might have to erase the library and reimport if you dont find anything.
It's coming along slowly but surely, my command library for jriver is growing, just working out some of the bugs i'm getting before i post to the forum.
Thanks for your help
-
Not sure if this matters, but in the artist and album xml's the id is blank and those call up perfectly.
The songs xml has both id and the name, some songs call up as expected. Some are just totally wrong.
For example song "The sign" by Ace of Base, is connected to "Coming Home" by Cold Play.
Even the the Alternates OSD show "The Sign" 5 different times, yet all play the Cold Play song.
Doesnt matter how I say it or try to call it, it plays the same song.
I will zip it up and send you tonight,
I can't recall any major changes other than i've been cleaning up my tags, which were terrible. I might have to erase the library and reimport if you dont find anything.
It's coming along slowly but surely, my command library for jriver is growing, just working out some of the bugs i'm getting before i post to the forum.
Thanks for your help
I'm not sure, but you can uncheck the "submatch" in the song-xml for this to songs and tested again.
Is there the same results when you call it with "play artist" - "Ace of Base" like it shows Coldplay?
-
I'm not sure, but you can uncheck the "submatch" in the song-xml for this to songs and tested again.
Is there the same results when you call it with "play artist" - "Ace of Base" like it shows Coldplay?
No, call by artist and call by genre work perfectly, and neither of these have the id listed in the xml.
"Play Artist Ace of Base" calls up songs by Ace of Base
The Play by song is the issue, all of my songs aren't connected to the title properly.
-
it does not matter if the id is listed in the xml, the payloadXML in the tree is defined to use "Phrase Only" so it will ignore the ID which is in the "value" column.
-
i gotcha, so why did the ids even generate for the songs, they dont show for the artist or genre?
-
because, like a mountain, they are there.
JRiver doesn't appear to have IDs for Artist or Genre, or they weren't readily accessible they way I was getting data from JRiver, but for the songs the Ids were available. There was no harm in including them, and who knows, they could come in handy some day.
-
ok cool, i'm about to batch up my vox folder, will see what you find tomorrow.
-
also can you take a peek at the genxml command it doesnt seem to work.
It works when you click the jriver genxml on the builder but the JRiver.Generate.All command does nothing.
Im working on a command to switch libraries and will need vox to generate the xml upon the switch....
-
I tried to send you my folder it's only 5 mb in size and it kicked back as not received.
-
you should be able to email it to me, but rename the .zip to .jpg or gmail will detect the .exe and reject it.
if you are using rar or something other than .zip please let me know what I should restore the file extension to.
either that or use dropbox or yousendit or some such thing. thanks.
-
dropbox is free:
http://db.tt/0Hvw4J1
-
I can't be certain but I imagine the problem is caused by the mouse actions that you have added to your play command. They are probably clicking on another song, after it calls up the correct one. ::club
-
If that's the case, it wouldn't call up a correct song at all.
I did some testing last night with 2 different libraries, 1 library calls with less songs calls up the songs perfectly using the same command above.
It seems like the larger the library gets the worse the issue becomes, and it looks to be Jriver specific issue, cause XBMC works perfectly after i cleaned up the tags.
Also, if i'm calling up a song by Ace of Base "the sign, Coldplay "coming home" shouldn't even be an option to be clicked on.
Jriver is a mouse heavy program, the extra clicks are needed to give certain areas in the screen focus. So when I call a song it goes into the Playing Now view, from there you can switch to different visuals effect by saying "Next View".....Oddly enough when you leave from a screen and return the focus could be on the volume, the rating or the song position. So the next view command, would lower the volume, or rewind the song.
I'll remove the mouse commands but i guarantee that cold play song will still end up showing up.....It's tied wrong somehow, even when i ask what song is this, it says "The Sign" even though the Coldplay song is up.
I got the GenXML to work, so now i can switch between libraries, and have vox re-gen the xml behind the scenes. I found out the command in the builder doesn't give you the onscreen display like when you click on GENJRIVER, it just quietly does it in the back ground.
-
If that's the case, it wouldn't call up a correct song at all.
Sure it would. It all depends on what is on the screen where the mouse is clicking. It will depend on what has the focus and what view mode you are in etc. etc. etc. When I first tested it, it kept clicking the test button which put me into an endless loop. It's not the best approach in my opinion.
OK. So maybe your installation of JRiver is messed up. Not very surprising from what I've seen so far. I don't have this issue personally. If it is reporting the wrong song as well that's a pretty clear sign that there is something wrong, but as far as I can tell it has nothing at all to do with VoxCommando.
Just having J.River installed seems to slow my system down, even when it is not running. I think I will just have to call it and say there will be no more support for this program. If you can get it to work for you great. Otherwise, sorry.
-
Ok thanks, had no idea it was causing you issues to work on it.
I'm not as code saavy as you are so the methods probably look primitive to you, I was just trying to get an idea of how it all works.
As it looks like i'm the only person interested in using your program with Jriver, i'll just tinker with it here and there and what works works and what doesn't work, oh well.
Appreciate the time you did spend on it .....Have a good one...