Kodi Community Forum

Full Version: After Watch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
(2019-06-25, 21:37)AnonTester Wrote: [ -> ]@Haris1977 if you provide log files and some details, I can take a look and see if there's anything I can figure out.
@AnonTester thanks for your feedback. I tried to collect the addon debug file (after watch settings->advanced->enable debugging) but i didnt have any on screen display warning(s). Then i enabled kodi logging and this is the file i get:

https://www8.zippyshare.com/v/MbtztkTP/file.html

Can y take a look?
@Haris1977 I get a forbidden error using that zippyshare link. Best use https://paste.kodi.tv/
(2019-06-26, 19:41)AnonTester Wrote: [ -> ]@Haris1977 I get a forbidden error using that zippyshare link. Best use https://paste.kodi.tv/
Ok, here its is:

https://paste.kodi.tv/ididubifix.kodi
I think these lines in the log are pointing to your issue:
2019-06-26 17:57:45.353 T:1937545616 WARNING: CSettingDependencyCondition: unable to check condition on unknown setting "#remove_video"
2019-06-26 17:58:42.303 T:1937545616 WARNING: CSettingDependencyCondition: unable to check condition on unknown setting "#remove_video"

This refers to the check for the plugin settings to remove the video from the library. The setting is actually 'remove_video' and not '#remove_video'. Not sure if kodi/the log uses the # to indicate the setting ID or if it's actually looking for the incorrect name.

Try the following steps:
- go to After Watch configuration
- enable debugging in the advanced settings
- under ratings, disable 'remove video from library' if it's enabled or enable it if it's disabled.
- confirm the configuration change with OK
- then go back into the After Watch configuration
- change the 'remove video from library' under ratings to the previous value
- test and upload new logs
Ok, here is my new log file:

https://paste.kodi.tv/upegopahok.kodi
The debug log still shows the issue with the "#remove_video" setting and also mentions something about trying to load settings from old format. I have no idea what this means as the settings.xml file of the plugin appears to be in the right format as per kodi wiki description. Apparently the # in front of the log entry is fine.

Found references here: https://github.com/xbmc/xbmc/issues/15252 which is a bug mentioned by jvandenbroek before and it's still open.

However, the settings file has two entries for 'remove video from library'. One under properties and one under ratings. I've removed the one from ratings and bumped the version to 1.0.10 in my repo.

I'm using Kodi 19 nightlies and afterwatch is working fine on my system.  Hope this version works for you.
Thanks @AnonTester.

Will check it tomorrow and I will report back. Will test also in a raspi3 too (at this time i use it on my raspi2)
Good luck! Shouldn't matter whether it's on an rpi2 or 3 as this isn't dependent on the hardware.
If this still isn't working, then I'm out of ideas :-(
I tried it in both raspi2 and 3. Still no luck.

So it must b something else.
As I don't use LibreElec or Kodi 18.2 for RPI and don't get the error on my system and don't see anything in the addon code that may be related. I can only guess that it's a bug in your Kodi version.

However, last ditch test, could you check the ownership and permissions of the addon settings file by running this command in your kodi user's home directory:
Code:
ls -la .kodi/userdata/addon_data/script.service.afterwatch

And also post the content of the addon settings.xml to https://paste.kodi.tv/
Code:
cat .kodi/userdata/addon_data/script.service.afterwatch/settings.xml

If it doesn't have an entry for remove_video, try renaming it and configure your addon again to get it recreated.
Here are my settings just for reference https://paste.kodi.tv/pekakizehu
Sorry for the late post (i just saw your reply)

1) My permissions:

# ls -la .kodi/userdata/addon_data/script.service.afterwatch

total 4
drwxr-xr-x     2 root     root          1024 Apr 11 23:35 .
drwxr-xr-x   11 root     root          1024 May  9 12:40 ..
-rw-r--r--        1 root     root          2000 Jun 29 09:46 settings.xml

2) My addon settings.xml here

https://paste.kodi.tv/iteqerijur

What exactly do i need to do? I have a <setting id="remove_video">false</setting> but mine is set to true.
The settings file clearly has the remove_video entry and there's only a single entry in there. Absolutely no idea why your kodi is unable to find this setting.
The permissions of the settings file look okay as well.
As further test, I just set my remove_video to true but everything is still working fine on my system.

I'm out of ideas.

@jvandenbroek can you help Haris?
I think @jvandenbroek has (?) abandoned this project?

Or he is just dead Tongue (just joking)
hi,why cant delete with this script only tv shows, not movies?on tv shows apear on final question yes or not delete, but on movies no apear
Hello everybody, 

is this addin still online somewhere?
and ready for download?

zyppishare is offline Sad
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25