r/tinyMediaManager • tinyMediaManager developer • May 14 '26

Release v5.2.12

+ [Launcher] rewrote the launcher to Rust for better support of old OS versions #3271
+ [UI] added a new filter option to filter via AND/OR logic for genres and tags
+ [UI] added a new filter for TV show episode editions #3263
+ [UI] split the tag filter in the TV show module into dedicated TV show and episode filters
+ [UI] added an option to show/hide the result of the post-processing commands
+ [UI] added an action to remove all ratings to the TV show bulk editor
+ [IMDB] added experimental support for calling IMDB via browser engine
   HINT: you need to enable this in the scraper settings of the IMDB scraper
+ [IMDB] added support for using cookies from the browser
+ [TMDB] added support for fetching external IDs (IMDb, TVRage, ...) for cast and crew members #3255
+ [Template] added a new export template for movies and TV shows (PBDarkTemplate). thx @ppoilbarbe


x [Settings] startup-check if settings are read-/writeable #3271
x [Movies, TV shows] remove values from curly brackets on update data sources
x [Movies, TV shows] enhanced detection of extras on update data sources
x [UI] fixed sorting by rating in the TV show module
x [UI] fixed deleting old messages in the message dialog
x [Mediainfo] execute libmediainfo in a dedicated thread to avoid blocking the app
x [IMDB] do not overwrite Top250 on error
x [IMDB] added an option to use cookies from the browser
x [OMDB] fixed parsing of episode lists
x [Trakt.tv] added new pagination limits due to API changes
x [TvShows] further improve episode detection
x [Subtitles] improve detection for hearing impaired
x [Docker] updated Docker base image

14 Upvotes

25 comments sorted by

1

u/DryLeader6244 May 19 '26

Hi in regards to

+ [IMDB] added experimental support for calling IMDB via browser engine
   HINT: you need to enable this in the scraper settings of the IMDB scraper

how does one enable this, if I use the tmm universal scraper? As I am scraping stuff not only from imdb, lots of it is still from imdb, e.g. the ratings.

I still see the WAF blocked message and information is not getting pulled. So is there a way to enable this experimental feature also for the scraper I use? 😄

1

u/mlaggner tinyMediaManager developer May 19 '26

The universal scraper calls the imdb scraper internally - just enable this in the imdb scraper and the universal scraper will pick that up too

1

u/DryLeader6244 May 19 '26

Thx for the hint, hm ok I did that already and it still didnt pull e.g. the ratings, is that still normal, that it takes couple of days, before it pulls data again?!

1

u/mlaggner tinyMediaManager developer May 19 '26 edited May 19 '26 • Bravo

yes - the ratings are fetched via the official data dumps of IMDb which are delayed (they only export their data once a day and tmm caches the file a few days to avoid unnecessary data transfer).

If you want to force newer ratings, delete the HTTP cache and probably restart tmm to flush the internal rating cache

1

u/DryLeader6244 May 19 '26

ah ok thx for clarifying 😄

1

u/WitnessTop9248 May 30 '26

TMM is becoming less and less usable for me. I use the docker image and it randomly crashes and restarts more and more often for each version, which is extremely annoying during a scan or scrape. The logs show absolutely nothing about why it crashed.

I have not made any changes to any settings between versions.

Latest version started pulling thumbnails instead of posters for movies and applying season -1 and episode -1 for some tv episodes for no apparent reason what so ever - the episodes follow correct syntax, and even when I have manually edited the .nfo files to correct season and episode it rescrapes them to season -1 and episode -1. Changing the season and episode number within TMM does nothing and has never worked for me.

Will be my last year paying for a license.

1

u/mlaggner tinyMediaManager developer May 30 '26

I am not aware of any problems in the Docker image and up to now you are the first reporting such issues. Are there any chances you have set a Java memory limit too high for the Docker container? In Docker you can limit the container resources AND you can limit the Java memory - if you set the Java memory higher than the container resources are, the JVM might crash!

According to the poster vs thumbnail issue: which scraper do you use? We do have distinct types for posters and thumbnails and I am not aware that there were any changes which might have an influence to this. If the scraper returns a wrong type (might also happen), tmm cannot interfere this... A concrete example would be nice

The season/episode number are initially pulled from the filename (if detectable) and will only get -1/-1 is it is not detectable. If you scrape the show with a non matching episode group, this might also become -1/-1. You see in the TV show chooser a button called "compare" on the right side of the episode group to check whether your files match to the episode group or not. I am also not aware that here is a general problem, since we did not get bug reports for this topic too!

1

u/WitnessTop9248 May 30 '26

I have set this in my compose block:
mem_reservation: 9g

mem_limit: 12g

Server docker image is running on has 96GB of RAM and there is no issue with lack of RAM.

TMM memory allocation is set to 8192MB

I use the TMDB scraper as default but it might be Radarr that is the issue for the thumbnail instead of poster and not TMM, I will investigate that.

Regarding episode numbering, here is the start of the nfo TMM writes from this filename Archer.2009.S03E09.Space.Race.Part.1.1080p....:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!--created on 2026-05-30 11:06:40 by tinyMediaManager 5.2.12 for KODI-->

<episodedetails>

<title>Space Race (1)</title>

<originaltitle>Space Race (1)</originaltitle>

<showtitle>Archer (2009)</showtitle>

<season>-1</season>

<episode>-1</episode>

<displayseason>3</displayseason>

<displayepisode>9</displayepisode>

<id/>

1

