• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 51
[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC')
ronie Wrote:@ snipah: could you please post a full Debug Log, by following these steps ?
please re-include the log line i've pasted a few posts back.

- enable debug logging
- restart xbmc
- make sure the script runs correctly
- play a movie
- make sure the script crashes
- post the full Debug Log
(it will be big, split in multiple parts if needed)

if you could, also a screenshot of Settings > Appearance > International
would be most welcome.

...will post everything tonight after work and kids are in bed.

In Settings > Appearance > International everything is set to "German". Do you still need a screenshot?
snipah Wrote:In Settings > Appearance > International everything is set to "German". Do you still need a screenshot?

That's probably causing the problem. In german a decimal point is represented by a comma but in JSON decimal points need to be represented by a dot. So depending on what language you have specified the returned JSON data might be invalid. I'll see into fixing it.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Montellese Wrote:That's probably causing the problem. In german a decimal point is represented by a comma but in JSON decimal points need to be represented by a dot. So depending on what language you have specified the returned JSON data might be invalid. I'll see into fixing it.

The problem is not only for JSON. This is also a problem for settings.xml file for addons. See my previous post.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
snipah Wrote:...will post everything tonight after work and kids are in bed.

great, cause it's still a mystery why it works correctly initially
and then fails after watching a movie.

snipah Wrote:In Settings > Appearance > International everything is set to "German". Do you still need a screenshot?

it wouldn't hurt, but if it's too much of a hassle, leave it be :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
...couldn't make it yesterday, due to one of the kids being sick. Hopefully will make it today. BWAH... I WILL MAKE IT TODAY! Big Grin

Thanks in advance for your effort!
@ ronie: Any ETA on when this will be added to the official repo?

I'd like to add it to the requirements for XeeBo's next update.

Thanks.
Just completed the debug-log. Due to pastebin's size-limitation I uploaded the file to my webspace (zip-file).

Click for snipahs log

Image

Hopefully everything is as requested and will help you resolving this problem!

If you need additional info...let me know!

Kind regards,
snipah
snipah Wrote:If you need additional info...let me know!

thanx for the info. :-)

you can keep track of progress on the trac ticket.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Hitcher Wrote:@ ronie: Any ETA on when this will be added to the official repo?

just tell me this one works fine and i'll add it:
script.watchlist-0.0.5.zip

you now have to call the script with the options you want:
Code:
RunScript(script.watchlist,movies=true&episodes=true&limit=25)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
I'd just like to add my voice into the discussion. I have the atv2 and would like to use this contribution. I read here in the thread regarding the speed issue with SQL. Looking forward to any information to improve performance.

I understand that some users are running external database to support multiple devices. If the database is on the atv2, is there still an issue?
ronie Wrote:just tell me this one works fine and i'll add it:
script.watchlist-0.0.5.zip

you now have to call the script with the options you want:
Code:
RunScript(script.watchlist,movies=true&episodes=true&limit=25)

All good here, thanks.
ronie Wrote:just tell me this one works fine and i'll add it:
script.watchlist-0.0.5.zip

you now have to call the script with the options you want:
Code:
RunScript(script.watchlist,movies=true&episodes=true&limit=25)

Running prefect mate!

Cheers
It's complaining about most played albums not being available but, other than that, runs great! :p
My skins:

Amber
Quartz

sabotage Wrote:I'd just like to add my voice into the discussion. I have the atv2 and would like to use this contribution. I read here in the thread regarding the speed issue with SQL. Looking forward to any information to improve performance.

I understand that some users are running external database to support multiple devices. If the database is on the atv2, is there still an issue?

I put a local DB on my atv2 to do a comparison. Performance increase is 15 seconds for my 1500 episodes, with the total result presented in 40 seconds.

http://pastebin.com/uQmb23L6

Edit: comparing with the debug from mysql http://pastebin.com/wbUnCBg8 I find it hard to see where the performance increase actually is coming from, for example the first request with local DB:

DEBUG: RunQuery took 344 ms for 53 items query: SELECT * FROM tvshowview

with MySQL:

RunQuery took 96 ms for 53 items query: SELECT * FROM tvshowview
Problem resolved...script error is gone!

1. Moved my database to my NAS (mysql)
2. Did a complete reinstall of Ubuntu 11.04 minimal and XBMC
3. Installed Version 0.0.5 of the script

Don't know, which was the solution for the error...but it's gone!
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 51

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC')2