• 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)
Release Kodi Selective Cleaner addon support
(2024-05-15, 14:08)sufreak Wrote: Hey - just installed this add on to try it out.

I am using MySQL dbs, and when I set it to them, it told me they weren't found. Is there a configuration that needs to happen? (I know they're up and working, just connected to them with another db tool)

Here's the Wiki link on setting up MySQL connectivity.  If this doesn't help then I need to understand your addon settings for MySQL Database Names, your database names and your advancedsettings.zml database name fields.  It would also help to see the exact log message from the kodi.log file.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(2024-05-15, 15:52)jbinkley60 Wrote:
(2024-05-15, 14:08)sufreak Wrote: Hey - just installed this add on to try it out.

I am using MySQL dbs, and when I set it to them, it told me they weren't found. Is there a configuration that needs to happen? (I know they're up and working, just connected to them with another db tool)

Here's the Wiki link on setting up MySQL connectivity.  If this doesn't help then I need to understand your addon settings for MySQL Database Names, your database names and your advancedsettings.zml database name fields.  It would also help to see the exact log message from the kodi.log file.


Thanks,

Jeff
Quote:2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25):  default.py
2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25, /storage/.kodi/addons/plugin.program.kscleaner/default.py): entering source directory /storage/.kodi/addons/plugin.program.kscleaner
2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25, /storage/.kodi/addons/plugin.program.kscleaner/default.py): instantiating addon using automatically obtained id of "plugin.program.kscleaner" dependent on version 3.0.0 of the xbmc.python api
2024-05-15 15:52:36.815 T:4064     info <general>: KS Cleaner logging database check successful.  Addon started.
2024-05-15 15:52:36.830 T:4064     info <general>: Kodi Selective Cleaner Python vesion is: 3.11.2
2024-05-15 15:52:36.850 T:4064     info <general>: KS Cleaner music DB trigger checking is disabled
2024-05-15 15:52:36.902 T:4064    debug <general>: KS Cleaner parse: mysql 192.168.10.125 3306 kodi <removed> myvideos121
2024-05-15 15:52:37.422 T:720     debug <general>: ------ Window Init (DialogConfirm.xml) ------
2024-05-15 15:52:41.535 T:724     debug <general>: LIRC: - NEW 160 0 KEY_OK devinput (KEY_OK)
2024-05-15 15:52:41.572 T:720     debug <general>: HandleKey: 11 (0xb, obc244) pressed, window 12002, action is Select
2024-05-15 15:52:41.849 T:720     debug <general>: ------ Window Deinit (DialogConfirm.xml) ------
2024-05-15 15:52:41.872 T:4064     info <general>: KS Cleaner MySQL server database not found: myvideos121
2024-05-15 15:52:42.040 T:4064    debug <general>: KS Cleaner parse: mysql 192.168.10.105 3306 kodi <removed> mymusic82

I wonder if is case sensitive. My dbs are MyVideos121 and MyMusic82
Reply
(2024-05-15, 22:01)sufreak Wrote:
(2024-05-15, 15:52)jbinkley60 Wrote:
(2024-05-15, 14:08)sufreak Wrote: Hey - just installed this add on to try it out.

I am using MySQL dbs, and when I set it to them, it told me they weren't found. Is there a configuration that needs to happen? (I know they're up and working, just connected to them with another db tool)

Here's the Wiki link on setting up MySQL connectivity.  If this doesn't help then I need to understand your addon settings for MySQL Database Names, your database names and your advancedsettings.zml database name fields.  It would also help to see the exact log message from the kodi.log file.


Thanks,

