Author Topic: Play Track/Song  (Read 3029 times)

0 Members and 1 Guest are viewing this topic.

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Play Track/Song
« on: January 05, 2014, 01:46:06 PM »
I'm on Frodo 12.3. I'm finding most of the XBMC commands working flawlessly:

Play Artist Rush
Pllay Album Power Windows

No problems but when I attempt to play a song either by:

Play Track Countdown
Play Song Countdown

VC is showing:

Play ???
Play Some...
or play some hits from

I'm attempting to speak as distinctly as possible.

I checked that xbmcSongs.xml exists in my XbmcPayloads directory, and it does.


Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Play Track/Song
« Reply #1 on: January 05, 2014, 01:59:59 PM »
Hi marcoh, there are many of possibilities why VC does not recognize the phrase.

What you can do first: Edit the phrase and use "Play the Song" instead of "Play Song" - Are you sure you do not use the phrase "Play Song" also in a other command (as example for MediaMonkey). Disable all other groups temporary to test this.
After editing the commands reboot VC.

I had never a problem with phrases like "Play Song" - "Play Track" or "Play some hits from" and I'm sure my accent is horrible  ::)
« Last Edit: January 05, 2014, 02:05:40 PM by Kalle »
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Play Track/Song
« Reply #2 on: January 05, 2014, 02:09:57 PM »
How many songs do you have?

You checked is xbmcSongs.xml exists but did you actually look at the size and contents of the file?

I assume that you tried this command with a number of different song titles?

Maybe it would be a good idea to upload your vc log file.

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Play Track/Song
« Reply #3 on: January 05, 2014, 02:24:17 PM »
I did as you suggested with changing the phrase "play" to "play the" and immediately noticed that my songs were reloaded, (regenerated?) which I did not see happen previously when I set up XBMC

I was then able to play songs.  I next changed the phrase back to "play" and both "play song" and "play track" worked
I have nearly 30k tracks so I don't know if that anything to do with it

Anyway.. the voice command over XBMC is just incredible. Having such a vast library it is so much quicker to simply say "play song thunderstruck" or "play album clutching at straws" instead of slogging through the GUI ...   very very very cool! :)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Play Track/Song
« Reply #4 on: January 05, 2014, 02:38:26 PM »
glad to hear that it is working.

at 30K songs it begins to be a challenge to load.  You probably noticed that it can take some time to update.  You can modify the way songs xml is generated if you want to only include songs with 2 or more stars, etc. if you want.

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Play Track/Song
« Reply #5 on: January 05, 2014, 03:39:32 PM »
I've never rated any of my songs, I suppose I should

The reload is pretty long but that's ok - my music library is pretty static now but I gather each time VC loads it needs to load everything again?
I suppose I can just schedule a task for the early morning hours to regenerate the XBMC payloads and be done with it

Can't say enough about how utterly cool it is to be able to pick up my amulet and say "play song who made who" or whatever though some of the pronunciations are funny: "playing who made who by a c slash d c"

Kudos on a great app

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Play Track/Song
« Reply #6 on: January 05, 2014, 04:31:16 PM »
You don't have to use rating.  You could use the number of times played.  If you have never even listened to a song once, then it is (possible) reasonable to assume that you won't be asking for it by name...

To use this, edit the xSql settings for the songs.xml so that the query looks like this:

Code: [Select]
select idSong,strTitle from song where iTimesPlayed>0