Kodi Community Forum
[RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners - 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] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners (/showthread.php?tid=55907)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


- amet - 2011-03-11

did I not post the fix for thisHuh http://forum.xbmc.org/showpost.php?p=746815&postcount=146


http://dl.dropbox.com/u/19359762/script.recentlyadded_post_Dharma.zip


- odt_x - 2011-03-11

Thanks for the fix! Was going crazy why I was getting recentlyadded errors with every skin but Confluence... When will this be in git?


- waschbaerbauch - 2011-03-15

Hello - i have an external mySQL database. Since 10.1 and above (nightly builds) i get the RecentlyAdded.py error. When downgrading again to 10.0 my SQL still is corrupt.

So i started some tests here. First of all i took my old vmware with mySQL (backup) and installed 10.0 on my HTPC. Starting XBMC -> connection to mySQL works.
Upgrading to 10.1 -> starting XBMC -> Recentlyadded.py error.
Downgrading to 10.0 -> starting XBMC -> Recentlyadded.py error.
Replacing mySQL db -> starting XBMC -> connection works, full db access.
Upgrading to 10.1 -> starting XBMC -> Recentlyadded.py error.

I've tested this on three HTPCs so far and everytime when 10.1 or above nightly build is used the mySQL will be unuseable after downgrading.

Any idea?


- rg192 - 2011-03-16

Hi, Am having a problem with recently added script on the home screen appearing blank.

I have setup mysql on my imac and the DB is working with my 2 atv imac and macbook pro.

but on all 4 devices i get RecentlyAdded.py error

iMac and macbook running 10.1
apple tv 2 is using official version 10.7
apple tv 2 (my second 1) is running unofficial nightly build

log info from my apple tv 2

Quote:21:47:11 T:96841728 M:128770048 DEBUG: ExecuteXBMCAction : Translating XBMC.AlarmClock(UpdateRecentAdded,XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=8),1,true)
21:47:11 T:96841728 M:128770048 DEBUG: ExecuteXBMCAction : To XBMC.AlarmClock(UpdateRecentAdded,XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=8),1,true)
21:47:11 T:96841728 M:128770048 DEBUG: started alarm with name: updaterecentadded
21:47:40 T:96841728 M:111497216 DEBUG: ExecuteXBMCAction : Translating Skin.ToggleSetting(homepageHideRecentlyAdded)
21:47:40 T:96841728 M:111497216 DEBUG: ExecuteXBMCAction : To Skin.ToggleSetting(homepageHideRecentlyAdded)
21:48:01 T:96841728 M:103337984 DEBUG: ExecuteXBMCAction : Translating XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=8&totals=True&albums=True&unplayed=True)
21:48:01 T:96841728 M:103337984 DEBUG: ExecuteXBMCAction : To XBMC.RunScript(special://skin/scripts/RecentlyAdded.py,limit=8&totals=True&albums=True&unplayed=True)
21:48:01 T:96841728 M:103337984 DEBUG: ADDON: cpluff: 'Could not return information about unknown plug-in special://skin/scripts/RecentlyAdded.py.'
21:48:03 T:172720128 M:111349760 DEBUG: Process - The source file to load is special://skin/scripts/RecentlyAdded.py
21:48:11 T:96841728 M: 99123200 DEBUG: ADDON: cpluff: 'Could not return information about unknown plug-in special://skin/scripts/RecentlyAdded.py.'
21:48:16 T:180817920 M:107536384 DEBUG: Process - The source file to load is special://skin/scripts/RecentlyAdded.py
21:48:16 T:172720128 M:107536384 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/skin.cirrus.extended/scripts/RecentlyAdded.py", line 352, in <module>
File "/var/mobile/Library/Preferences/XBMC/addons/skin.cirrus.extended/scripts/RecentlyAdded.py", line 106, in __init__
File "/var/mobile/Library/Preferences/XBMC/addons/skin.cirrus.extended/scripts/RecentlyAdded.py", line 178, in _fetch_totals

Any help with this would be nice.


- Hitcher - 2011-03-16

I guess 10.1 has changed the database fields but we can't change the script yet to reflect this until more people update.


- ekim232 - 2011-03-20

Does anyone know if it is possible to pull logo's (logo.png) from your tv show folder using the script on the homepage. I know it is possible with the nextaired script, but I would also like to try it with tv shows on my homepage for recently added.


- thesuffering - 2011-03-25

im getting the failed message as well
have the most recent win32 nightly + mysql database. updated with the post dharma folder, didnt help.

my log:
http://pastebin.com/VEusA0Rm


- mcborzu - 2011-03-25

ekim232 Wrote:Does anyone know if it is possible to pull logo's (logo.png) from your tv show folder using the script on the homepage. I know it is possible with the nextaired script, but I would also like to try it with tv shows on my homepage for recently added.

Love it too, but not available...


- Gotcha007 - 2011-03-25

thesuffering Wrote:im getting the failed message as well
have the most recent win32 nightly + mysql database. updated with the post dharma folder, didnt help.

my log:
http://pastebin.com/VEusA0Rm

Yep same for me with 10.1, win 7


- sonic00 - 2011-03-27

amet Wrote:did I not post the fix for thisHuh http://forum.xbmc.org/showpost.php?p=746815&postcount=146


http://dl.dropbox.com/u/19359762/script.recentlyadded_post_Dharma.zip
Works fine for TV Shows and Movies, but Music doesn't work for me.

I see the artist name, but no album and if I click on one of them nothing happens.

Is this a known issu, or did I anything wrong?


- ronie - 2011-03-27

sonic00 Wrote:Works fine for TV Shows and Movies, but Music doesn't work for me.

I see the artist name, but no album and if I click on one of them nothing happens.

Is this a known issu, or did I anything wrong?

that's most likely a skin issue.
you should ask the skin dev of the skin you're using to have a look at these posts:

missing album title: http://forum.xbmc.org/showpost.php?p=685758&postcount=98

albums not playing: http://forum.xbmc.org/showpost.php?p=684932&postcount=91


- sonic00 - 2011-03-27

I'm using a skin of my own, so I have to ask myself - but have no answer Wink

I tried the latest skin version of "night" and "alaska" but no skin looks to work for with the "recently added music".

Here is my setup:

- Win7 32bit
- latest nightly XBMC Version
- Post Dharma "recently added" script

Can you give me an example of a working skin with the Post Dharma recently added script?

Thank you very much.

Edit:

Ok, tried your T! (SVN) Skin. Seems to work there. So, now I have to study your code, to find the part I have to change for my own skin. Big Grin


- BDPNA - 2011-04-13

Script is still failing for me in the nightlies in any skin I have that uses it.

Is there a step I missed other that uploading this version into the addons folder?


- skiller2k1 - 2011-04-20

EDIT: Sorry, posted in the wrong thread, this post can be deleted.


- Tiny Clanger - 2011-04-27

amet Wrote:did I not post the fix for thisHuh http://forum.xbmc.org/showpost.php?p=746815&postcount=146


http://dl.dropbox.com/u/19359762/script.recentlyadded_post_Dharma.zip

This link is now dead. Does anybody have a mirror of this script, please?

Thanks