Jeff
Quote:2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25):  default.py
2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25, /storage/.kodi/addons/plugin.program.kscleaner/default.py): entering source directory /storage/.kodi/addons/plugin.program.kscleaner
2024-05-15 15:52:35.906 T:4064    debug <general>: CPythonInvoker(25, /storage/.kodi/addons/plugin.program.kscleaner/default.py): instantiating addon using automatically obtained id of "plugin.program.kscleaner" dependent on version 3.0.0 of the xbmc.python api
2024-05-15 15:52:36.815 T:4064     info <general>: KS Cleaner logging database check successful.  Addon started.
2024-05-15 15:52:36.830 T:4064     info <general>: Kodi Selective Cleaner Python vesion is: 3.11.2
2024-05-15 15:52:36.850 T:4064     info <general>: KS Cleaner music DB trigger checking is disabled
2024-05-15 15:52:36.902 T:4064    debug <general>: KS Cleaner parse: mysql 192.168.10.125 3306 kodi <removed> myvideos121
2024-05-15 15:52:37.422 T:720     debug <general>: ------ Window Init (DialogConfirm.xml) ------
2024-05-15 15:52:41.535 T:724     debug <general>: LIRC: - NEW 160 0 KEY_OK devinput (KEY_OK)
2024-05-15 15:52:41.572 T:720     debug <general>: HandleKey: 11 (0xb, obc244) pressed, window 12002, action is Select
2024-05-15 15:52:41.849 T:720     debug <general>: ------ Window Deinit (DialogConfirm.xml) ------
2024-05-15 15:52:41.872 T:4064     info <general>: KS Cleaner MySQL server database not found: myvideos121
2024-05-15 15:52:42.040 T:4064    debug <general>: KS Cleaner parse: mysql 192.168.10.105 3306 kodi <removed> mymusic82

I wonder if is case sensitive. My dbs are MyVideos121 and MyMusic82

Certain Kodi platforms are case sensitive.  What's the  OS on which you are running the addon ?  You can manually add MyVideos and MyMusic to the addon database name settings and see if that fixes it or update your advancedsettings.xml file to proper case.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(2024-05-15, 22:32)jbinkley60 Wrote: Certain Kodi platforms are case sensitive.  What's the  OS on which you are running the addon ?  You can manually add MyVideos and MyMusic to the addon database name settings and see if that fixes it or update your advancedsettings.xml file to proper case.
Thanks,
Jeff

I'm running on Linux, both Kodi and my sql db server. I'll try to mess with the add on later
Reply
Maybe try adding the <name>MyVideos121</name> tag
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
(2024-05-15, 23:08)Karellen Wrote: Maybe try adding the <name>MyVideos121</name> tag

Yes, that should work.  Right now the Kodi Selective Cleaner is seeing the name tag as all lowercase and Linux is case sensitive..


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
I added the names to the addon instead of default and it seemed to work.  Hopefully the next version can patch that.
Reply
(Yesterday, 00:56)sufreak Wrote: I added the names to the addon instead of default and it seemed to work.  Hopefully the next version can patch that.
There isn't anything the addon can do here.  Your advancedsettings.xml name doesn't match your database name for proper case.  If you changed the database settings back to Default and updated your  advancedsettings.xml file that should work too.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
My advancedsettings.xml doesn't specify a name, it uses default.
Quote:<videodatabase>
        <type>mysql</type>
        <host>192.168.10.125</host>
        <port>3306</port>
        <user>Removed</user>
        <pass>Removed</pass>
    </videodatabase>
Looking at common.py, changing:

line 145, myvideos  > MyVideos
line 205, mymusic > MyMusic

Wouldn't that solve the problem?

The Kodi documentation https://kodi.wiki/index.php?title=Databases states the names as  MyVideos and  MyMusic
Reply
(Yesterday, 01:24)sufreak Wrote: My advancedsettings.xml doesn't specify a name, it uses default.
Quote:<videodatabase>
        <type>mysql</type>
        <host>192.168.10.125</host>
        <port>3306</port>
        <user>Removed</user>
        <pass>Removed</pass>
    </videodatabase>
Looking at common.py, changing:

line 145, myvideos  > MyVideos
line 205, mymusic > MyMusic

Wouldn't that solve the problem?

The Kodi documentation https://kodi.wiki/index.php?title=Databases states the names as  MyVideos and  MyMusic

So you do not have name tags in your advancedsettings.xml file ?  If so, then your suggestion would fix it.  I presumed you had lowercase name tags.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
(Yesterday, 01:24)sufreak Wrote: Looking at common.py, changing:

line 145, myvideos  > MyVideos
line 205, mymusic > MyMusic

Wouldn't that solve the problem?

The Kodi documentation https://kodi.wiki/index.php?title=Databases states the names as  MyVideos and  MyMusic

I have posted version 1.0.5d which has the suggested change.  Once you install this version reset the database names back to Default and see if it works.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , CBC Sports, Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
  • 1
  • 14
  • 15
  • 16
  • 17
  • 18(current)

Logout Mark Read Team Forum Stats Members Help
Kodi Selective Cleaner addon support0