News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Call song by title and artist

Started by rablack97, February 26, 2012, 09:38:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rablack97

Hello,

Is there a feature to call a song my title and artist.

For instance - "Play song Power by Kane West"

I'm asking as i have multiple songs with the same name buy performed by different artists.  This would be helpful if you are commanding vox with no computer screen to select the correct song.

I tried to create my own command an I blew up the program, so any help would be cool.


Kalle

Quote from: rablack97 on February 26, 2012, 09:38:58 PM
Hello,

Is there a feature to call a song my title and artist.

For instance - "Play song Power by Kane West"

I'm asking as i have multiple songs with the same name buy performed by different artists.  This would be helpful if you are commanding vox with no computer screen to select the correct song.

I tried to create my own command an I blew up the program, so any help would be cool.


I'm surprised, I think this command has VC integrated into the standard installation for xbmc. "play song by artist"
***********  get excited and make things  **********

Kalle

Quote from: rablack97 on February 26, 2012, 09:38:58 PM
Hello,

Is there a feature to call a song my title and artist.

For instance - "Play song Power by Kane West"

I'm asking as i have multiple songs with the same name buy performed by different artists.  This would be helpful if you are commanding vox with no computer screen to select the correct song.

I tried to create my own command an I blew up the program, so any help would be cool.


If you do not found the command, you can use this one http://voxcommando.com/forum/index.php?topic=488.msg3621#msg3621   ;)

Kalle
***********  get excited and make things  **********

rablack97

i used the command in the link and its been sitting in rebuilding mode for about 5 mins now.

James mentioned if it sits in this mode for that long something is wrong.

Ugh, this is what happened when tried to create my own command and i have to re-install vox...

Crap crap crap i just got it up and running....

rablack97

NVM, i removed the album part from the command, it loads now and it works

woohoo :yay :clap :yay

jitterjames

#5
If you read the post that Kalle linked to you will notice that I say this:

QuoteI recommend you use only one of the 3 possible song commands:
"play song", "play song by artist", or "play song from album" since these use big grammars.  Otherwise your load times and memory use will go up."

It is important to understand that if you use these commands and you have many thousands of songs in your library.  VC must create hundreds of thousands of possible phrases to trigger them because we use sub phrases.

If you decide that you want to keep both the "play song X" command and the "play song X by artist Y" command then at least put them into different groups.  You will notice in the default configurations that I put "play song" in a group by itself.  This improves reliability and efficiency and reduces load time.

But I recommend you get rid of the regular "play song X" command.  Note that with the "play song X by artist Y" command you can use a wildcard like "anyone" (see attached image of the payload settings).  So you can say "Play the WatchTower by Anyone" and it will play the song "All Along the Watchtower" by bob dylan, and/or any other versions by other artists.

rablack97

#6
I read and understood, and i figured it would cause a bit of a lag in load times.

Kalle pointed me to 2 types of XML one for artist and one for title by album.  As you stated i have 22,000 songs for it to go through.

I wasn't worried about calling a song title by album, so i removed that command totally.

Once i did that it loads normally and works, i can now call by song and by song by artist.

if i leave the by album by artist command then it sits forever.  So not sure what i did but it works like i want it too with no noticeable delay in load times.


jitterjames

Once it has been cached it should reload pretty quickly, but every time you update your library and do a GenXML it will need to process it again.  Each group gets built in its own thread so if you put large commands like play song in separate groups it will rebuild much faster.

rablack97

ok so what do you mean by groups?

play by X is in one folder

play by X by Y is in another folder

they are both as you say in the same tree.....

jitterjames

by groups I mean groups.  What you call folders, are, I think, groups.  The icons in the tree are indeed images of file folders.  So it sounds like you don't need to change anything.

rablack97

ok cool what the average time it should take to rebuild an extensive library?

it there a time i should assume that its locked up?


jitterjames

#11
it's a function of the size of your library and the commands you choose to use in your tree.  Obviously it also depends on the speed of your computer.  You've seen it rebuild on your system so you know how long it takes, right?  If one of your CPU cores is maxed out then it's probably still trying to build.

On my system if I purge the cache and rebuild everything it takes about 15 seconds.

rablack97

Every time i try to purge cache it says its empty.

Mine just finished, freakin half hour later...

I just did a restart and i'm sitting on about 5 mins so far just to reboot it.

I'm not running a quad core or anything, just an i5 2320 and 6 gb of memory.  Your's must be souped up to rebuild in 15 secs.

jitterjames

LOL... It's empty because you purged it.

That i5 is a quad core, and probably faster than my AMD.

rablack97

well i guess i have no idea what i'm talking about :bonk....all i know is that its taking massive mins, not secs to rebuild.....

oh well just have to deal with it