Kodi Community Forum
Media Companion Gen2 - Manage your Movies, Shows, NFO, and more (Open Source VB.NET) - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: Media Companion Gen2 - Manage your Movies, Shows, NFO, and more (Open Source VB.NET) (/showthread.php?tid=53640)



- RockDawg - 2009-11-01 23:27

Nothing different is logged. Here's the log:

Code:
Searching for subfolders
0 subfolders found in: Y:\Friday Night Lights

Searching:
Y:\Friday Night Lights
for episodes
Looking in Y:\Friday Night Lights
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e14 - Upping the Ante.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e03 - Wind Sprints.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e02 - Eyes Wide Open.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e01 - Pilot.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e09 - The Confession.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e08 - Seeing Other People.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e06 - El Accidente.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e05 - Let's Get It On.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e14 - Leave No One Behind.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e10 - There Goes the Neighborhood .nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e03 - Are You Ready for Friday Night.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e01 - Last Days of Summer.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e13 - Little Girl I Wanna Marry You.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e05 - Git 'Er Done.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e06 - How Did I Get Here.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e18 - Extended Families.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e11 - Jumping the Gun.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s02e04 - Backfire.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e09 - Full Hearts.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e11 - Nevermind.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e10 - It's Different for Girls.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e15 - Blinders.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e21 - Best Laid Plans.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e04 - Who's Your Daddy.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s01e22 - State.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e02 - Tami Knows Best.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e11 - A Hard Rain's Gonna Fall.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e06 - It Ain't Easy Being J.D. McCoy.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e10 - The Giving Tree.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e12 - Underdogs.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e13 - Tomorrow Blues.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e07 - Keeping up Appearances.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e08 - New York, New York.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e01 - I Knew You When.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e04 - Hello, Goodbye.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e09 - Game of The Week.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e05 - Every Rose Has Its Thorn.nfo
Episode appears to have loaded ok
possible episode nfo found: Y:\Friday Night Lights\Friday Night Lights - s03e03 - How The Other Half Lives.nfo
Episode appears to have loaded ok




Searching for subfolders
0 subfolders found in: Y:\Law & Order

Searching:
Y:\Law & Order
for episodes
Looking in Y:\Law & Order




Searching for subfolders
0 subfolders found in: Y:\Night Court

Searching:
Y:\Night Court
for episodes
Looking in Y:\Night Court




Searching for subfolders
0 subfolders found in: Y:\The Tudors

Searching:
Y:\The Tudors
for episodes
Looking in Y:\The Tudors




Searching for subfolders
0 subfolders found in: Y:\Frasier

Searching:
Y:\Frasier
for episodes
Looking in Y:\Frasier




Searching for subfolders
0 subfolders found in: Y:\The Cosby Show

Searching:
Y:\The Cosby Show
for episodes
Looking in Y:\The Cosby Show




Searching for subfolders
0 subfolders found in: Y:\Lost

Searching:
Y:\Lost
for episodes
Looking in Y:\Lost




Searching for subfolders
0 subfolders found in: Y:\Cheers

Searching:
Y:\Cheers
for episodes
Looking in Y:\Cheers




Searching for subfolders
0 subfolders found in: Y:\Terminator - The Sarah Connor Chronicles

Searching:
Y:\Terminator - The Sarah Connor Chronicles
for episodes
Looking in Y:\Terminator - The Sarah Connor Chronicles




Searching for subfolders
0 subfolders found in: Y:\House

Searching:
Y:\House
for episodes
Looking in Y:\House




Searching for subfolders
0 subfolders found in: Y:\Carnivale

Searching:
Y:\Carnivale
for episodes
Looking in Y:\Carnivale




Searching for subfolders
0 subfolders found in: Y:\South Park

Searching:
Y:\South Park
for episodes
Looking in Y:\South Park




Searching for subfolders
0 subfolders found in: Y:\Private Practice

Searching:
Y:\Private Practice
for episodes
Looking in Y:\Private Practice




Searching for subfolders
0 subfolders found in: Y:\3rd Rock from the Sun

Searching:
Y:\3rd Rock from the Sun
for episodes
Looking in Y:\3rd Rock from the Sun




