2023-11-09, 02:34
I guess i have to resign myself and post a bug after i swore i was done because of a previous altercation where i wasn't believed. My wife wants to watch the Arrowverse and i need to set it up like i did with One Chicago:
This worked fine on Kodi 19 but i just tried in Kodi 20.2 and it doesn't. Even the previously working One Chicago smart playlist does the same.
The one where one of the mods said it was working but i know it doesn't is the <dateadded>1</dateadded> in advancedsettins.xml. Yes it works for Movies but not for Episodes. It has been broken for quite some time but since i have a workaround, i didn't want to deal with the aggravating back and forth.
So my workaround is to run an SQL statement to manually update the dateAdded field:
What this does is set the date added of every episode to the air date/premiere date from the episode metadata.
The smart playlist is configured like so:
But when i open the playlist, it is NOT sorted by date added:
If i run the following SQL, i can see what the order SHOULD be (no time to figure out how tags are stored so i explicitly look for the shows):
Hopefully you can see this is actually a bug and i am not trolling.
On another note, why is it that the smart playlist doesn't allow you to sort by Air date or Premiere date for episodes? Seems like that would be a pretty useful feature.
Same for Movies. It would be nice to sort by Release date. Would be extremely helpful for movie collections that have movies released in the same year where the sort title doesn't help.
Perfect example is for Stand-Up comics that release multiple shows in the same year. With a smart playlist that sorts on Release date, you can watch them in chronological order.
Right now, i add the date in ISO format in the sort title of Stand-Up comic movies. Like Jim Gaffigan 2023-11-07.
- Tag all the TV Shows that are part of the Arrowverse
- Create a Smart Playlist to search for all Episodes that have that tag
- Sort by Date Added Ascending
This worked fine on Kodi 19 but i just tried in Kodi 20.2 and it doesn't. Even the previously working One Chicago smart playlist does the same.
The one where one of the mods said it was working but i know it doesn't is the <dateadded>1</dateadded> in advancedsettins.xml. Yes it works for Movies but not for Episodes. It has been broken for quite some time but since i have a workaround, i didn't want to deal with the aggravating back and forth.
So my workaround is to run an SQL statement to manually update the dateAdded field:
SQL:update myvideos121.files files
inner join myvideos121.episode episode on
files.idFile = episode.idFile
set files.dateAdded = episode.c05;
What this does is set the date added of every episode to the air date/premiere date from the episode metadata.
The smart playlist is configured like so:
But when i open the playlist, it is NOT sorted by date added:
If i run the following SQL, i can see what the order SHOULD be (no time to figure out how tags are stored so i explicitly look for the shows):
SQL:select strFilename, dateAdded from myvideos121.files
where strFilename like 'Arrow%' or strFilename like 'The Flash%' or strFilename like 'Supergirl%' or strFilename like 'Black Lightning%' or strFilename like 'DC\'s Legends%' or strFilename like 'Constantine -%'
order by dateAdded;
Hopefully you can see this is actually a bug and i am not trolling.
On another note, why is it that the smart playlist doesn't allow you to sort by Air date or Premiere date for episodes? Seems like that would be a pretty useful feature.
Same for Movies. It would be nice to sort by Release date. Would be extremely helpful for movie collections that have movies released in the same year where the sort title doesn't help.
Perfect example is for Stand-Up comics that release multiple shows in the same year. With a smart playlist that sorts on Release date, you can watch them in chronological order.
Right now, i add the date in ISO format in the sort title of Stand-Up comic movies. Like Jim Gaffigan 2023-11-07.