Release -  context menu manage tags
#16
thank you for the reply and the great info.
i am using it to make a watch list of films we want to be next on our viewing list.
also a list of wife only films sounds like a great idea

thanks again
Reply
#17
zosky, thanks so much for this add-on.  I have been using Tag Overview but have had problems with it since upgrading to Krypton, and your add-on fills the gap.

Do you think you might be able to alphabetize the tags for a future release?  They seem to be listed in the order they were created, and if you have a lot of tags, they are hard to find.  It's also a way to prioritize the tags (e.g. i have a tag "AAA Watch Soon" which for Tag Overview showed up at the top so i could easily select it while browsing my library).

Regardless of whether or not you do any further updates, thanks so much for what you've done!
Reply
#18
thank you for this add-on, it is exactly what me and my wife use to create 3 smart playlists (his, hers, common) Smile. I was wondering if it is possible to create a shortcut to show the tags selector window? anyhow - thank you so much!!!
Reply
#19
great work on the addon - this is (almost) exactly what I was looking for to tag "Kids" movies.

Would it be possible to add the "Tags" context menu to the "Recently Added" (or even the "UnWatched") context menu? 

I find that when I add movies in bulk, it would be easier to tag them from the "Recently Added" menu versus going into the full list of movies.  Like you, I have about 1,600 movies in my collection.

EDIT: another approach might be to add the "Manage" option to the "Recently Added" (or even the "UnWatched") context menu.  Not sure how hard that would be though.

Note that I am currently running Kodi 17.4.

Thoughts?
Reply
#20
Hi…  Does this addon still work?   When I go to Manage->Tags I get an error, says see Log.  Log says:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: invalid literal for int() with base 10: '' Traceback (most recent call last): File "/home/osmc/.kodi/addons/context.tags/addon.py", line 76, in main() File "/home/osmc/.kodi/addons/context.tags/addon.py", line 26, in main assetID = int(xbmc.getInfoLabel('ListItem.DBID')) ValueError: invalid literal for int() with base 10: '' -->End of Python script error report<--]8   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/context.tags/addon.py", line 76, in <module>
                                                main()
                                              File "/home/osmc/.kodi/addons/context.tags/addon.py", line 26, in main
                                                assetID = int(xbmc.getInfoLabel('ListItem.DBID'))
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--

Reply
#21
Sorting can be accomplished by adding the following code to the "addon.py" module, just BEFORE the "# MASSAGE TAG LIST INTO MULTI-SELECT FORMAT" comment:

    # SORT TAGS ALPHABETICALLY
    allTAGS.sort()

Note that spelling is CaSe-SeNsItIvE, so type it exactly as it's spelled.

The "addon.py" module is located in the "C:\Users\YOURUSERID\AppData\Roaming\Kodi\addons\context.tags" folder, where "YOURUSERID" is your Windows logon id.
I'm not sure where it's located for other platforms, as I'm a Windows guy.

I also updated the code for the author (Zosky) in a personal repository on GitHub, which he has to approve and merge into his code base.  Hopefully he can merge the changes, create a new zip file, and publish to the Kodi repository so it automatically gets updated from the Kodi UI.

Hope it helps!
Reply
#22
Not sure if you're still following this thread or not ...

Sorting can be accomplished by adding the following code to the "addon.py" module, just BEFORE the "# MASSAGE TAG LIST INTO MULTI-SELECT FORMAT" comment:

    # SORT TAGS ALPHABETICALLY
    allTAGS.sort()

Note that spelling is CaSe-SeNsItIvE, so type it exactly as it's spelled.

The "addon.py" module is located in the "C:\Users\YOURUSERID\AppData\Roaming\Kodi\addons\context.tags" folder, where "YOURUSERID" is your Windows logon id.
I'm not sure where it's located for other platforms, as I'm a Windows guy.

I also updated the code for the author (Zosky) in a personal repository on GitHub, which he has to approve and merge into his code base.  Hopefully he can merge the changes, create a new zip file, and publish to the Kodi repository so it automatically gets updated from the Kodi UI.  I have not heard back from him yet on this, so not sure if he is still active in the Kodi community or not.  If not, I have an updated AddOn install .ZIP file I can send you with the changes, if you would rather update it via the Kodi UI instead of modifying the Python code manually.  Just private message me and I'll send it your way.

Hope it helps!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
context menu manage tags00