Rocky5 Wrote:Worked great. I've added .iso, .img and .vob for my collection but would like to know how I can also move the .nfo, .tbn and -fanart.jpg into the new folders as well please?Code:
@echo off
:start
dir /b "*.avi">>list.txt
dir /b "*.bin">>list.txt
dir /b "*.mkv">>list.txt
dir /b "*.rmvb">>list.txt
dir /b "*.mp4">>list.txt
SetLocal EnableDelayedExpansion
For /F "tokens=* delims=" %%A in (list.txt) Do (
Set TxtLine=%%A
Set TxtLine=!TxtLine:.avi=!
Set TxtLine=!TxtLine:.rmvb=!
Set TxtLine=!TxtLine:.mkv=!
Set TxtLine=!TxtLine:.mp4=!
Set TxtLine=!TxtLine:.bin=!
echo !TxtLine!>>tmp.txt)
ren "tmp.txt" "DirList.txt"
For /F "tokens=* delims=" %%a in (DirList.txt) do md "%%a"
for /f "tokens=* delims=" %%b in (DirList.txt) do set Folders=%%b
for /f "tokens=* delims=" %%c in (List.txt) do set Files=%%c
move "%Files%" "%Folders%"
del /q "List.txt"
del /q "DirList.txt"
if exist "*.avi" goto start
if exist "*.mp4" goto start
if exist "*.rmvb" goto start
if exist "*.bin" goto start
if exist "*.mkv" goto start
Movie Info Plus - Manage Icons, Posters, FanArt, .NFO's & more for Movies & TV Shows
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2008-12-14 00:40
Post: #61
![]() |
| find quote |
JiveTalker
Senior Member Joined: Nov 2008 Reputation: 0 Location: Bristol, UK |
fekker Wrote:the important part is the s01e01 part of the filename, the rest can be pretty much anything the os supports. But this does mean that you need the season number and episode number in the filename. Do you think any extra logic will be needed for double episodes? e.g. Lost.S04E13-E14 I guess this may also appear as Lost.S04E13-14 or Lost.S04.E13.S04.E14 I'm having big problems (with 2276 Test Build) at the moment which won't find ANY of my tv series! My folder structure is right with subfolders for each season (e.g. Z:\H D T V\Lost\Season 4) but clicking on the "Load TV Shows" button displays "No TV Show data exsists for: H D T V". Each series has a basic NFO file at the top level (created from IMDb MyMovies page, using your utility) and (most) files are named TVShow.SxxExxRandomText.mkv but nothing is found. Do you have any suggestions as to where I might be going wrong? Setting a "Movie Folder Location" and clicking on "Load Movies "still works fine. Jive talkin, just isnt a crime |
| find quote |
fekker
Posting Freak Joined: Oct 2008 Reputation: 30 |
2008-12-14 08:18
Post: #63
JiveTalker Wrote:Do you think any extra logic will be needed for double episodes? I still have to code the dual episode portion for your tv shows, add the z:\H D T V\Lost folder for z:\H D T V\Lost\Season 4 Here's the example from the getting started screen, i'll have to add a help system as there are alot of different options and 0 documentation. Directory layout example: Quote:c:\media For Movies you would add c:\media\Movies For TV Shows you would add the following folders (each shows folder) c:\media\TVShows\Tv Show 1 c:\media\TVShows\Tv Show 2 c:\media\TVShows\Tv Show 3 ![]() XBMC Flicks - Netflix for XBMC http://forum.xbmc.org/showthread.php?tid=87552 XBMC Guide for adding Movies/Media Universal Media Manager - http://universalmc.sourceforge.net/ Media Info Plus -(old product) http://sourceforge.net/projects/movieinfoplus/
(This post was last modified: 2008-12-14 08:27 by fekker.)
|
| find quote |
stanley87
Skilled Python Coder Joined: Sep 2006 Reputation: 2 Location: Chch, New Zealand |
2008-12-14 12:08
Post: #64
can someone explain Trailers for movies to me?
Thers an option in XBMC to play a trailer but i don't have trailers :-S Do you actually have to have the downloaded trailer in the folder with the -trailer extension? I thought it was something like, you have a -trailer.txt file and inside it has the url of the trailer at apple trailers and then xbmc just streams this video... ?? |
| find quote |
JiveTalker
Senior Member Joined: Nov 2008 Reputation: 0 Location: Bristol, UK |
fekker Wrote:I still have to code the dual episode portion Fair enough. How should a special such as "24 Redemption" be handled? I tried creating it as HDTV\24\Redemption\24-Redemption.720p.mkv but that didn't work. From what you've said before I assume the season folder name itself isn't important but how should the file be named if it doesn't fit nicely into the SxxExx structure? fekker Wrote:for your tv shows, add the z:\H D T V\Lost folder for z:\H D T V\Lost\Season 4Thanks, that worked a treat! I've successfully scanned through my HD TV episodes folder and MIP retieved data for every episode (over 300 of them!). There were a couple of exceptions with obscure or unusual structures but overall it went very, very well. ![]() I know this is early days for the tv shows function so forgive me if I raise issues that are already on your todo list! :o The interface to tv shows seems to work in a competely different way to the movies interface. Firstly with movies I only need to specify the top level folder but with tv shows I have to add each show individually. Movies allows me to tick and untick individual entries in the folder selection list but tv shows doesn't. With movies I can click on the "Load Movies" button and it scans though my folders and builds up a list in a couple of seconds. With Tv Shows clicking on the "Load TV Shows" button goes off and gets images and show summaries immediately, even if the application is in "Display" mode. Also, once the data has been downloaded there doesn't seem to be any way to choose which of the artwork I prefer, it just automatically chooses it for me. Are all these issues because your movies interface has evolved over the last couple of months and the tv shows interface is just at the "getting it to work" stage? What does the "Update TV Shows" button do? Is the idea that once I've added the paths to all my TV series I can just click on this button periodically to get any new episodes that have been added without having to reload all the existing ones? Will "Icons and Box Shots", "Fanart" and "Posters" be redundant with tv shows? If so it may be better to hide those tabs. Overall it's looking really good! Minor Bugs: 1. Clicking on an episode that has data but no image generates a file not found error (e.g. Currently "Samantha Who?" Season 2 episodes) Other Issues: 1. When Viewing TV episodes the episode screen shot is stretched to a very large size although usually the actual image is very small. Perhaps the images should be displayed at a maximum size of twice the actual resolution or even just actual size? 2. There is no option to remove a TV Show from Folder Selection other than to remove all of them. It would be nice if the interface allowed a parent folder to be selected (e.g. "Z:\HDTV\") and then it listed all of the folders directly within that folder with a checkbox next to each, similar to the option for movies to select individual folder trees to process. That way an individual series or list of series could be processed ignoring all the ones that have been off air for a while. For a first stab at the tv show mode this is looking very, very good. Well done! ![]() JiveTalker Jive talkin, just isnt a crime |
| find quote |
Rocky5
Alaska Group Joined: Jun 2008 Location: Scotland |
2008-12-14 16:40
Post: #66
OK here is a better one works better than before now includes NFO, ISO, IMG, TBN, and VOB though not sure how VOB will work as i don't have any also it will only add files that exist to the list.txt.
how is fanart named for films? Filmname-Fanart.jpg Code: @echo offundo batch. should read File Not Found constant once finished you will get an other error then close the batch. Code: @echo off
(This post was last modified: 2008-12-14 16:55 by Rocky5.)
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2008-12-14 18:21
Post: #67
Rocky5 Wrote:how is fanart named for films? Filmname-Fanart.jpg Yep. ![]() |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2008-12-14 18:53
Post: #68
Fanart added -
Code: @echo off![]() |
| find quote |
Rocky5
Alaska Group Joined: Jun 2008 Location: Scotland |
2008-12-14 20:35
Post: #69
Code: @echo offok i hide my files so this wont work if you do that so made it unhide all files first before doing anything or you will be stuck in a loop. as i forgot to lol and was sitting for like 30mins waiting.
(This post was last modified: 2008-12-14 21:20 by Rocky5.)
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2008-12-14 21:25
Post: #70
Thanks for that Rocky5, now to give Movie Info Plus a go.
![]() |
| find quote |


![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
![[Image: teamumx_logo_small.png]](http://universalmc.sourceforge.net/images/teamumx_logo_small.png)


Search
Help