ListItem.IsResumable problem. ???
#16
Newest nightly, still same problem. Some shows show, some dont. I cant find a common factor between them all.
Image
To learn more, click here.
Reply
#17
@pieh:
Yes I know it's a boolean, but it won't work. Right now I use:
Code:
<control type="label">
          <posx>0</posx>
          <posy>115</posy>
          <height>13</height>
          <width>200</width>
          <font>Font_Reg17</font>
          <textcolor>white</textcolor>
          <label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
          <visible>SubString(ListItem.PercentPlayed,0,left)</visible>
        </control>
        <control type="label">
          <posx>0</posx>
          <posy>115</posy>
          <height>13</height>
          <width>200</width>
          <font>Font_Reg17</font>
          <textcolor>white</textcolor>
          <label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]][COLOR abFFFFFF]$INFO[ListItem.PercentPlayed, (,%)][/COLOR]</label>
          <visible>!SubString(ListItem.PercentPlayed,0,left)</visible>
        </control>

But I want to use this:
Code:
<control type="label">
          <posx>0</posx>
          <posy>115</posy>
          <height>13</height>
          <width>200</width>
          <font>Font_Reg17</font>
          <textcolor>white</textcolor>
          <label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
          <visible>!ListItem.IsResumable</visible>
        </control>
        <control type="label">
          <posx>0</posx>
          <posy>115</posy>
          <height>13</height>
          <width>200</width>
          <font>Font_Reg17</font>
          <textcolor>white</textcolor>
          <label fallback="312577">$INFO[ListItem.Duration,, $LOCALIZE[12391]][COLOR abFFFFFF]$INFO[ListItem.PercentPlayed, (,%)][/COLOR]</label>
          <visible>ListItem.IsResumable</visible>
        </control>
Reply
#18
Working and updating for me. OS X, today's build.

Code:
<control type="image">
            <visible>!ListItem.IsResumable</visible>
            <posx>1r</posx>
            <posy>44</posy>
            <height>18</height>
            <width>18</width>
            <texture>$INFO[ListItem.Overlay]</texture>
            <aspectratio>keep</aspectratio>
        </control>

EDIT: I'm not using ListItem.PercentPlayed if that matters somehow.
My skins:

Amber
Quartz

Reply
#19
Right now it's always returning false, whereas when I first reported it didn't return true or false.
Reply
#20
are you using this inside a list or outside?

no idea if it makes a difference, but it might explain why it works for some and doesn't for others...
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#21
Mine is outside list.
Reply
#22
Then you have to use Container(id).ListItem.isResumable. Just ListItem.isResumable might not work.
Image
Reply
#23
@Big_Noid
I just updated your skin to master and see there is ResumePoint used, but don't know which view / extra setting to use and don't have really time to check to code to figure it out. Could You point to right skin setup?
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#24
That would be inconsistent as listitem.isfolder works just fine, but I'll give it a go.

EDIT: It does indeed work with the Container(xx). added.

EDIT2: While it works with container(xx) added, this is far from ideal. I use the same code for 4 views, so it really isn't an option to add container(xx). Any change this can work like listitem.isfolder?
Reply
#25
I'll update master with the listitem.resumable in a minute. The code is used in showcase view with infopanel fanart layout. It's supposed to show behind the duration.
Reply
#26
ronie Wrote:are you using this inside a list or outside?

no idea if it makes a difference, but it might explain why it works for some and doesn't for others...

I am inside a list.
Image
To learn more, click here.
Reply
#27
@Big_Noid:
You can use Container.ListItem.IsResumable (omitting ID is fine if You are in video/music/picture navigation window)

@igotdvds:
those items that doesn't get are always same items? if yes - would You mind sharing Your database file or doing some doing some sql queries?
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#28
pieh Wrote:@Big_Noid:
You can use Container.ListItem.IsResumable (omitting ID is fine if You are in video/music/picture navigation window)
This makes no sense to me, why add container if you don't specify the id? But if it works i don't mind Smile I hate to use substring visibility's
Reply
#29
XBMC uses the current container if there's no ID.
Reply
#30
Yeah, but it's supposed to do that also (and does with almost everything else) if the container bit is left out.
Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.IsResumable problem. ???0