Debug: Printing a list of all Files in your TV/Movie Folders in windows

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wikid Offline
Junior Member
Posts: 9
Joined: Jan 2010
Reputation: 0
Post: #1
Hi, I've created two batch files that read your Movie or TV Show folders and saves list of all files and directories in it.


This will help if anyone wants to show their file folder structure to anyone online.

Example of TV File:
Code:
Z:\Videos\TV Shows\list.txt
Z:\Videos\TV Shows\printlist.bat
Z:\Videos\TV Shows\tvscraperlist.txt
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E01.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E02.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E03.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E04.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E05.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E06.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E07.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E08.HDTV.XviD-LOL.[MFD].avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E09.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E10.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E11.HDTV.XviD-LOL.[EvoxFIN].avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E12.HDTV.XviD-LOL.[EvoxFIN].avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E13.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E14.HDTV.XviD-LOL.[VTV].avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E15.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E16.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E17.Day.7.12.00.A.M.-1.00.A.M.HDTV.XviD-FQM.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E18.HDTV.XviD-NoTV.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E19.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E20.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E21.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E22.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E23.PREAIR.DVDRip.XviD-TOPAZ.avi
Z:\Videos\TV Shows\24 (2001)\Season 7\24.S07E24.PREAIR.DVDRip.XviD-TOPAZ.avi
Z:\Videos\TV Shows\24 (2001)\Season 0\24-Redemption.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E01.Season.4.HDTV.XviD-FQM.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E02.Into.the.Crevasse.HDTV.XviD-FQM.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E03.Stone.Mountain.HDTV.XviD-FQM.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E04.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E05.HDTV.XviD-LOL.avi
Z:\Videos\TV Shows\30 Rock (2006)\Season 4\30.Rock.S04E06.HDTV.XviD-LOL.avi

etc...

How to use:
  1. Create a text file in notepad called 'printlist.bat' and save it in your main TV Shows/Movie/Video/Music directory
  2. Copy and paste the code from the selection below in it
  3. Save and close the file.
  4. Double click on the file to run it. It will generate a file called 'list.txt' this is where your file will be output to.


Code:
  • To display a list of files only (I use this for TV Shows) use the following code:
    Code:
    dir /a:-d /o:n /b /s >list.txt
  • To display a list of the immediate folders ONLY (I use this for my Movies) use the following code:
    Code:
    dir /a /-p /o:n /b >list.txt
  • Of course there are many other variations of this that can be created, you can go here to find out what works best for you!



Hope this helps!

Cheers,
WiKiD
find quote
Klojum Offline
Junior Member
Posts: 16
Joined: Nov 2009
Reputation: 0
Post: #2
It's a nice start, but IMO the best summary is one using HTML- or PDF-output using all movie-related info like actors, storyline, thumbs, etcetera. But then, the user would have to have a webserver running PHP and SQLite. The php-script will then create the various listings.
find quote
ingeon Offline
Member
Posts: 85
Joined: Jan 2010
Reputation: 0
Location: SouthAfrica
Post: #3
I was thinking more in the lines of getting it done via the media manager like Media Companion gen2

Perhaps a list exporter to some format (txt or pdf or csv/xls/ods) for all movies/tvshows&missing episodes
in a format similar to the movie table as in MC (as I mentioned here 3.293 where to/feature request)

XBMC 12 - Windows 7_x64
OpenELEC - Generic i386 v2.99.4 (3.0 RC 4)
OpenELEC - Raspberry Pi v2.99.4 (3.0 RC 4)
Ember media manger 1.3.0.9 (thx DanCooper)
Media Companion v3.550b
Rashad TVRenamer 0.7 Beta 2/EPnamer v1.45
Calibre-ebook

(This post was last modified: 2010-05-11 15:55 by ingeon.)
find quote
NotShorty Offline
Fan
Posts: 348
Joined: Feb 2007
Reputation: 0
Post: #4
Well, since this thread's been bumped, I guess I'll point out that the OP could use a great little program called TheRenamer to automatically change all the "HDTV.XviD-LOL" to episode titles.

No, I'm in no way connected to the creator of TheRenamer, but I did donate $5 for his/her efforts...

NS
find quote