Author Topic: Toggle Repeat and Change Skin Views  (Read 3922 times)

0 Members and 1 Guest are viewing this topic.

boutzo

  • Jr. Member
  • **
  • Posts: 24
  • Karma: 0
    • View Profile
Toggle Repeat and Change Skin Views
« on: February 14, 2013, 03:23:14 PM »
Sort of new to Vox I'm using XBMC Eden

Two Questions:

Is it possible to toggle the repeat song button (one,All) or is it skin dependent right now I'm using PM3.HD My guess it has something to do with manipulating playlists
but just not sure what to do.
Also is it possible to change views from cover flow to thumbs etc..

I have seen a video with someone changing views but after awhile researching I just can't figure out how.

Any help is appreciated.

Boutzo

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #1 on: February 14, 2013, 10:12:26 PM »
Hi Boutzo.

You can do repeat using xbmc builtin functions.  In eden here is the command for "repeat all"

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="312" name="repeat all" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XBMC.ExecBuiltin</cmdType>
    <cmdString>PlayerControl(RepeatAll)</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>repeat all</phrase>
</command>

In the action you can do other kind of repeats by replacing RepeatAll with one of the following:

Random, RandomOn, RandomOff, Repeat, RepeatOne, RepeatAll, RepeatOff, etc.

here is a list of all builtin functions: http://wiki.xbmc.org/index.php?title=List_of_built-in_functions

switching views is a bit more complicated because it depends on the skin you are using.  Each skin may use different IDs for the views.  This is also done using execbuiltin

Quote
Container.SetViewMode(id)    Set the current view mode (list, icons etc.) to the given container id.
Container.NextViewMode    Select the next view mode.
Container.PreviousViewMode    Select the previous view mode.

boutzo

  • Jr. Member
  • **
  • Posts: 24
  • Karma: 0
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #2 on: February 15, 2013, 10:37:09 AM »
Thanks for that. Couldn't be easier.

As for the views,  any idea which xml the id's are usually in. There's like 83 xmls for my skin.  That or what generic term to search for.

Thanks again,
Boutzo

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #3 on: February 15, 2013, 10:39:43 AM »
The most efficient method would be to ask the skin designer.  Well, it's only efficient if they decide to answer you  :biglaugh

I will download the skin and try to find one and then give you the info you need to find the rest.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #4 on: February 15, 2013, 10:42:59 AM »
are you actually using confluence?  Is that the same as PM3.HD ?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #5 on: February 15, 2013, 11:09:53 AM »
OK, so for example, if I am using confluence (on Frodo) I can find some IDs as follows.

- browse to the skin folder and look for the file "ViewsVideoLibrary.xml"

in there I find the following:
   <include name="PosterWrapView">
      <control type="grouplist">
         <visible>Control.IsVisible(501)</visible>

So posterwrap is ID 501.

and
   <include name="PosterWrapView2_Fanart">
      <control type="group">
         <posx>0</posx>
         <posy>350</posy>
         <visible>Control.IsVisible(508) + [[ListItem.IsFolder + Container.Content(Movies)]


etc.

note that not all IDs will make sense depending on what you are viewing (movies, tv, music, music videos, etc)

boutzo

  • Jr. Member
  • **
  • Posts: 24
  • Karma: 0
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #6 on: February 15, 2013, 02:53:19 PM »
Thanks for all the info!!

Haven't gone through all the skins.  To be honest I've been using media browser (I like there look CoverArt, Info, Rotating backdrops, etc...) but there API is no where near as good as XBMC hopefully it will change with MB3 (Out in April).  Not terrible versed in xml so changing xbmc skins to suit me looks quite daunting.

By the way I just used container.nextviewmode to cycle through. Good enough for now.  But the info is good to know.

Side note I've been having problems with Phrases up and left.  If the "T" in left is not annunciated it usually reverts to up.  Will the learn button clear this up?
Do you just check it and say "up" and "left" several times?

Boutzo

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #7 on: February 15, 2013, 02:58:49 PM »
Thanks for all the info!!

Haven't gone through all the skins.  To be honest I've been using media browser (I like there look CoverArt, Info, Rotating backdrops, etc...) but there API is no where near as good as XBMC hopefully it will change with MB3 (Out in April).  Not terrible versed in xml so changing xbmc skins to suit me looks quite daunting.

By the way I just used container.nextviewmode to cycle through. Good enough for now.  But the info is good to know.

Side note I've been having problems with Phrases up and left.  If the "T" in left is not annunciated it usually reverts to up.  Will the learn button clear this up?
Do you just check it and say "up" and "left" several times?

Boutzo
Hi Boutzo, you can change the phrase by editing the payload xml.
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #8 on: February 15, 2013, 03:23:16 PM »
what is the complete command phrase?  Just up by itself is too short.

"go up" ?

I'm not sure why you would not pronounce the T but you can change the phrases to suit you.  Are you using the default VC configuration for Eden?

Yes, clicking "learn" will help (in theory) and you just leave it ticked while giving a few commands, but it is best to first do windows speech training using windows speech control panel.  If VC misunderstands a command when learning it will only make things worse because it will "learn" the wrong command.
« Last Edit: February 15, 2013, 03:29:39 PM by jitterjames »

boutzo

  • Jr. Member
  • **
  • Posts: 24
  • Karma: 0
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #9 on: February 15, 2013, 04:16:38 PM »
it happens with scroll left, go left.  I don't know why it happens either my pronunciation isn't that bad.  Maybe it's the cheap Creative microphone.  Guess I'll do more training to see if that helps.

@Kalle I did try adjusting the payloads...No Go.  Also had to do it with "ok" wasn't picking it up untill I changed it to "okay"

Boutzo
« Last Edit: February 15, 2013, 04:19:48 PM by boutzo »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Toggle Repeat and Change Skin Views
« Reply #10 on: February 15, 2013, 04:21:33 PM »
it happens with scroll left, go left.  I don't know why it happens either my pronunciation isn't that bad.  Maybe it's the cheap Creative microphone.  Guess I'll do more training to see if that helps.

@Kalle I did try adjusting the payloads...No Go.  Also had to do it with "ok" wasn't picking it up untill I changed it to "okay"

Boutzo

could be that your microphone input level is set too high.

What, specifically does "no go" mean?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #11 on: February 15, 2013, 05:00:10 PM »
it happens with scroll left, go left.  I don't know why it happens either my pronunciation isn't that bad.  Maybe it's the cheap Creative microphone.  Guess I'll do more training to see if that helps.

@Kalle I did try adjusting the payloads...No Go.  Also had to do it with "ok" wasn't picking it up untill I changed it to "okay"

Boutzo
I'm sure my pronunciation more than bad, because english is not my native language  ;D but the command works pretty well.

here a example video:
***********  get excited and make things  **********

boutzo

  • Jr. Member
  • **
  • Posts: 24
  • Karma: 0
    • View Profile
Re: Toggle Repeat and Change Skin Views
« Reply #12 on: February 16, 2013, 04:04:36 AM »
No go->didn't work