Searching for subfolders
0 subfolders found in: Y:\Brothers & Sisters

Searching:
Y:\Brothers & Sisters
for episodes
Looking in Y:\Brothers & Sisters




Searching for subfolders
0 subfolders found in: Y:\The Golden Girls

Searching:
Y:\The Golden Girls
for episodes
Looking in Y:\The Golden Girls




Searching for subfolders
0 subfolders found in: Y:\True Blood

Searching:
Y:\True Blood
for episodes
Looking in Y:\True Blood




Searching for subfolders
0 subfolders found in: Y:\Raising the Bar

Searching:
Y:\Raising the Bar
for episodes
Looking in Y:\Raising the Bar




Searching for subfolders
0 subfolders found in: Y:\Dark Blue

Searching:
Y:\Dark Blue
for episodes
Looking in Y:\Dark Blue




Searching for subfolders
0 subfolders found in: Y:\Band of Brothers

Searching:
Y:\Band of Brothers
for episodes
Looking in Y:\Band of Brothers




Searching for subfolders
0 subfolders found in: Y:\Curb Your Enthusiasm

Searching:
Y:\Curb Your Enthusiasm
for episodes
Looking in Y:\Curb Your Enthusiasm




Searching for subfolders
0 subfolders found in: Y:\Hawthorne

Searching:
Y:\Hawthorne
for episodes
Looking in Y:\Hawthorne



- billyad2000 - 2009-11-01 23:33

@RockDawg

This is the last thing I can think of, i've added another check that may catch something

Download Version 3.147, just the main prog

If this does not show anything then I am at a total loss.


- RockDawg - 2009-11-01 23:50

I tried that and it didn't report anything new in the log.

I've been trying different things to see if I can find something that may help you and I've noticed something. Previously, I added my show folders by adding the root folder in MC. I just tried doing it via single folder (adding each show one at a time) and a bunch are still missing, but now shows who's episodes weren't showing before, are now and vice versa. How weird is that?


- billyad2000 - 2009-11-01 23:57

RockDawg Wrote:I tried that and it didn't report anything new in the log.

I've been trying different things to see if I can find something that may help you and I've noticed something. Previously, I added my show folders by adding the root folder in MC. I just tried doing it via single folder (adding each show one at a time) and a bunch are still missing, but now shows who's episodes weren't showing before, are now and vice versa. How weird is that?

Whats getting me is that no exception is thrown anywhere

Code:
Dim dir_info As New System.IO.DirectoryInfo(folder)
                tvrebuildlog("Looking in " & folder)
                Dim fs_infos() As System.IO.FileInfo = dir_info.GetFiles(pattern, SearchOption.TopDirectoryOnly)
                For Each fs_info As System.IO.FileInfo In fs_infos

The folder is correct according to the log, and the pattern is "*.nfo" but at the next line (For Each fs_info As System.IO.FileInfo In fs_infos) is supposed to loop through the results, but their are no results.

Could you just check the config.xml to see if there is any difference between the <tvfolder> path formats for the paths that work or those that dont, it has to be something simple like an extra \ or something.


- RockDawg - 2009-11-02 00:02

here's the relevant portion of config.xml:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xbmc_media_companion_config_v1.0>
  <tvfolder>\\TOWER2\TV Shows\Greys Anatomy</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Dexter</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Fringe</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Heroes</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Coach</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Wings</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Jericho</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Seinfeld</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\The X-Files</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\The Fresh Prince of Bel Air</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Friday Night Lights</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Law &amp; Order</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Night Court</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\The Tudors</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Frasier</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\The Cosby Show</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Lost</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Cheers</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Terminator - The Sarah Connor Chronicles</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\House</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Carnivale</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\South Park</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Private Practice</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\3rd Rock from the Sun</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Brothers &amp; Sisters</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\The Golden Girls</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\True Blood</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Raising the Bar</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Dark Blue</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Band of Brothers</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Curb Your Enthusiasm</tvfolder>
  <tvfolder>\\TOWER2\TV Shows\Hawthorne</tvfolder>
  <gettrailer>false</gettrailer>



- RockDawg - 2009-11-02 00:07

