Happy2Play 9780 Posted February 21, 2021 Posted February 21, 2021 I still use MCM with adaptive trailers setting, but like others it is dependent on the url provided from TMDB.
ebr 16178 Posted February 21, 2021 Posted February 21, 2021 12 hours ago, AxeMan said: I get that it's not an easy thing It isn't that it is hard. It is that, for the most part, it is illegal.
horstepipe 422 Posted April 14, 2021 Posted April 14, 2021 On 2/19/2021 at 9:19 AM, GrimReaper76 said: Edit: Actually, they HAVE to be moved, standard title-trailer naming scheme does not apply on TV Shows, Trailers subfolder is a must. TMM+script have been doin' that for years, completely forgot about it. @cayars Maybe wiki update to emphasize? Would you please mind to share your script to create and move trailers into trailer directory?
Carlo 4561 Posted April 14, 2021 Posted April 14, 2021 42 minutes ago, horstepipe said: Would you please mind to share your script to create and move trailers into trailer directory? He's likely doing this at the time of using TMM and not after the fact when things are already loaded in Emby. How many shows do you have with trailers? What OS are you using?
horstepipe 422 Posted April 14, 2021 Posted April 14, 2021 11 minutes ago, cayars said: He's likely doing this at the time of using TMM and not after the fact when things are already loaded in Emby. yes same here. Windows or Linux, doesn't matter.
Carlo 4561 Posted April 14, 2021 Posted April 14, 2021 What does one of your media folders currently look like with trailers in them?
horstepipe 422 Posted April 14, 2021 Posted April 14, 2021 sorry but please just say what you really want / where your questions are going to so we can fasten that up lol. I was just asking @GrimReaper76 if he'd be so kind and share his script which takes \tvshow\trailer.mp4 to \tvshow\trailers\trailer.mp4 for multiple folders so Emby recognizes them. For sure I can get to that by myself but if he already has it and is willing to share I can save some time.
GrimReaper 4740 Posted April 14, 2021 Posted April 14, 2021 2 hours ago, horstepipe said: Would you please mind to share your script to create and move trailers into trailer directory? Sure, gimme few hours to get back home. 1
GrimReaper 4740 Posted April 14, 2021 Posted April 14, 2021 OK, back. For retoractively scan for your trailers and move to \trailers\ subfolder, you can either run CMD line: FOR /d %A IN ([path to your parent tv-shows folder]\*) DO mkdir "%A\Trailers" & move "%A\*trailer.*" "%A\Trailers" or run a crudely-made script out of it from inside your parent folder: tvshow-trailers.bat You might need to adjust that for your trailer naming scheme, as until recently the only option in TMM was to name it tvshow-trailer.ext. However, note that following few issues I raised here: TMM/Emby : tinyMediaManager (reddit.com) latest TMM 4.1.3 brought few Emby compatibility improvements: Release 4.1.3 : tinyMediaManager (reddit.com) + Emby compatibility enhancements (TV shows) proper trailer naming for Emby (TV shows) added tmdbid to the NFO (TV shows) added option to write <enddate> to the TV show NFO (TV shows) added option to write all actors/guests into the TV show NFO One of them being saving TV show trailers into \trailers\ subfolder (yay!), therefore eliminating the need for any manual action going forward, either through CMD or script: Hope all that was clear enough, nudge for any additional assistance required. Cheers tvshow-trailers.bat 2
Painkiller88 249 Posted July 3, 2023 Posted July 3, 2023 before i buy the youtube trailers plugin, can anyone please check if it is still working? As youtube changed something and the download-yt script is no longer working. thanks
Carlo 4561 Posted July 5, 2023 Posted July 5, 2023 To the best of my knowledge, this plugin no longer works. Carlo 1
solidsnakex37 55 Posted September 20, 2023 Posted September 20, 2023 On 9/3/2020 at 2:09 PM, Carlo said: You can script it as well and run it from the command line. I know this might be a bit out of scope, but I've been trying to do just this. I bought TMM Pro specifically for trailer downloads for TV shows only. It works, but not in an automated sense. I use Unraid, with a TMM docker and to "auto update" the sources I have a script the restarts the container every 6 hours. But to just scrape and download the trailers for shows I have to highlight everything, then scrape. Do you have any suggestions on how to automate this by chance, if you still use it? TMM had API now, but when I try and run the curl command in unraid console TMM doesn't do anything. I don't get any errors, but it just doesn't respond. I found somewhere on reddit that someone was using the below script to do it, but it didn't work for me. kill $(pidof java) && /appdata/tinyMediaManager movie -u -n && /appdata/tinyMediaManager tvshow -u -n && kill $(pidof java) I then tried the below API for TMM, but nothing happens curl -d '[{"action":"update", "scope":{"name":"all"}},{"action":"scrape", "scope":{"name":"new"}}]' -H "Content-Type: application/json" -H "api-key: redacted" -X POST http://localhost:7878/api/tvshows I feel like I am so close, I just need to automate the scraping and I will be good. I am open to other programs if there is something better, all I want is trailers for tv shows.
AxeMan 25 Posted September 20, 2023 Posted September 20, 2023 23 minutes ago, solidsnakex37 said: I know this might be a bit out of scope, but I've been trying to do just this. I bought TMM Pro specifically for trailer downloads for TV shows only. It works, but not in an automated sense. I use Unraid, with a TMM docker and to "auto update" the sources I have a script the restarts the container every 6 hours. But to just scrape and download the trailers for shows I have to highlight everything, then scrape. Do you have any suggestions on how to automate this by chance, if you still use it? TMM had API now, but when I try and run the curl command in unraid console TMM doesn't do anything. I don't get any errors, but it just doesn't respond. I found somewhere on reddit that someone was using the below script to do it, but it didn't work for me. kill $(pidof java) && /appdata/tinyMediaManager movie -u -n && /appdata/tinyMediaManager tvshow -u -n && kill $(pidof java) I then tried the below API for TMM, but nothing happens curl -d '[{"action":"update", "scope":{"name":"all"}},{"action":"scrape", "scope":{"name":"new"}}]' -H "Content-Type: application/json" -H "api-key: redacted" -X POST http://localhost:7878/api/tvshows I feel like I am so close, I just need to automate the scraping and I will be good. I am open to other programs if there is something better, all I want is trailers for tv shows. Can you use Emby's webhook to trigger this?
solidsnakex37 55 Posted September 20, 2023 Posted September 20, 2023 1 hour ago, AxeMan said: Can you use Emby's webhook to trigger this? That would be awesome if I could...I am not sure though. I just tested this but Emby keeps saying there is an error, but I am too ilterate to know if I am the issue or if it won't work on a localhost URL lol Though having it trigger a trailer scrape upon new media being added would be the absolute perfect solution.
Carlo 4561 Posted September 22, 2023 Posted September 22, 2023 @solidsnakex37 what does the error look like or say? Do you see an error in the log file as well? If so, upload the information such as screenshot or log file so we can have a look. Carlo
solidsnakex37 55 Posted September 22, 2023 Posted September 22, 2023 40 minutes ago, Carlo said: @solidsnakex37 what does the error look like or say? Do you see an error in the log file as well? If so, upload the information such as screenshot or log file so we can have a look. Carlo Well it could be me doing something wrong, as I assume the URL field for the webhook isn't set to take curl commands, but I don't know what I don't know lol The error is this: In the logs it says: System.UriFormatException: System.UriFormatException: Invalid URI: The URI scheme is not valid. The issue for me is I don't know how to format an API call for a URL format, so I am only using the CURL examples from the page below. TMM support is non-existent, so I can't ask. Tried posting to their reddit but it's just dead-air. https://www.tinymediamanager.org/docs/http-api curl -d '[{"action":"update", "scope":{"name":"all"}},{"action":"scrape", "scope":{"name":"new"}}]' -H "Content-Type: application/json" -H "api-key: redacted" -X POST http://localhost:7878/api/tvshows
Luke 42078 Posted September 23, 2023 Posted September 23, 2023 On 9/22/2023 at 12:02 PM, solidsnakex37 said: Well it could be me doing something wrong, as I assume the URL field for the webhook isn't set to take curl commands, but I don't know what I don't know lol The error is this: In the logs it says: System.UriFormatException: System.UriFormatException: Invalid URI: The URI scheme is not valid. The issue for me is I don't know how to format an API call for a URL format, so I am only using the CURL examples from the page below. TMM support is non-existent, so I can't ask. Tried posting to their reddit but it's just dead-air. https://www.tinymediamanager.org/docs/http-api curl -d '[{"action":"update", "scope":{"name":"all"}},{"action":"scrape", "scope":{"name":"new"}}]' -H "Content-Type: application/json" -H "api-key: redacted" -X POST http://localhost:7878/api/tvshows No, it needs to be a url.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now