Author Topic: Call song by title and artist  (Read 6560 times)

0 Members and 3 Guests are viewing this topic.

rablack97

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Call song by title and artist
« 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.


Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Call song by title and artist
« Reply #1 on: February 26, 2012, 10:02:08 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

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Call song by title and artist
« Reply #2 on: February 26, 2012, 10:24:16 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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #3 on: February 26, 2012, 11:06:21 PM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #4 on: February 26, 2012, 11:45:19 PM »
NVM, i removed the album part from the command, it loads now and it works

woohoo :yay :clap :yay

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Call song by title and artist
« Reply #5 on: February 27, 2012, 10:13:26 AM »
If you read the post that Kalle linked to you will notice that I say this:

Quote
I 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.
« Last Edit: August 07, 2014, 09:22:51 AM by jitterjames »

rablack97

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #6 on: February 27, 2012, 03:58:40 PM »
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.

 
« Last Edit: February 27, 2012, 04:17:22 PM by rablack97 »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Call song by title and artist
« Reply #7 on: February 27, 2012, 06:47:32 PM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #8 on: February 27, 2012, 07:07:30 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Call song by title and artist
« Reply #9 on: February 27, 2012, 09:19:03 PM »
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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #10 on: February 27, 2012, 09:41:53 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Call song by title and artist
« Reply #11 on: February 27, 2012, 10:11:59 PM »
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.
« Last Edit: February 27, 2012, 10:14:11 PM by jitterjames »

rablack97

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #12 on: February 27, 2012, 10:22:52 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Call song by title and artist
« Reply #13 on: February 27, 2012, 10:35:51 PM »
LOL... It's empty because you purged it.

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

rablack97

  • $upporter
  • Sr. Member
  • *****
  • Posts: 100
  • Karma: 0
    • View Profile
Re: Call song by title and artist
« Reply #14 on: February 27, 2012, 10:58:27 PM »
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