

KODI FILE RENAMER CODE
Here is a code snippet I am using to rename anycodings_batch-file the previously solo. The sizing is anycodings_batch-file something I handle manually, it's more of anycodings_batch-file getting the folder.jpg in place and letting anycodings_batch-file the rest of the script run accordingly.

So what I need is the batch to do is ignore anycodings_batch-file all files that end in *-thumb.jpg and only anycodings_batch-file renaming the one remaining random file name anycodings_batch-file to folder.jpg accordingly. The reason I do this is that anycodings_batch-file I have a certain file size (1440x960) for anycodings_batch-file the poster rendering across plex, serviio, anycodings_batch-file and Kodi.I have found that they are all anycodings_batch-file various sizes.so this script deals with anycodings_batch-file the replication. The random anycodings_batch-file filename is most likely from the filename it anycodings_batch-file has from sites like IMDB or themoviedb which anycodings_batch-file would previously be the only jpg and renamed anycodings_batch-file folder.jpg automatically keeping everything anycodings_batch-file as I'd expect. So I need my script to anycodings_batch-file rename the only remaining file that would be anycodings_batch-file there with any RANDOM filename which will be anycodings_batch-file shown in my screenshot below. jpg ends in anycodings_batch-file XXXXXXXXX-thumb.jpg.
KODI FILE RENAMER MP4
Now that anycodings_batch-file I've scraped the info properly, I have all anycodings_batch-file the MP4 files and now corresponding NFO and anycodings_batch-file thumbnail files for each episode.which anycodings_batch-file is what it is supposed to do.but now anycodings_batch-file causes havoc with my script as there are now anycodings_batch-file more than 1 jpg file present.

This worked great prior to me scraping the anycodings_batch-file folders with the Media Companion anycodings_batch-file tool.before the Media companion tools I anycodings_batch-file had within each season folder all the MP4 anycodings_batch-file files for that season.and a single anycodings_batch-file folder.jpg. My script takes anycodings_batch-file a copy of that, and moves it up a level and anycodings_batch-file renames it as Seasonxx-thumb and poster for anycodings_batch-file Kodi to use the posters that I specify. Within the season folders is a filed anycodings_batch-file typically called folder.jpg.
KODI FILE RENAMER SERIES
My script is used for TV Shows which are anycodings_batch-file broken out as ROOT > Series > Seasons anycodings_batch-file 1 - XX. I am having issues in one anycodings_batch-file particular area after an unexpected anycodings_batch-file condition showed up during the development. Return to to Kodi home screen, in some cases you may need to restart kodi for changes to take effect.I wrote a batch script to help assist in anycodings_batch-file images and posters that Kodi uses in anycodings_batch-file parallel with a program called Media anycodings_batch-file companion.
KODI FILE RENAMER INSTALL
To completely remove the Repo continue with the steps below 5.~ Click ADD-ONS > INSTALLER (box icon top left) > INSTALL FROM REPOSITORY 6.~ Scroll over the Repo with the same name your removed earlier so that it is highlighted > bring up the CONTEXT MENU 7.~ Select INFORMATION > UNINSTALL > click YES Shield: hold down button A 3.~ Select REMOVE SOURCE > click YES 4.~ Click OK > then click OK again > return to the Kodi home screen Return to to Kodi home screen, in some cases you may need to restart kodi for changes to take effect Kodi ESTUARY SKINġ.~ From the Kodi home screen SETTINGS (cog wheel top left) > FILE MANAGER 2.~ On the left scroll over the Repo you want to REMOVE so that it is highlighted > bring up the CONTEXT MENU Remote: Guide Button To completely remove the Repo continue with the steps below 5.~ Click SYSTEM > ADD-ONS > INSTALL FROM REPOSITORY 6.~ Scroll over the Repo with the same name your removed earlier so that it is highlighted > bring up the CONTEXT MENU 7.~ Select ADD-ON INFORMATION > UNINSTALL > click YES Shield: hold down button A 3.~Select REMOVE SOURCE > click YES 4.~ Return to the Kodi home screen 1.~ From the Kodi home screen under SYSTEM click FILE MANAGER 2.~ On the left scroll over the Repo you want to REMOVE so that it is highlighted > bring up the CONTEXT MENU Remote: Guide Button
