NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 317 318 319 320 321 … 433 Next »
"Index out of range" exception when trying to play DVD rip parent folder

"Index out of range" exception when trying to play DVD rip parent folder
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#1
2012-02-17, 08:16 PM
When I try to play a DVD rip (VIDEO_TS) parent folder I get an "index out of range" exception. Presumably, this is why I am not able to play DVDs on my NMT A-110 (it doesn't even attempt to start playback): http://forums.nextpvr.com/showthread.php...lems/page2 . It would also be great if playback of the .dvd item would be supported from the NMT.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#2
2012-02-18, 04:33 AM
Do you have the log showing this index out of range exception?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#3
2012-02-18, 04:42 AM
Nothing is logged but it's easy to duplicate, hit Play on an empty folder or something with no supported file types

Code:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at NextPVR.ControllerForm.PlayVideoFiles(List`1 files)
   at NextPVR.Libraries.VideoLibrary.HandleCommand(String command)
   at NextPVR.Libraries.VideoLibrary.OnKeyDown(KeyEventArgs e)
   at NextPVR.ControllerForm.OnKeyDown(Object sender, KeyEventArgs e)
   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 NextPVR.ControllerForm.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)

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#4
2012-02-18, 04:50 AM
mvallevand Wrote:Nothing is logged but it's easy to duplicate, hit Play on an empty folder or something with no supported file types
I tried it here and didnt seem to do anything.

You mean like a directory that if you browsed into it it'd show a .dvd file, but in this case you're pressing play with the directory selected?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#5
2012-02-18, 04:59 AM
Yes on the directory trying "Play All" (you don't support .dvd playback)

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#6
2012-02-18, 05:11 AM
Its not giving me this crash here. Do you have any other files in that DVD directory (which contains the video_ts/audio_ts subdirectories)?

You could try the attached patch. Its possible other changes I've made in the area have helped. This build might pass through .dvd playback requests - I have tried to add it, but haven't checked it.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#7
2012-02-18, 05:22 AM
Same trace error. Note the trace is on the PC not the PCH and I can get it on any empty folder.

Howeve good news, the .DVD playback of the .dvd does works on the NMT so ccnb's main problem is (hopefully) addressed. If you could could work a bit of magic on the .iso file that would be put DVD playback back to GBPVR level.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#8
2012-02-18, 05:30 AM
Ah, I thought you were talking about the NMT. I can see the error on the PC. The attached patch should fix it.

That previous build should also pass through .iso playback requests.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#9
2012-02-18, 05:51 AM (This post was last modified: 2012-02-18, 06:00 AM by mvallevand.)
That patch fixed the trace and yes .iso files play but only with the OK and not with the Play that I used.

I was testing the F9 key change and that works too but is it possible the 0x38 is now also F9 and not F8?

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#10
2012-02-18, 06:08 AM
Actually it looks like 0x38 is treated like F9 instead of F8 and 0x3b doesn't do anything.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,186 2023-12-04, 10:19 PM
Last Post: turkeypets
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,870 2022-04-14, 04:33 AM
Last Post: Antmannz
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,402 2020-10-29, 09:40 PM
Last Post: mvallevand
  black play and zero recording sebjoan 5 2,454 2020-10-13, 05:16 PM
Last Post: sebjoan
  Unhandled Exception Error Message reedaf4 23 7,340 2020-03-13, 05:03 PM
Last Post: sub
  Will not play recorded video on 1st computer but will play same video on second compu Krepps 5 2,146 2020-02-28, 05:33 PM
Last Post: Krepps
  Local News M3U8 link doesn't play audio caseguy 37 12,650 2019-11-26, 05:11 PM
Last Post: caseguy
  Temporary Log file Folder hdpvr-doug8796 16 5,211 2019-10-08, 09:34 PM
Last Post: hdpvr-doug8796
  Video Library Folder/Filename Refresh meccano 3 1,665 2019-09-17, 03:13 PM
Last Post: Graham
  Play back of recording from client PC hangs up dcl 5 1,937 2019-09-15, 10:46 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode