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

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



- billyad2000 - 2009-10-17

JackFrost Wrote:Just noticed in the Posters view (for Movies), hit 'URL or Browse' there is no Browse button.

FYI.

Not sure what you mean, just checked and there is,

Click 'Url or Browse' and the panel appears.


- Waffa - 2009-10-17

billyad2000 Wrote:You need to change the regex to support episodes >99
edit this one
[Ss]([\d]{1,2}).?[Ee]([\d]{1,2})
to
[Ss]([\d]{1,2}).?[Ee]([\d]{1,2,3})
should do it.

Although the episode order will be messed up due to them having 3 digits,
09
10
101
11
etc

If I test the changed regex it will say no matches..
And changes that were made in regex won't be saved in preferences.

So can't test new regex on my files.

edit:
New added regex files are saved in preferences.. so created new one and deleted the other regex.
Result: Nothing was scraped.

edit 2: [Ss]([\d]{1,2}).?[Ee]([0-9][0-9][0-9]) did the job Big Grin


- JackFrost - 2009-10-18

billyad2000 Wrote:Not sure what you mean, just checked and there is,

Click 'Url or Browse' and the panel appears.

Correct, but in the panel there is no browse button (only 'Set Thumb' and 'Cancel'). This is ONLY in Posters view. In Fanart this appears correctly.

Thanks. And thanks for all the work you're putting into this. It's a super effort and a super showing on your part. Kudos.

J.


- JackFrost - 2009-10-18

OK, so, the follow up..

I went through every one of my movies and did 'change movie' whether it had been scraped correctly or not. Every movie worked fine w/ the exception of Harlem Nights which (as described above) crashed the machine. (this is the one movie in .RARs)

