• 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 53
[RELEASE] Random and last items smartplaylist script for Skins
Problem with Musicvideos

Does i do something wrong?

my onload (Home.xml):
PHP Code:
<onload>XBMC.RunScript(script.randomandlastitems,type=MusicVideos,limit=10,method=Last,playlist=special://skin/playlists/MusicVideos/MusicClips.xsp,menu=Menu7)</onload> 
(to test without condition

my item:
PHP Code:
<item>
        <
label>$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Title)]</label>
        <
label2>$INFO[Window.Property(PlaylistLastMusicVideosMenu7.1.Plot)]</label2>
        <
onclick>PlayMedia("$INFO[Window.Property(PlaylistLastMusicVideosMenu7.1.File)]")</onclick>
        <
icon>-</icon>
        <
thumb>$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Art(poster))]</thumb>
        <
property name="Fanart">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Art(fanart))]</property>
        <
property name="Year">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Year)]</property>
        <
property name="Runtime">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Runtime)]</property>
        <
property name="Rating">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Rating)]</property>
        <
visible>!IsEmpty(Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Title)) + Container(9000).Hasfocus(18)</visible>
</
item

if i use to test:
PHP Code:
<!--item>
         <
label>$INFO[Window.Property(LatestMusicVideo.2.Title)]</label>
         <
label2>$INFO[Window.Property(LatestMusicVideo.2.Plot)]</label2>
         <
onclick>PlayMedia($ESCINFO[Window.Property(LatestMusicVideo.2.Path)])</onclick>
         <
icon>$INFO[Window.Property(LatestMusicVideo.2.Thumb)]</icon>
         <
thumb>-</thumb>
         <
property name="Fanart">$INFO[Window.Property(LatestMusicVideo.2.Fanart)]</property>
         <
property name="Year">$INFO[Window.Property(LatestMusicVideo.2.Year)]</property>
         <
property name="Runtime">$INFO[Window.Property(LatestMusicVideo.2.RunningTime)]</property>
         <
property name="Rating">$INFO[Window.Property(LatestMusicVideo.2.Rating)]</property>
         <
visible>!IsEmpty(Window.Property(LatestMusicVideo.2.Title)) + Container(9000).Hasfocus(18)</visible>
</
item--> 
All works as expected.

So does i do a mistake?

Regards.
Reply
It because, type is forced to MusicVideo where reading XSP file.

So properties are PlaylistLastMusicVideoMenu7 in your case, as you don't provide property= parameter.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
(2014-04-10, 12:16)mikebzh44 Wrote: It because, type is forced to MusicVideo where reading XSP file.
No mather if i force "type="MusicVideo" in the onload or not still doesnt work.

You write here about "MusicVideo" without the "s" in the description is written "MusicVideos" with the "s"

(2014-04-10, 12:16)mikebzh44 Wrote: So properties are PlaylistLastMusicVideoMenu7 in your case, as you don't provide property= parameter.
Like i did (example about)
PHP Code:
$INFO[Window(Home).Property(PlaylistLastMusicVideo(s)Menu7.1.Title)] 
without the "s" ? did try both; No Luck.

Or did i get you wrong?

Does it work on your side?

Regards.
Reply
For me, PlaylistLastMusicVideoMenu7 should work.

Could you edit randomandlastitems.py in addon folder, go to line 764 and add this line :

BEFORE

Code:
#
        if PROPERTY == "":
            PROPERTY = "Playlist%s%s%s" % ( METHOD, TYPE, MENU )

AFTER

Code:
#
        if PROPERTY == "":
            PROPERTY = "Playlist%s%s%s" % ( METHOD, TYPE, MENU )
        [b]print("##### PROPERTY =", PROPERTY)[/b]

Take care at number of spaces or tabulations before each line as python use indentation.

Now run your skin and go to log file, you will see how the script named your properties.

PS : line with # does not exist I only put in snipet to keep indentation.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
hey mikebzh44 Smile
any news about my problem ? (Post: #675)
HW: I5, AMD A6, Odroid C2 OS:Win10 & LibreElec Kodi:latest 16.x & 17.x Skin: MADNOX

M A D N O X - incl "HOW TO - SETUP TRICKS..." on first page !!!
Extra GFX Stuff for AeonNox Mods
Reply
Can you try with XSP files stored in userdata/playlists/video ?

Sorry, I'm very busy at work this week and the next one and after, it's holydays Wink
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
i have it there before - same result
but no rush Smile i can wait
HW: I5, AMD A6, Odroid C2 OS:Win10 & LibreElec Kodi:latest 16.x & 17.x Skin: MADNOX

M A D N O X - incl "HOW TO - SETUP TRICKS..." on first page !!!
Extra GFX Stuff for AeonNox Mods
Reply
I'm trying to install this add-on (last items for movies) but when I try to install from the ZIP file it tells me that "dependencies not met". I'm on Frodo 12.3 running Aeon Nox (Windows 7).
Any help is appreciated.
Reply
hey all,
how can I generate a recommanded TV show (well, episodes) playlist ?
I get the way the script works in my skin (Nox) for the widgets,
but I would want to generate a longer (like 20/25 episodes) episodes list inside a playlist (with a classic episodes views in Nox, not a widget one)
Should I link a Nox buton to a script ?
Many thanks !
Reply
This script will be useless for what you are looking for.
This script goal is to provide properties to skins to populate widgets.
You need to build a special smart playlist but I don't know if filters to limit playlists size are available in XBMC.
BTW, your question is not linked to the script or the skin but to XBMC in general.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
It's just that the way this widget create its "featured" tv episodes list seems very smart and accurate to me.
And i would love to make a playlist from it...
(ps : funny to talk english to an another french guy Wink)
Reply
If you want to speak French with me, use our French forum Wink

http://passion-xbmc.org/forum/
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
(2014-04-25, 05:47)Solidify Wrote: I'm trying to install this add-on (last items for movies) but when I try to install from the ZIP file it tells me that "dependencies not met". I'm on Frodo 12.3 running Aeon Nox (Windows 7).
Any help is appreciated.
No dependencies error for me. I'm running Windows 8.1, XBMC 12.3, get ZIP from GITHUB and install it with no warning or message.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
Will it work on XBMC 13 Gotham, that was released a few days ago? BTW, I'm using Aeon Nox.
Reply
Yes, work fine on Gotham. I'm using it with Aeon Nox 4.1.9 Gotham.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
  • 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 53

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Random and last items smartplaylist script for Skins1