News:

VoxCommando supports plugins for a wide variety of programs and devices. Contact us if you want to create your own.

Main Menu

Minimize to Tray?

Started by MiLO83, October 09, 2011, 01:19:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MiLO83

I can't seem to find how to minimize VoxCommando to the Trey instead of the Task Bar in Windows 7?

Also, I have tried to copy the "Play Movie" command and point it to XbmcPayloads\xbmcMusicVideos.xml to request Music Videos, but it doesn't work?
Does anybody have an idea how to voice control music videos in VoxCommando?

Thank you,
    - MiLO83

P.S - I bought the $35 full version a few days ago, and I suggest you do too!

Edited to attach XML (Which doesn't work)

jitterjames

#1
try to double click the tray icon.  That should toggle the app visibility.

import the attached group by dragging the xml file into your command tree.

Thanks for supporting the software!

MiLO83

This works GREAT!
Both Minimizing by double-clicking the trey icon, and also the xml you attached to your post!
Now I am wondering if it would be possible to play all music videos by artist?
I have trouble remembering which songs i have music videos for, but can remember the artists.
So something like "Computer play all music videos by X"?
I would create this command myself but i've only had the program a few days and right now its over my head.  :bonk
Thanks James!
    - MiLO

jitterjames

#3
That's going to be a bit harder to set up.  You will need to use a smartplaylist, and generate a new payloadXML file specifically for artists of musicvideos.

1: Put the attached MTVbyArtist.xsp into the \smarts subfolder of VoxCommando.

2: Create the payloadxml file.

- make sure XBMC is running
- on the VC main menu click: GenXML >> Open Form
- go to the XBMC tab
- check that "Save to Folder" is set to XbmcPayloads (it should already be)
- at the bottom where is says cutsom scans paste the following
filename: mtvArtists.xml
SQL: queryvideodatabase(select distinct idartist,c10 from musicvideo join artistlinkmusicvideo ON musicvideo.idmvideo=artistlinkmusicvideo.idmvideo)

then click "Generate Custom"
then click "Save Settings" so you won't have to re-enter the information next time.

3: import the attached group.  (note the original music video command is in here so get rid of the old one)

save - restart
phew.  

*** note that my macro starts playing the playlist by sending an "enter" keypress.  If you have parent items enabled in XBMC that won't work because it'll end up selecting the ".." and going up a level.  You need to either disable parent items in XBMC or add an action to the macro to get it to go to the first item before selecting.

MiLO83

I get found : 0.

Thanks for all your help. I am a rather advanced computer user so hopefully I will learn how to do this sort of stuff on my own quickly.  ;D
Oh and I tried both "SQL: queryvideodatabase(select distinct idartist,c10 from musicvideo join artistlinkmusicvideo ON musicvideo.idmvideo=artistlinkmusicvideo.idmvideo)"
AND "queryvideodatabase(select distinct idartist,c10 from musicvideo join artistlinkmusicvideo ON musicvideo.idmvideo=artistlinkmusicvideo.idmvideo)" the rather I got "Can't Connect"

  - MiLO

Wanilton

#5
Well, in the GENXML, in field SQL, use only this:

queryvideodatabase(select distinct idartist,c10 from musicvideo join artistlinkmusicvideo ON musicvideo.idmvideo=artistlinkmusicvideo.idmvideo)

To generate the XML file, XBMC should be active, running...

In XBMC, check in Settings ->Option NETWORK ->
Allow Control XBMC via HTTP - SET ON
Set port : 8080

Username and password, equal in XBMC and voxcommando, for work, or set blank for 2 fields.

save, and try again







www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

queryvideodatabase(select distinct idartist,c10 from musicvideo join artistlinkmusicvideo ON musicvideo.idmvideo=artistlinkmusicvideo.idmvideo)

that should work.  I've tested on Dharma and Eden.  Note that you need to have music videos scanned into your xbmc library properly.

I don't know how many music video artists you have but you could always create your own payloadList or payloadXML files and enter them manually.

@W: MiLO83 doesn't need to adjust his network settings.  As you can his in the screen capture his normal scans are all working fine.

MiLO83

#7


I'm getting Can't Connect?

I am using the October 6th Nightly Build of XBMC.
I will try the most recent nightly build and see if that works better.

Thanks for your time!
   - MiLO

EDIT: Right-Click the image and click "View Image" in Firefox to view full resolution :D
EDIT 2: I updated to last nights nightly build and have the same "can't connect" problem.

jitterjames

the" can't connect" message is wrong. Sorry, my bad.  You are obviously connecting.  Some other error is being generated and I lazily assumed it would be a connection error.

Please open VC, open the GenXML form, try to run the custom query.

then close VC and send me the voxcommando.log

if you can also please send me your xbmc video database.

on my system it is located here:
C:\Users\james\AppData\Roaming\XBMC\userdata\Database\MyVideos56.db

replace james with your windows username
your filename number may not be 56.  I have a few different ones actually.  Please send me the most recently modified one if you have more than one called MyVideosXX.db

you can pm the file to me or email it if you want.

MiLO83

#9
Here are the Files you requested  ;D

edit by james: I deleted your attachment after downloading.

jitterjames

I think the problem is that you have 2 artists with different cases but they are showing up with the same ID.

idArtist   c10
3688   Rage Against The Machine
3688   Rage Against the Machine

I will fix the next version of VC to skip the duplicate rather than fail, but in the mean time you can probably correct the error by editing those, or removing one.

MiLO83

Yup this was the problem!
As soon as I fixed the "the"'s to be all the same, everything went smooth as butter!

While we're on a roll, and I hope my suggestions are good ones,
Would it be possible to add an option to always start VoxCommando in "Prefix/Standby" mode?
It's the first thing I do every time I start VC, because sometimes I already have a movie/music playing.
THANKS SOOO MUCH!
    - MiLO

jitterjames

sure.  There are already two ways to do this.

Easy way:  start VoxCommando with the command line parameter like this:

VoxCommando.exe -standby

in the case of a shortcut you can edit the "target" field to look something like this

"D:\VoxTest\VoxCommando.exe" -standby

The other more fun way is to use the VC.Loaded event to trigger a command with actions that set up things like this, and maybe give you a welcome message.

http://www.youtube.com/watch?v=AA4Lm6ZiEgM