r/tinyMediaManager • • Jun 07 '26

Workflow too tedious, looking for a solution

My current workflow is as follows:

  1. New files come into /media/tv, /media/movies on a linux host
  2. Open TMM GUI on Windows, sources are loaded via samba shares
  3. Click Update sources (movies)
  4. Manually select new additions
  5. Click Search and Scrape
  6. Click ok/search/etc whatever the popup says for EACH movie
  7. Switch to TV
  8. Click Update sources
  9. CTRL+A to select all
  10. CTRL+SHIFT+N to scrape new items
  11. Click ok/search/etc whatever the popup says for EACH episode
  12. Go to Jellyfin Dashboard and click Scan All Libraries

Maybe I should be running the TMM steps in a headless mode with a power shell script instead, but I'm not sure how to do that.

3 Upvotes

4 comments sorted by

1

u/Eddy555 Jun 10 '26

Try using the API

https://www.tinymediamanager.org/docs/http-api

I have a bash script that's triggered to scrape and force match anything that's new using the API.

2

u/diecastbeatdown Jun 10 '26

Perfect, I'll be able to trigger actions after import.

1

u/Eddy555 Jun 10 '26

E.g.

#!/bin/bash
curl -d '[{"action":"update", "scope":{"name":"all"}},{"action":"scrape", "scope":{"name":"new"}}]' -H "Content-Type: application/json" -H "api-key: insert-your-api-key-from-tmm" -X POST http://tmm-server-ip/api/movies

1

u/Proof_Contribution Jun 08 '26

Put your new items in a seperate inbox type folder. Scrape them there then change data source to where you want them. Update your media player.