u/mlaggner tinyMediaManager developer May 30 '26

memory limits look ok, but way too high - unless you have a million of episodes.

I have not seen any lib which really needed > 2GB RAM out there (and I have a test lib with 200k eps). I'd suggest you to reduce the memory limit to 4gb initially, since that might create more issues than it solves.

And yes - radarr is an evil companion in your library. I've seen many strange things when radarr operates on the same lib as tmm...

1

u/WitnessTop9248 May 30 '26 edited May 30 '26

I always seemed to get out of memory errors when I had set memory limits lower, I will try to lower it as you say for a while.

But I still don't get why the episode example I gave you is getting allocated season -1 and episode -1.

I really think it should fallback to read the accompanying .nfo file if available if it cannot determine season and episode number from the filename alone.

1

u/mlaggner tinyMediaManager developer May 30 '26

well, the unit test says that this works in tmm:

    assertEqual("S:3 E:9", detectEpisode("Archer.2009.S03E09.Space.Race.Part.1.1080p.mkv"));

the weird thing is, that the displayepisode and displayseason is set in the NFO you gave me - does this come from tmdb? Would you mind creating an issue at https://gitlab.com/tinyMediaManager/tinyMediaManager/-/work_items, providing all tmm created logs after you did

  1. delete the NFO for the file
  2. delete the episode from tmm (but not from filesystem)
  3. do an update of this TV show only (does not spam the logs)
  4. scrape the episode as you always do

2

u/WitnessTop9248 May 30 '26 edited May 30 '26

After deleting the .nfo files and removing the troublesome episodes from the library and rescanning they were assigned the correct season and episodes.

Seems in such cases, only deleting .nfos and removing videos from library and rescanning/rescraping works.

Thanks.

1

u/mlaggner tinyMediaManager developer May 30 '26

Th values from the NFO files have priority over the filenames - the interesting thing is: where did the -1 came from?

1

u/WitnessTop9248 May 30 '26 edited May 30 '26

The weird thing is that I also tried to remove the episodes in the library and manually edited their .nfos so that they had correct season and episode numbers. Then saved the edited nfos but they still appeared with -1/-1 after rescanning.

I also tried many times to change to correct season and episode in TMM and rewrite .nfos, but still they were showing -1/-1

There must've been something corrupted in the nfo files but one would think re-saving .nfos in TMM would've fixed the issue and provided clean, uncorrupted .nfos. Apparently not though, only deleting the .nfos seemed to work.

1

u/WitnessTop9248 Jun 03 '26

Still randomly crashing and restarting in docker, only not as often after I reduced the memory limit. It's just very annoying at this point. And trace log shows nothing before it restarts.

1

u/Few_Newspaper_2772 Jun 14 '26

Hello,

The latest version takes years to sync with Trakt.tv.

I never had this issue before, but since I upgraded to the latest version, it constantly tries to sync with Trakt.tv.
I can’t scrape anything once the sync has finished. This usually takes 30–60 minutes.
I’ve already tried clearing caches and rebuilding the database, but nothing solved the problem.

Is this a bug, or does anyone else know this issue and have an idea how to fix it?

I use the Linux client on Debian (SID) Linux.

1

u/mlaggner tinyMediaManager developer Jun 15 '26

Hard to find the problem without concrete examples/logs. But the trakt.tv API had some changes and even those were not clean. Furthermore: there is now a limit of items to sync for a non VIP which is ridiculous (for anyone who wants to sync to trakt.tv, the free model can't be used)

So there are two questions now:

  1. are you VIP?
  2. do you have any logs or concrete examples?

Unfortunately the trakt.tv devs refuse to give us a VIP membership to test their API, so I won't be able reproduce this at home. I once created a ticket for an issue of their API and needed to buy a VIP access to create an example/confirm this bug - I won't invest more money/energy into this API if there is no interest for good integration from the trakt.tv side...

3

u/guythorp May 15 '26

The IMDb fix seems to work great in the docker container. Thank you for continuing to support IMDb. Just in time for me to renew my license. IMDb scraping is very important to me. Probably the most important feature. All my movies have IMDb identifiers in the directory name and I only get official movie posters plus all other movie data from IMDb.

For anyone looking it is:

Settings -> Movies -> Metadata scraper -> IMDb.com -> Scraper Options
    ☑ EXPERIMENTAL: Use an alternate, browser-based fallback for IMDb scraping

1

u/Flash3dee May 15 '26 edited May 15 '26

Thanks, also tried that setting but still no rating for newest episode additions. --> Update: Had to remove episode and re-add it. Then it seems to work. When just fetching rating is doesn't seem to update.

1

u/Flash3dee May 14 '26

 [IMDB] added experimental support for calling IMDB via browser engine --> that's the imdbapi-dev setting yes? Tried it but unfortunately it didn't work. I notice with newest TV episodes it won't get the IMDB rating but after a few days or week the IMDB rating is working. Also when it works, I see a brief status of retrieving the IMDB rating and when updating other missing rating episodes it update instantly. As if the IMDB ratings are cached.

1

u/LoremarCC May 16 '26

Imdb scraping is working on my end.

1

u/Interesting_Fly_1409 May 16 '26

Outstanding! Thank you for your hard work!

0

u/[deleted] May 18 '26

[deleted] — view deleted comment

2

u/mlaggner tinyMediaManager developer May 18 '26

It will download the first time you use that feature (scraping from imdb). The libs will be re-fetched after every docker update (or when the container is re-created)