Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

340 changes: 340 additions & 0 deletions script.tag-generator/LICENSE

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions script.tag-generator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Kodi tag-generator
Discussion: https://forum.kodi.tv/showthread.php?tid=140494

Tag generator helps you create Smart Playlists from IMDb/Trakt Watchlists by tagging local movies found in specified lists.
Also creates a stand-up comedy tag based on Wikipedia comedians, as there is no genre for stand-up.
Specify your IMDb/Trakt watchlists then choose the desired Kodi tag for each list.
Runs as a service in the background at a specified interval, and also allows for manual creation.
For Trakt, you can add lists from your own account, from public accounts, or shared lists from anyone you are friends with (people you follow, who follow you back).
Oscar tagging lets you tag winners and/or nominees with each award for each movie in the following format 'Winner: Best Motion Picture'. Tagging is limited to the first 5 Oscar awards per film.

Download as a zip then install via the Kodi interface.
33 changes: 33 additions & 0 deletions script.tag-generator/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.tag-generator"
name="Tag Generator"
version="0.9.0"
provider-name="wellspokenman">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.requests" version="2.31.0"/>
<import addon="script.module.six" version="1.9.0"/>
<import addon="script.module.beautifulsoup4" version="4.12.2"/>
</requires>
<extension point="xbmc.service" library="main.py" />
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary lang="en_GB">IMDB, Trakt, Oscar and Stand-up Tag Generator</summary>
<description lang="en_GB">Helps you create Smart Playlists from IMDb/Trakt Watchlists by tagging local movies found in specified lists. Also creates a stand-up comedy tag based on Wikipedia comedians, as there is no genre for stand-up. Specify your IMDb/Trakt watchlists then choose your desired Kodi tag for each list. Runs as a service in the background at a specified interval, and also allows for manual creation. For Trakt, you can add lists from your own account, from public accounts, or shared lists from anyone you are friends with (people you follow, who follow you back). Oscar tagging lets you tag winners and/or nominees with each award for each movie in the following format 'Winner: Best Motion Picture'. </description>
<license>GPL-2.0-only</license>
<forum>https://forum.kodi.tv/showthread.php?tid=140494</forum>
<source>https://github.com/wellspokenman/tag-generator</source>
<news>
v0.9.1 (August 30th, 2025)
- Kodi 21 Support
- Fixed IMDb parsing of Oscars
- Fixed Wikipedia scraping for stand-up comedians
- Fixed Trakt authentication
</news>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.jpg</fanart>
<clearlogo>resources/clearlogo.png</clearlogo>
</assets>
</extension>
</addon>
50 changes: 50 additions & 0 deletions script.tag-generator/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
v0.9.1 (August 30th, 2025)
- Kodi 21 Support
- Fixed IMDb parsing of Oscars
- Fixed Wikipedia scraping for stand-up comedians
- Fixed Trakt authentication

v0.7 (December 12th, 2018)
- Kodi 18 support
- Bugfix for multiple Trakt users (https://github.com/ryanjerksine)
- Bugfixes and code cleanup

v0.6 (December 12th, 2018)
- Added Oscar award/nominee tagging (inspired by Jorge: https://github.com/bluesauce)
- Updated regex to support IMDb lists of all types (Top250, Academy Awards, Sundance etc)
- Added notifications (can be disabled in Settings)
- Service interval now relies on local machine time
- Fixed bug that prevented service from exiting cleanly in some situations
- Trakt token in settings is now read-only
- Replaced urllib2 with requests
- Code cleanup (a lot of string IDs have changed)

v0.5 (April 4th, 2017)
- added Trakt support for 2.0 API (depends on PyTrakt, by Jon Nappi)
- code cleanup and text amendments
- wikipedia URL updated

v0.4 (October 31st, 2015)
- Kodi support (14 and 15)
- IMDB lists now in RSS format.
- error handling for network problems
- removed trakt (other addons do this now)
- removed music

v0.3
- Added Trakt support for movie watchlist and custom watchlists
- Custom Trakt lists are tagged by their name
- Added debug mode
- Made a pretty icon
- code cleanup and speed tweaks

v0.2
- Uses JSON to write the tags so now it's much more portable.
- Should work for people using MySQL just fine.
- MUCH better progress updates, logging and error checking.
- Writes tags instead of playlists - much more flexible
- Preserves existing tags and only writes as needed
- New feature - much slower! That's just how JSON rolls I'm afraid.
- Background music (to comfort you while you wait)
- Uses the xbmc "label" to make a match (no more folder name dependence)
- Option to wipe all your tags if you want to start from scratch
Loading
Loading