• 1
  • 45
  • 46
  • 47
  • 48(current)
  • 49
[FRODO release] Skin Widgets
Hi,
I came across the following problem using the "in progress"-widget in Rapier, and the dev told me that this was most likely a problem in service.skin.widgets.

If you have an Episode in your TV show library, that's filename contains a comma, it can not be started from the "in Progress"-Widget.
Let's say you have a Videofile 'S01E02 - One, Two and Three.mkv' that comes next in a show you watch, and you click on the show in the widget, nothing happens.
In the log you can see, that it tries to play a file called 'S01E02 - One', so everything after the comma gets cut off. If you select the episode from the listing in the TV show library, playback starts without problems.

I know I could rename the file Smile I just wanted to let you know.
Reply
I have also a problem with the filenames.

For example, I have a TV show with some files with spaces in their name. If I launch an episode from the widget and I watch it entirely, the home widget doesn't recommend automaticallly the next episode of the show.

I've tried to rename the files by remplacing space per dots and the problem disappears.

Kind of strange.
Reply
Is is possible to get the "In Progress" TV Shows widget to ignore specials (i.e. season 0 episodes) or use the Aired Date for the sorting of the episodes instead of season & episode. The widget currently shows any unwatched special as the next episode to watch for an in progress show but that is not correct for most TV shows. I can work around it by marking all the specials watched but that is not ideal. I think using the episode Aired Date as the sort order would be the best option as it then gives the correct order which cannot be gotten anywhere else in Kodi as far as I know. Regards.
Reply
Opened Kodi today and I am getting script failedConfusedkin widgets

xperience1080 3.50.05
skin widgets 0.0.29

it will not load ongoing tv shows, new movies, new tv shows or new music.

any idea what's up? I've not touched any settings

Code:
13:04:25 T:4284   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'item2' referenced before assignment
                                            Traceback (most recent call last):
                                              File "C:\Users\NilePC\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 796, in <module>
                                                Main()
                                              File "C:\Users\NilePC\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 68, in __init__
                                                self._fetch_info_recommended()
                                              File "C:\Users\NilePC\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 127, in _fetch_info_recommended
                                                self._fetch_tvshows_recommended('RecommendedEpisode')
                                              File "C:\Users\NilePC\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 269, in _fetch_tvshows_recommended
                                                if (item2['resume']['position'] and item2['resume']['total']) > 0:
                                            UnboundLocalError: local variable 'item2' referenced before assignment
                                            -->End of Python script error report<--
Reply
Hi

I have notice an issue with the widget not updating ongoing episodes after database whilst using mysql. It works flawlessly when the database is local? Would adding an adjustable delay for the widget to update after the database help this issue?

Thanks
scott
Reply
Hi Martjin,

Is the folder path available as a propery? if possible I need the path / folder name for a music album?

Thanks

Mike.
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
I put this addon a great effort really in my skin. Love Martjin work so much Wink
Reply
startup kodi I getting this error

Code:
13:08:00 T:6680   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 295, in <module>
                                                Main()
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 62, in __init__
                                                self._fetch_info_randomitems()
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 123, in _fetch_info_randomitems
                                                self._fetch_movies('RandomMovie')
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\service.skin.widgets\default.py", line 148, in _fetch_movies
                                                GUI.movies(request, data)
                                              File "C:\Users\Dragon\AppData\Roaming\Kodi\addons\service.skin.widgets\lib\properties.py", line 74, in movies
                                                WINDOW.setProperty("%s.%d.Country"         % (request, count), item['country'][0])
                                            IndexError: list index out of range
                                            -->End of Python script error report<--

sorry for my english
Reply
This addon and/or Library Data Provider is causing me an issue with my HTPC sleeping and I can't find a way to fix it. I have a HTPC with all my media running MySQL which is the master. I also have a RPi2 running OSMC upstairs which connects to the HTPC for the library etc... My HTPC is constantly waking up because of requests from the RPi2. I've found the culprit(s) in the logs and one of them concerns Skin Widgets.

Please see these logs

