Kodi Community Forum

Full Version: [RELEASE] Random and last items smartplaylist script for Skins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Oops Wink
Forgot a setting
Did you have change settings ?

Because I can't push at the moment.
(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?
(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>
(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.
(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)

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.
Phil, already tried this (bottom of message) :

http://forum.xbmc.org/showthread.php?tid...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.
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)

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!
Not a Debug Log
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
Same issue with randomandlast erroring.
Debug attached.

http://xbmclogs.com/show.php?id=26497
Script crashes for me too on the same skin. Shows movie playlists for some reason though, but not TV Shows.