More oddities. I was trying to see if there is a pattern behind why different episodes show when I added root folder as opposed to individual folders. What I've noticed is that it's adding the first x number of shows in the folders list and then ignoring the rest. When I add the root folder it's displaying episodes for the first 13 shows in the folder list and ignoring the rest. With individual folders, MC shows the episodes for the first 11 shows displayed in the folders list and ignores the rest.

Am I clear on explaining that?


- billyad2000 - 2009-11-02 00:07

I'll go over it tomorrow, my eyesight is getting a bit blurry. It must have something to do with the network path, i'll configure my own to similar and see if i can duplicate it.


- billyad2000 - 2009-11-02 00:11

Just realised the path in your logs is quite different, Y:\Friday Night Lights
as opposed to \\TOWER2\TV Shows\Friday Night Lights


- RockDawg - 2009-11-02 00:16

Yah, that's due to me playing around and trying to figure out a pattern. One path is using the drive mapped as a local drive and the other is the network path. I was trying different things when I noticed the MC is adding only the episodes for the first x number of shows in the folder list.

Just curious, how many shows do you have when testing MC?


- RockDawg - 2009-11-02 00:37

Here's a screen shot showing what I'm talking about:

When I add the root folder:

[Image: 4065452239_8cf5897273_o.jpg]

When I add the folders individually:

[Image: 4065452035_0f97c095e0_o.jpg]

It seems to go down the folder list whatever order it is in and then stop at some point.


- billyad2000 - 2009-11-02 12:32

My basic test config has 17 Different TV Shows from my NAS, but one of my config files has 29 Shows and it has not presented the issue you are having.

Could you give me the exact filename of one of the nfo's that are not seen.

Am I right in thinking that the first 11 shows within the xml work correctly, and if you change the order then the shows that work change.

If so then I have no Idea.

MC uses "Dim tvshowlist As New List(Of tvshownfo)"
and as such has no limits other than RAM, in my test setup I have 1300movies 17 TV shows and 1321 episodes. The RAM useage is about 38MB, i'm not sure what the effect would be if there was not enough system RAM, I assume that the page file would have to be used, or errors would be encountered. Either way, I doubt there are many people who have less than 1GB nowadays.


- billyad2000 - 2009-11-02 12:40

Just a small update

New feature for Movies, support for <sortorder> tags.

The field is below the Movie title, by default it is the same as the title, but xbmc will list movies alphabetically according to what is in this tag.

You can view this order using the new "Sort Order" Radio Button.

Download Version 3.148


- fanclub - 2009-11-02 13:59

Billy I haven't done much Win32 application development but I'm thinking that the problem may be to do with the ampersand symbol (&)

RockDawg what happens if you remove Law & Order as a source? If my prediction is correct it should now work until it hits Brothers & Sisters.

When creating menus in programs, the keyboard shortcut key for that particular entry is preceded with an ampersand. ie: ALT + F, ALT + E and ALT + V are the keyboard shortcuts to bring up the File, Edit and View menus. Those names are set in the application by adding an ampersand before the shortcut key's letter: &File, &Edit and &View. I'm using Opera web browser and that has a Widgets menu - it would be set as Wid&gets

Anyway to the point: MC may be seeing the ampersand in directories like "Law & Order" as described above and in turn looking for a directory called "Law__Order" (replace __ with double space, cant do double space in html without &nbsp). This, in turn, might be throwing out the whole process somehow

If this is not the case, sorry for the distraction (but it got you all thinking!) Smile


- Rand Al Thor - 2009-11-02 18:07

billyad2000 Wrote:Just a small update
New feature for Movies, support for <sortorder> tags.


Awesome! Been waiting for this one Wink Thanks for the amazing app!


- RockDawg - 2009-11-02 19:21

I'm sorry, I noticed that in my last post the two screen shots I posted were identical. I have edited it so that the bottom one is different like it should be.

fanclub - I appreciate the input. Look at my last post again now that I have corrected it. In the second shot the folder list is ordered differently and it does see Brothers & Sisters. I thought the same as you when I noticed it stopped at Law & Order (like the first screenie), but I later noticed that Brothers & Sisters didn't bother it so I assume the ampersand isn't the problem.