Kodi Community Forum
[RELEASE] Random and last items smartplaylist script for Skins - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
---- Thread: [RELEASE] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448)



RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-03

(2012-07-03, 12:11)mikebzh44 Wrote: Could you post Film_Barat.xsp on http://xbmclogs.com/? please.

When you browser this smart playlist, movies are displayed in XBMC ?

Thanks for the fast response,
Like this?

http://xbmclogs.com/show.php?id=4416

Yes, it shows the correct movies from that category
(film barat is west movie)

Oh yea, and there's aplhabetical subfolders after that folder
/Film Barat
// A-E
// F-J
// K-O
// P-T
// U-Z
And the movies are inside a folder based on their names,
e,g ironman :
K:\Multimedia\Film_Barat\F-J\Ironman\Ironman.avi


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-05

Hi Deny.

I don't know what's happen on your HTPC but with your movie database and your smart playlist file, I have no issue on my HTPC running Glass skin :

As you can see, home widget display latest movies (no thumbnail because I don't have your cache directory) :

Image

And the smart playlist is OK :

Image

Which OS and skin did you use ?


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-07-08

I've had a request to show a widget for musicvideos on confluence.lite.mod . Any chance of getting support for musicvideos with this script ?

Cheers hey.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-08

I will have a look this week Wink

I think it's possible.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-09

I can't test as I don't have musicvideo yet but I think that with a smart playlist, you can display musicvideo in widgets.

But I will add some DVD concert to my library and look if I can add this to the script.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-07-09

Thanks hey, I'm also having to dig around for some musicvideos Smile


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-10

(2012-07-05, 10:01)mikebzh44 Wrote: Hi Deny.

I don't know what's happen on your HTPC but with your movie database and your smart playlist file, I have no issue on my HTPC running Glass skin :

As you can see, home widget display latest movies (no thumbnail because I don't have your cache directory) :

Image

And the smart playlist is OK :

Image

Which OS and skin did you use ?

Hi mikebzh44 sorry didn't know your reply,
i have changed my approach, instead of smart playlist i used favourites.
Why?
Well because when we add new movies, smart playlist won't list it unless the metadata is found.
Now this is a problem because i have tons of asian serials that's not recognized under smart playlist.
So can your method be used for favourites?
I used the same home menu layout but they're favourites, not smart playlist.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-10

I will dig into it today.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-10

I don't think that my script can handle Favorites because I did not found any method in JSON API to request Favorites :

http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4

or to link Favorite database :

http://wiki.xbmc.org/?title=Opening_Windows_and_Dialogs

How did you manage your Favorite ? Each time you add a new movie, you add it in your Favorites ? Or did you add the root directory from the file view ?


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-10

(2012-07-10, 11:59)mikebzh44 Wrote: I don't think that my script can handle Favorites because I did not found any method in JSON API to request Favorites :

http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4

or to link Favorite database :

http://wiki.xbmc.org/?title=Opening_Windows_and_Dialogs

How did you manage your Favorite ? Each time you add a new movie, you add it in your Favorites ? Or did you add the root directory from the file view ?

I see,
First i do a library scan for the folders that will be used as the main menu (not the submenu)
then i just created a bunch of addresses for both menu and submenu in favourites.xml,
and then i input those favourites to custom home menu and submenu using transparency's home menu
Like this :
Code:
<favourites>
    <favourite name="Film Barat">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Film_Barat\\U-Z\\)</favourite>    
    <favourite name="Film Asia">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Film_Asia\\U-Z\\)</favourite>
    <favourite name="Serial Barat">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Serial_Barat\\U-Z\\)</favourite>        
    <favourite name="Serial Asia">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Serial_Asia\\U-Z\\)</favourite>    
    <favourite name="Anime">ActivateWindow(10025,K:\\Multimedia\\Anime\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Anime\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Anime\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Anime\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Anime\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Anime\\U-Z\\)</favourite>        
    <favourite name="Serial Anime">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\)</favourite>
    <favourite name="A-E">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\A-E\\)</favourite>
    <favourite name="F-J">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\F-J\\)</favourite>
    <favourite name="K-O">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\K-O\\)</favourite>
    <favourite name="P-T">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\P-T\\)</favourite>
    <favourite name="U-Z">ActivateWindow(10025,K:\\Multimedia\\Serial_Anime\\U-Z\\)</favourite>    
</favourites>



RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-10

OK so, for me, it will be impossible as favorites are like short-cuts to your directories. And as there is no metadata, your movies are not added to database so script can't check for any update.

Maybe one possibility is to write an other script that can act like MyPicsDB and scan directories to search for new files.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - denywinarto - 2012-07-10

(2012-07-10, 13:07)mikebzh44 Wrote: OK so, for me, it will be impossible as favorites are like short-cuts to your directories. And as there is no metadata, your movies are not added to database so script can check for any update.

Maybe one possibility is to write an other script that can act like MyPicsDB and scan directories to search for new files.

I see,
it's alright, thanks for trying it out.
Hopefully on the next version the library is organized better





RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - butchabay - 2012-07-19

Request:

Properties to show TVShow Thumbs or Season Thumbs instead of Episode Thumbs? We'll have this option for xbmc Frodo showing in Recently Added Episodes and the Watchlist Script already supports these, i really think it would be a nice addition for this script and for sure very welcome by all skinners out there Smile

Thanx for all your work and keep the excellent job mate!


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-07-20

I'll have a look today for this new feature.

I hope I will not have to make to much JSON request because this will slow down the script Sad


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - butchabay - 2012-07-20

(2012-07-20, 09:12)mikebzh44 Wrote: I'll have a look today for this new feature.

I hope I will not have to make to much JSON request because this will slow down the script Sad

Absolutely not ! It's the only request i have Smile Thanx for looking into it ... TV Show Thumb will be awesome, Season Thumb is not really a must have.

Here a screenshot i'm working on, for XBMC Frodo:

Image



This forum uses Lukasz Tkacz MyBB addons.