Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add a custom value for Music library node #60

Open
Shredder5262 opened this issue Nov 23, 2023 · 1 comment
Open

Unable to add a custom value for Music library node #60

Shredder5262 opened this issue Nov 23, 2023 · 1 comment

Comments

@Shredder5262
Copy link

I am trying to add a custom property for soundtracks (similar to complications) where if soundtrack = true then the album is displayed within the node. When i try to add the custom property of 'soundtrack' I get an error that displays in this log.

2023-11-23 11:21:48.305 T:2456 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'AttributeError'> Error Contents: 'str' object has no attribute 'decode' Traceback (most recent call last): File "D:\Kodi V20\Kodi V20.2\portable_data\addons\plugin.library.node.editor\plugin.py", line 6, in <module> addon.run(sys.argv) File "D:\Kodi V20\Kodi V20.2\portable_data\addons\plugin.library.node.editor\resources\lib\addon.py", line 834, in run Main(params, ltype, RULE, ATTRIB, PATHRULE, ORDERBY) File "D:\Kodi V20\Kodi V20.2\portable_data\addons\plugin.library.node.editor\resources\lib\addon.py", line 254, in __init__ self.PATHRULE.editMatch( self.PARAMS[ "actionPath" ], int( self.PARAMS[ "rule" ] ) ) File "D:\Kodi V20\Kodi V20.2\portable_data\addons\plugin.library.node.editor\resources\lib\pathrules.py", line 194, in editMatch self.manuallyEditMatch( actionPath, ruleNum, splitPath[ ruleNum ][ 0 ], currentValue ) File "D:\Kodi V20\Kodi V20.2\portable_data\addons\plugin.library.node.editor\resources\lib\pathrules.py", line 203, in manuallyEditMatch self.ATTRIB.writeUpdatedPath( actionPath, ( ruleNum, returnVal.decode( "utf-8" ), currentValue ) ) AttributeError: 'str' object has no attribute 'decode' -->End of Python script error report<--

@Shredder5262
Copy link
Author

Is this repo being monitored/ supported anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant