NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) XSuite (Xrecord, XSearch, XGuide, CDK Scheduler) v
« Previous 1 2 3 4 Next »
Video page crashes Xrecord when displaying additional file extensions

 
  • 0 Vote(s) - 0 Average
Video page crashes Xrecord when displaying additional file extensions
Gedanken
Offline

Member

Posts: 70
Threads: 11
Joined: Nov 2005
#1
2008-05-27, 01:02 AM
I routinely add .mkv, .mp4, .ogm and some other file formats to the supported list of file types for XRecord so that is shows those types as well.

[INDENT][SIZE="2"] <Custom>
<ConverterElement name="converter1" extension="avi" startbatch="" stopbatch=""/>
<ConverterElement name="converter2" extension="wmv" startbatch="" stopbatch=""/>
<ConverterElement name="converter3" extension="mkv" startbatch="" stopbatch=""/>
<ConverterElement name="converter4" extension="ogm" startbatch="" stopbatch=""/>
<ConverterElement name="converter5" extension="mp4" startbatch="" stopbatch=""/>
<ConverterElement name="converter6" extension="divx" startbatch="" stopbatch=""/>

<!--
<ConverterElement name="converter1" extension="avi" startbatch="transcode.bat" stopbatch="stoptranscode.bat"/>

-->
</Custom>[/SIZE]

[/INDENT]

The latest version crashes out when I try to scroll down the list of files when I have added any of the extra ConverterElement items to the skin. A previous version (not sure how to tell which one anymore but it is pretty recent) works fine.

Unfortunately, there wasn't much information in the log other than the standard errors about not able to find converter node (except it now prints this error 4 times rather than just the traditional 2.

It would also be nice if these additional file types were added to the base install so that I don't need to manually add them each time (or move these to the config file or, best yet, just honor the file types supported in the defaule video library plugin).
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#2
2008-05-28, 03:31 AM
I tried adding those lines to my skin file and can't reproduce the crash with today's new XSuite version. If you can give replication steps I'll take a look tomorrow.
Gedanken
Offline

Member

Posts: 70
Threads: 11
Joined: Nov 2005
#3
2008-05-29, 05:57 AM
fla Wrote:I tried adding those lines to my skin file and can't reproduce the crash with today's new XSuite version. If you can give replication steps I'll take a look tomorrow.

Repro is pretty easy.

  1. Add the additional converter lines to the blue skin file.
  2. Extract the attached archive TestFolder to contain a test directory structure containing two directories each containing one video file. The first contains a zero length MPG and the other contains a zero length MKV file. (The length is irrelevant but separate directories with at least one containing a file that matches one of the new file types appears to be significant.)
  3. Point XRecord to use the newly created TestFolder as the Video path.
  4. Load Xrecord and attempt to display the video files by selecting the video button.
The plugin should silently crash out to the PVRX2 menu and the following error should appear in the log:

Code:
System.OutOfMemoryException: Out of memory.
   at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
   at System.Drawing.Image.FromFile(String filename)
   at RecordingViewerPlugin.XVideoRecordingsBox.render(Graphics g, Font generalFont, Brush generalFontBrush, Font selectedGeneralFont, Brush selectedGeneralFontBrush, Brush selectionBrush, Int32 selectNewsStartX, Int32 selectNewsStartY, Boolean bActive, SkinHelper skinHelper)
   at RecordingViewerPlugin.RecordingTask.render(Boolean& requiresMoreRendering)
   at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
   at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolean xd23bf32f3b17e3be)
   at GBPVRX2.x0061b801bdf12d35.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
   at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at GBPVRX2.x0061b801bdf12d35.WndProc(Message& m)

Complete logs are attached. This problem did not occur in the plugin a couple releases ago. It appears to happen in both GBPVR 1.2.9 and the current release.
JohnInSJ
Offline

Member

Posts: 172
Threads: 31
Joined: Dec 2005
#4
2008-05-29, 01:40 PM
Gedanken Wrote:I routinely add .mkv, .mp4, .ogm and some other file formats to the supported list of file types for XRecord so that is shows those types as well.
Where do you add this? I'd like to do the same, and I've not been able to convince xrecord to show me any file type other them wmv - I'm using miro to download video podcasts. The native "videos" of gbpvr shows them all and I can play em in gbpvr... I just can't get xrecord to show em under Videos...

Thanks!
Gedanken
Offline

Member

Posts: 70
Threads: 11
Joined: Nov 2005
#5
2008-05-29, 03:02 PM
JohnInSJ Wrote:Where do you add this? I'd like to do the same, and I've not been able to convince xrecord to show me any file type other them wmv - I'm using miro to download video podcasts. The native "videos" of gbpvr shows them all and I can play em in gbpvr... I just can't get xrecord to show em under Videos...

You add them toward the bottom on the skin.xml file in your current skin folder. For the Blue Skin, this is $(GBPVR)\Skin\Blue\xrecord\skin.xml
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#6
2008-05-30, 02:53 AM
Great rep steps. I posted a new version that should work. There was a hardcoded list of extensions being processed in a few places and now we use the list of converter extensions. I also added your converter extensions to the skin.
Gedanken
Offline

Member

Posts: 70
Threads: 11
Joined: Nov 2005
#7
2008-05-30, 04:25 AM
fla Wrote:Great rep steps. I posted a new version that should work. There was a hardcoded list of extensions being processed in a few places and now we use the list of converter extensions. I also added your converter extensions to the skin.

Works great so far. Thanks!
JohnInSJ
Offline

Member

Posts: 172
Threads: 31
Joined: Dec 2005
#8
2008-05-30, 12:21 PM
Gedanken Wrote:You add them toward the bottom on the skin.xml file in your current skin folder. For the Blue Skin, this is $(GBPVR)\Skin\Blue\xrecord\skin.xml

Thanks - I'm now seeing it exit before updating to the new version of xrecord... updating that now.... added lines for m4v and mov, and --- hey presto, it works! Nice.

Now if I can just convince miro to dump .xml files with the descriptions Wink
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  XRECORD for NPVR? jksmurf 15 19,646 2011-04-26, 11:12 PM
Last Post: isgdre
  Request for Xrecord - Multiple-Show Single-Action Archive? jksmurf 5 6,394 2010-03-28, 02:38 PM
Last Post: fla
  Xrecord doesn't comskip in Videos or Movies Screens? jksmurf 2 5,718 2010-02-21, 05:21 AM
Last Post: jksmurf
  XRecord - Watched too much? isgdre 3 5,904 2009-11-29, 03:58 AM
Last Post: isgdre
  XRecord-Fonts and password protection dshoup 39 26,405 2009-09-24, 12:12 PM
Last Post: dshoup
  XRecord - and Max Recordings to Keep? pmularien 5 6,813 2009-09-09, 04:05 AM
Last Post: KingArgyle
  Xrecord jumping up a level on wake from Screenaver? jksmurf 6 7,293 2009-07-18, 12:00 AM
Last Post: jksmurf
  Xrecord request SORT and VIEW jksmurf 13 12,387 2009-05-05, 05:29 AM
Last Post: jksmurf
  XRecord skinning-images & aspect ratio dshoup 6 7,609 2009-04-19, 12:08 PM
Last Post: dshoup
  QAM scheduling questions with Xrecord arkennedy75 1 5,526 2009-04-15, 12:46 PM
Last Post: fla

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode