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 - mikebzh44 - 2013-01-02

Can commit but cannot push :

Code:
git.exe push --progress  "origin" master:master

fatal: remote error:
You can't push to git://github.com/XBMC-Addons/script.randomandlastitems.git
Use [email protected]:XBMC-Addons/script.randomandlastitems.git

And If I change git://github.com/XBMC-Addons/script.randomandlastitems.git to [email protected]:XBMC-Addons/script.randomandlastitems.git in git, error change :

Code:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.



RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Martijn - 2013-01-02

Oops Wink
Forgot a setting


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2013-01-02

Did you have change settings ?

Because I can't push at the moment.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Martijn - 2013-01-02

(2013-01-02, 20:02)mikebzh44 Wrote: Did you have change settings ?

Because I can't push at the moment.

it should yeah. try again?



RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2013-01-02

(2013-01-02, 10:54)phil65 Wrote:
(2013-01-02, 10:49)mikebzh44 Wrote: Martijn.

Aeon Nox 4.0 will be available soon on official repository and Phil call script this way :

Code:
RunScript(script.randomandlastitems, type=Movie, playlist=special://profile/playlists/video/Parents.xsp, method=Latest, limit=10, unwatched=False, resume=False, PROPERTY=SmartPlaylist1)

But if script now require property= parameter, widgets skin will be broken :S

Is there a smart way to handle this case in python ( uppercase ? lowercase ? double test ?) ?

fixed that, ronie will pull with fix included.
Phil, PROPERTY is still in custom_1125_DialogVideoPlaylists.xml :

Code:
<onunload condition="!IsEmpty(Window(home).Property(PlaylistSlot))">Skin.SetString($INFO[Window(home).Property(PlaylistSlot)].Call,RunScript(script.randomandlastitems, type=$INFO[Window(home).Property(Type)], playlist=$INFO[Window(home).Property(Playlist.Path)], method=$INFO[Window(home).Property(Method)], limit=10, unwatched=$INFO[Window(home).Property(Unwatched)], resume=$INFO[Window(home).Property(Resume)], PROPERTY=$INFO[Window(home).Property(PlaylistSlot)]))</onunload>

<onunload>RunScript(script.randomandlastitems, type=$INFO[Window(home).Property(Type)], playlist=$INFO[Window(home).Property(Playlist.Path)], method=$INFO[Window(home).Property(Method)], limit=10, unwatched=$INFO[Window(home).Property(Unwatched)], resume=$INFO[Window(home).Property(Resume)], PROPERTY=$INFO[Window(home).Property(PlaylistSlot)])</onunload>



RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - phil65 - 2013-01-02

(2013-01-02, 20:31)mikebzh44 Wrote:
(2013-01-02, 10:54)phil65 Wrote:
(2013-01-02, 10:49)mikebzh44 Wrote: Martijn.

Aeon Nox 4.0 will be available soon on official repository and Phil call script this way :

Code:
RunScript(script.randomandlastitems, type=Movie, playlist=special://profile/playlists/video/Parents.xsp, method=Latest, limit=10, unwatched=False, resume=False, PROPERTY=SmartPlaylist1)

But if script now require property= parameter, widgets skin will be broken :S

Is there a smart way to handle this case in python ( uppercase ? lowercase ? double test ?) ?

fixed that, ronie will pull with fix included.
Phil, PROPERTY is still in custom_1125_DialogVideoPlaylists.xml :

Code:
<onunload condition="!IsEmpty(Window(home).Property(PlaylistSlot))">Skin.SetString($INFO[Window(home).Property(PlaylistSlot)].Call,RunScript(script.randomandlastitems, type=$INFO[Window(home).Property(Type)], playlist=$INFO[Window(home).Property(Playlist.Path)], method=$INFO[Window(home).Property(Method)], limit=10, unwatched=$INFO[Window(home).Property(Unwatched)], resume=$INFO[Window(home).Property(Resume)], PROPERTY=$INFO[Window(home).Property(PlaylistSlot)]))</onunload>

<onunload>RunScript(script.randomandlastitems, type=$INFO[Window(home).Property(Type)], playlist=$INFO[Window(home).Property(Playlist.Path)], method=$INFO[Window(home).Property(Method)], limit=10, unwatched=$INFO[Window(home).Property(Unwatched)], resume=$INFO[Window(home).Property(Resume)], PROPERTY=$INFO[Window(home).Property(PlaylistSlot)])</onunload>

no, not in frodo branch.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2013-01-04

(2013-01-02, 20:14)Martijn Wrote:
(2013-01-02, 20:02)mikebzh44 Wrote: Did you have change settings ?

Because I can't push at the moment.

it should yeah. try again?
Issue still there

git.exe push --progress "origin" master:master

fatal: remote error:
You can't push to git://github.com/XBMC-Addons/script.randomandlastitems.git
Use [email protected]:XBMC-Addons/script.randomandlastitems.git

git did not exit cleanly (exit code 128) (282 ms @ 04/01/2013 07:28:49)




RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - phil65 - 2013-01-04

git://github.com/XBMC-Addons/script.randomandlastitems.git is read-only.
you have to use [email protected]:XBMC-Addons/script.randomandlastitems.git as remote address.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2013-01-04

Phil, already tried this (bottom of message) :

http://forum.xbmc.org/showthread.php?tid=122448&pid=1283709#pid1283709

And when I look on my browser, HTTP and SSH are Read+Write acces

Image

Image

And if I look on another project, I'm read only :

Image

But I will try again this evening.


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2013-01-04

Same with [email protected]:XBMC-Addons/script.randomandlastitems.git

Image

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

git did not exit cleanly (exit code 128) (18875 ms @ 04/01/2013 18:20:18)




RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - dpar - 2013-01-06

For some reason this script has been constantly crashing since I updated to Nox 4.0.6 today. Maybe someone can tell me why? Here is my log http://xbmclogs.com/show.php?id=26338

Thanks in advance for any help!


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Martijn - 2013-01-06

Not a Debug Log


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - dpar - 2013-01-06

Ah sorry. I grabbed the wrong log file, was a little tired last night.Smile Here is a debug log http://xbmclogs.com/show.php?id=26490


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Venares - 2013-01-06

Same issue with randomandlast erroring.
Debug attached.

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


RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Shinu - 2013-01-06

Script crashes for me too on the same skin. Shows movie playlists for some reason though, but not TV Shows.


This forum uses Lukasz Tkacz MyBB addons.