Kodi Community Forum
Episode Genre or Tag options/usage? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Episode Genre or Tag options/usage? (/showthread.php?tid=370218)



Episode Genre or Tag options/usage? - ac0mputerguru - 2022-10-30

I want to classify specific episodes as "Chirstmas" "Halloween", or whatever suits my fancy. Is there a way to do this? I have nieces and nephews that it'd be nice to just start a playlist of a particular holiday's tv offerings by just selecting "genre" or something.


RE: Episode Genre or Tag options/usage? - Karellen - 2022-10-30

@ac0mputerguru

You could create a Basic Playlist... https://kodi.wiki/view/Basic_playlists


RE: Episode Genre or Tag options/usage? - jchaven - 2022-11-10

If you're going to edit the NFO file you need to use tags and not edit the genre. The genres will be reset if the NFO is replaced either by you or by some media manager (Sonarr). This is what you'll need to do if the content is in your library.

That said, this is how I handle "special" content (Halloween, Christmas, etc.) I have content outside of the library so as not to have to browse past this content during the year. Much of this is science and nature, food and travel, and documentaries - stuff my family doesn't want to see or deal with to get to the "normal" shows or movies.

I keep this stuff in a folder named "Other" and get to it with an entry in the "Favorites" folder ("/storage/.kodi/userdata/favourites.xml"). Because I don't want to see seasonal stuff throughout the year I keep Christmas, Halloween, and Thanksgiving content in hidden folders. Screenshot: Image

Then right before the holidays I edit the favourites.xml to include the hidden folder on the Favorites page in kodi. These are the three lines that get added to the favourites.xml file:
xml:

    <favourite name="Halloween" thumb="/storage/nas/media/admin/graphics/Square Covers/logo-halloween.jpg">ActivateWindow(10025,&quot;/storage/nas/media/Other/.Halloween/&quot;,return)</favourite>
    <favourite name="Thanksgiving" thumb="/storage/nas/media/admin/graphics/Square Covers/logo-thanksgiving.jpg">ActivateWindow(10025,&quot;/storage/nas/media/Other/.Thanksgiving/&quot;,return)</favourite>
    <favourite name="Christmas" thumb="/storage/nas/media/admin/graphics/Square Covers/logo-christmas.jpg">ActivateWindow(10025,&quot;/storage/nas/media/Other/.Christmas/&quot;,return)</favourite>

Here is what my current favourites.xml file looks like now in preparation of Thanksgiving:
xml:
<favourites>
    <favourite name="Thanksgiving" thumb="/storage/nas/media/admin/graphics/Square Covers/logo-thanksgiving.jpg">ActivateWindow(10025,&quot;/storage/nas/media/Other/.Thanksgiving/&quot;,return)</favourite>
    <favourite name="Other" thumb="/storage/nas/media/admin/graphics/Square Covers/other1.png">ActivateWindow(10025,&quot;/storage/nas/media/Other/&quot;,return)</favourite>
    <favourite name="Other" thumb="/storage/nas/media/admin/graphics/Square Covers/other2.png">ActivateWindow(10025,&quot;/storage/nas/temp/Other/&quot;,return)</favourite>
    <favourite name="Music Videos" thumb="/storage/nas/media/admin/graphics/Square Covers/logo-mtv.png">PlayMedia(&quot;special://profile/playlists/video/Music Videos.m3u&quot;)</favourite>
    <favourite name="WSHE Classic Rock" thumb="/storage/nas/media/admin/graphics/Square Covers/wshe.jpg">PlayMedia(&quot;/storage/nas/media/Joey/Streams/wshe.strm&quot;)</favourite>
    <favourite name="Rebel 99 Rock" thumb="/storage/nas/media/Joey/Streams/Rebel 99 Rock.jpg">PlayMedia(&quot;/storage/nas/media/Joey/Streams/Rebel 99 Rock.strm&quot;)</favourite>
    <favourite name="Netcasts" thumb="/storage/nas/media/admin/graphics/Square Covers/netcasts.png">ActivateWindow(10025,&quot;/storage/nas/temp/Other/Netcasts/&quot;,return)</favourite>
    <favourite name="Science and Nature" thumb="/storage/nas/media/Other/Science and Nature/folder.jpg">PlayMedia(&quot;special://profile/playlists/video/Science and Nature.m3u&quot;)</favourite>
    <favourite name="Star Trek: Strange New Worlds" thumb="/storage/nas/media/Everyone/TV/Star Trek- Strange New Worlds/poster.jpg">ActivateWindow(10025,&quot;videodb://tvshows/titles/355/&quot;,return)</favourite>
    <favourite name="Star Trek: Voyager" thumb="/storage/nas/media/Everyone/TV/Star Trek Voyager/poster.jpg">ActivateWindow(10025,&quot;videodb://tvshows/titles/51/&quot;,return)</favourite>
    <favourite name="MasterChef Australia" thumb="/storage/nas/temp/TV/MasterChef Australia/poster.jpg">ActivateWindow(10025,&quot;videodb://tvshows/titles/245/&quot;,return)</favourite>
</favourites>

I use a bash script via cron to automatically swap-out my favorites file at certain times of the year. But, you can just edit the file manually - I did this for years.

Hope this helps,
Joey


RE: Episode Genre or Tag options/usage? - ac0mputerguru - 2023-10-21

The proper answer is to install the "Metadata Editor" extension and modify the metadata. I added Christmas, Halloween, and Holiday as new genres. Then, I went into each item and edited the metadata to include the new genre. A clean, easy-to-use, Kodi supported solution that doesn't involve ANYTHING like crone.

HOWEVER, because Kodi apparently doesn't keep a genre for individual episodes, this only works for movies. *SIGH* SO, I had to make individual play lists for each holiday. Time consuming, yes. But, neatly accomplished my goal.

Overwriting NFO isn't a problem for me, as Kodi is the only thing I use to play videos and nothing else touches the NFO files, ever. Also, I believe you have to export the library to update the NFOs, at least that's how it used to work. I export every month, to ensure any Kodi changes have been written into the NFOs.


RE: Episode Genre or Tag options/usage? - NeoCortex - 2023-10-22

The way I do this (which probably isn't the best way, but is easy enough for my purposes) is to use ratings.  I don't do anything else with ratings on individual episodes.  So I just use Rating 1=Christmas, 2=Thanksgiving, etc and use a smart playlist for each holiday.

This obviously isn't going to work for everybody, especially if you actually use your ratings, but it's dead easy to do and just rate new relevant episodes as they're added to the library.  Also, this way I can have the ratings saved on export to nfo files.  So if I have to rebuild my library or move files around, I don't have to re-do anything.