subsequently, I emptied the directories of all .nfos, images, etc and started anew only this time w/ 'use folder names' enabled (also now 'create folder.jpg..' and 'save as movie.nfo, movie.tbn....'

(of course I did a 'rebuild movies' in between which started me w/ an empty list)

On this scrape many more movies were scraped as the correct title by autoscrape however now, ANY movie I do 'change movie' on will fail (in fairness I only spot checked - about 5 out of the 33, but the crash is consistent and these movies I was able to change fine this afternoon when I did this w/o the 'use folder names' option set).

The crash error is below:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Media_Companion.Form1.Button21_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion
Assembly Version: 3.1.2.2
Win32 Version: 3.1.2.2
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/Media%20Companion.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
imdb
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/imdb.DLL
----------------------------------------
IMPA
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/IMPA.DLL
----------------------------------------
tmdb_posters
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/tmdb_posters.DLL
----------------------------------------
class_mpdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/class_mpdb_thumbs.DLL
----------------------------------------
imdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/imdb_thumbs.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

(cont'd next post)


- JackFrost - 2009-10-18

Hitting 'rescrape movie' (as opposed to 'change movie' and selecting manually) seems to illicit a similar crash but somewhat different error.
---

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Media_Companion.Form1.rescrapemovie()
at Media_Companion.Form1.TabControl2_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion
Assembly Version: 3.1.2.2
Win32 Version: 3.1.2.2
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/Media%20Companion.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
imdb
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/imdb.DLL
----------------------------------------
IMPA
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/IMPA.DLL
----------------------------------------
tmdb_posters
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/tmdb_posters.DLL
----------------------------------------
class_mpdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/class_mpdb_thumbs.DLL
----------------------------------------
imdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Joe/My%20Documents/Libraries/Software%20Library/XBMC/Media%20Companion%20gen2%203.122/imdb_thumbs.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

hth.


CD1 & 2 folder were causing the crash - JackFrost - 2009-10-18

Ok so on a hunch I kept playing around. I unpacked Harlem Nights from the RARs (only an .AVI in there) and reran MC. No change. Then I moved the AVIs out of the CD1 and CD2 folders (so instead of ..\harlem nights\cd1 and ..\harlem nights\cd2 now both AVIs are in ..\harlem nights), no change. Then I turned of the 'use folder names' pref. BAM! No more crash!

So, I'm convinced that somehow or another the 'use folder names' pref is a culprit to some extent of my crashes. Too bad, that IS how I store my stuff.

btw, why should having a CD1 and CD2 folder under the movie folder cause issues? I thought that was a legal naming convention, no?

Anyway, hope all this helps you track some of these bugs down Billy.

Again thanks for all your efforts on this (now and in the past). You've delivered us a very cool piece of software and I for one am grateful and looking forward to seeing it evolve.

peace.


- billyad2000 - 2009-10-18

JackFrost Wrote:Correct, but in the panel there is no browse button (only 'Set Thumb' and 'Cancel'). This is ONLY in Posters view. In Fanart this appears correctly.

Thanks. And thanks for all the work you're putting into this. It's a super effort and a super showing on your part. Kudos.

J.

Managed to duplicate this issue and is fixed for the next build later on.


- billyad2000 - 2009-10-18

JackFrost Wrote:Ok so on a hunch I kept playing around. I unpacked Harlem Nights from the RARs (only an .AVI in there) and reran MC. No change. Then I moved the AVIs out of the CD1 and CD2 folders (so instead of ..\harlem nights\cd1 and ..\harlem nights\cd2 now both AVIs are in ..\harlem nights), no change. Then I turned of the 'use folder names' pref. BAM! No more crash!

So, I'm convinced that somehow or another the 'use folder names' pref is a culprit to some extent of my crashes. Too bad, that IS how I store my stuff.

btw, why should having a CD1 and CD2 folder under the movie folder cause issues? I thought that was a legal naming convention, no?

Anyway, hope all this helps you track some of these bugs down Billy.

Again thanks for all your efforts on this (now and in the past). You've delivered us a very cool piece of software and I for one am grateful and looking forward to seeing it evolve.

peace.

I can't see the reason for the crash since I have been unable to duplicate it.

When using Folder Names with media companion, it gets the name of the folder containing the media item,
In your case that media item is the rar archive and the folder name is CD1 and MC is searching for a movie called CD1, somehow this returns a movie called "jam", but I managed to change it without issue, so I can only assume that another setting is causing the issue.

A copy of your config would help since it would allow me to use the exact settings you are.


- billyad2000 - 2009-10-18

Waffa Wrote:If I test the changed regex it will say no matches..
And changes that were made in regex won't be saved in preferences.

So can't test new regex on my files.

edit:
New added regex files are saved in preferences.. so created new one and deleted the other regex.
Result: Nothing was scraped.

edit 2: [Ss]([\d]{1,2}).?[Ee]([0-9][0-9][0-9]) did the job Big Grin

Glad you sorted it,

I hate regex Sad


- billyad2000 - 2009-10-18

JackFrost Wrote:I think there's a problem w/ movie fanart. it seems that the autoscrape finds certain things but manually not.

I just manually changed 'Swingers' (1996, John Favreau) and the fanart tab says 'No Fanart was found at http://www.themoviedb.org'. Going to the website manually though, reveals at least this: http://themoviedb.org/movie/10218 (which was also picked up and showing from the autoscrape), so i think there be a bug somewhere.

hth.
J.

Edit-
Seems to have done the same for The Count of Monte Cristo
and The Dark Knight (2008, Batman)
(in these cases, btw, it shows the Posters artwork for Fanart)

Just been looking into this, seems to be a TMDB glitch, possibly that only effected the api if you could still access the images on the site. Either way, it is working now, I added "Swingers" to my collection, and the single available fanart is listed to download.

MC also lists 20+ backdrops for Dark Knight.


- billyad2000 - 2009-10-18

New version 3.127

First build contained error where scrape selected show button was concealed behind a panel, I have changed the link below to the fixed version.

Changes
  • Bugfix - More regex filters added to include 720p, 720i, 1080p, & 1080i
  • Bugfix - MC did not recognise episode 0
  • Bugfix - Editing and saving title would cause season and episode to be appended to front of title
  • Bugfix - browse button in Movie posters would disappear when a search was performed
  • Bugfix - Exception when TV Episode renamed to file that already exists
  • Bugfix - MC episode renamer didn't deal with invalid filename characters
Other Changes
  • MC renamer now renames all files with same filename no matter the extension
  • <codec> & <format> tags will contain the codec name for import to XBMC
  • Changed layout a little so that netbook users can use MC, should make no difference to anyone else
  • Episodes can now toggle watched/unwatched status
Whats next
  • Adding a browser for TV Show posters, season posters, and episode screenshot capability.

Keep the bug reports coming, I intend to concentrate now on adding the poster browser, hope to get this finished within the next week.

Download Version 3.127_fix

Just overwrite the previous version, ( the config will remain compatible only if you are upgrading from version 3.xxx).


- bobrap - 2009-10-18

Is it necessary to select each tv show individually when adding shows? Seems awful time consumingSad
When selecting a show and hitting TV show selector, the scrape button is gone.


- billyad2000 - 2009-10-19

bobrap Wrote:Is it necessary to select each tv show individually when adding shows? Seems awful time consumingSad
When selecting a show and hitting TV show selector, the scrape button is gone.

I've changed the link in the post below to a fixed build.


- yzeyze - 2009-10-19

yzeyze Wrote:...
(oh, and on the 600 lines, it is pretty good, just a couple of buttons (Like -scrape tv show with selected options - when you are defining which tv show etc are just off the screen. ...

Thankyou Billy Big Grin
(edit - all good now)


- billyad2000 - 2009-10-19

New version 3.128

Couple of minor fixes
  • Bugfix - Reset filters button located outside window boundaries
  • Bugfix - Last image in movie fanart browser checkbox was located outside window boundaries
  • Bugfix - Multipart episode identification was broke
Whats next
  • Adding a browser for TV Show posters, season posters, and episode screenshot capability.

Keep the bug reports coming, I intend to concentrate now on adding the poster browser, hope to get this finished within the next week.

Download Version 3.128

Just overwrite the previous version, ( the config will remain compatible only if you are upgrading from version 3.xxx).[b]