Code:
21:18:40 686.093201 T:1752974368  NOTICE: WakeOnAccess [192.168.0.20] trigged by accessing : MySQL : MyVideos93
21:18:41 687.146729 T:1752974368    INFO: WakeOnLan - Magic packet send to '40:8D:5C:17:6D:F3'
21:18:49 694.927979 T:1570526240   DEBUG: webserver: request received for /jsonrpc
21:18:55 700.940796 T:1752974368   DEBUG: Previous line repeats 1 times.
21:18:55 700.941162 T:1752974368  NOTICE: WakeOnAccess sequence completed, server started
21:18:56 701.317322 T:1752974368   DEBUG: RunQuery took 361 ms for 117 items query: select * from movie_view  WHERE ((movie_view.playCount IS NULL OR movie_view.playCount < 1))
21:18:56 701.730408 T:1752974368   DEBUG: RunQuery took 7 ms for 38 items query: select * from episode_view  WHERE ((episode_view.playCount IS NULL OR episode_view.playCount < 1))
21:18:56 702.061646 T:1752974368   DEBUG: RunQuery took 1 ms for 0 items query: select * from musicvideo_view
21:18:56 702.070618 T:1752974368   DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview  WHERE albumview.strReleaseType = 'album'
21:18:56 702.111145 T:1752974368   DEBUG: GetAlbumsByWhere - query took 40 ms
21:18:56 702.275635 T:1752974368   DEBUG: GetArtistsByWhere query: SELECT artistview.* FROM artistview  WHERE (artistview.idArtist IN (SELECT song_artist.idArtist FROM song_artist) OR artistview.idArtist IN (SELECT album_artist.idArtist FROM album_artist)) and artistview.strArtist != '' and artistview.strArtist <> 'Various artists'
21:18:57 702.330933 T:1752974368   DEBUG: Time to retrieve artists from dataset = 56
21:18:57 702.415955 T:1752974368   DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview  WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1))
21:18:57 703.090454 T:1570526240   DEBUG: webserver: request received for /jsonrpc
21:18:57 703.264038 T:1752974368   DEBUG: GetSongsByWhere() - took 850 ms
21:18:58 703.528320 T:1700000800  NOTICE: Thread JobWorker start, auto delete: true
21:18:59 704.348694 T:1752974368   DEBUG: Skin Widgets: Total time needed to request random queries: 0:00:18.258892
21:19:01 707.122192 T:1570526240   DEBUG: webserver: request received for /jsonrpc

Can an option be added to disable all updates or to not send WOL packets to get this information? If the server is offline, skip the update maybe?
Reply
Hello, when scraping my system for Music, my widget is set to RANDOM ARTIST. It shows 5 pictures. 1 may be the artist picture that is cached, and the other 4 are of the main folder.jpg for the source. I scanned previously, and all artists showed. Upon rebuilding my system, I get the error. Any ideas?
Reply
Bug 
Hi there

Thanks for this amazing add-on.

I use it to show next episodes to watch in tv shows (recommended episodes).

In my tests in openelec 6.0, I have noticed a little bug, Maybe it is known...

With a blanks DB, when add new shows, so there are no episodes mark as watched, thumbnails are not show.
Wher you saw one episode of a show, next is on thumbnails.

Thanks !

OK, it is ot a bug, it is a feature. In source code you can see that it shows only tv shows in progress, means already started. When you add a new tv show, you must watch at least first episode to have the next in recommended.

The issue is when you have finish a season, you delete your files, and do a clean database. At this moment, for you the tv show is on progress (ie season 2) but not for kodi.

The workaround I did is to modify the default.py file,

seach line 248, and delete
Code:
, "filter": {"field": "inprogress", "operator": "true", "value": ""}

now it appears first episode on each tv show, either in progress or not.
Reply
Is it possible (with this or some other addon) to include already watched episodes in RecommendedEpisode.

The idea is to get last played episode (from lastplayed db field) from every tv show and fill RecommendedEpisode.%d with the next episode even if it has been already watched.

Currently, when I want to rewatch a show I have to mark all episodes as unwatched to get it work with Skin Widgets, but that way I obviously lose playcount/lastplayed info for these episodes.

Thanks for help.
Reply
When using the Skin Widgets addon, I have set the Random Items update method to "After database update."
This is not behaving as expected, in that after playing an album, the random items are changed. This is after a database update I suppose, in that the play count of the album is changed in the database, but perhaps this is not the intended behaviour.
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Reply
I am using v .32 and upgraded to Jarvis with my setup and noticed I have no text when I use Classic left and right. Any idea what causes text to not show? Using Aeon Noq skin
Reply
Hi,

I would like to make a couple of small changes for my personal use (and thinker a bit).
But it seems the linked source-code on github is not up to date. (v0.0.30 on github, vs v0.0.32 in my install).

Any idea where I could find the latest version ?
Reply
  • 1
  • 45
  • 46
  • 47
  • 48(current)
  • 49

Logout Mark Read Team Forum Stats Members Help
[FRODO release] Skin Widgets8