Changeset 6645 (http://svn.mythtv.org/trac/changeset/6645#file4) seems to break the "File to Always Play Next" functionality.

What is happening is that "video_list->getVideoListMetadata(parentItem->ChildID());" is called with the ID of the next movie file. But getVideoListMetadata takes an index value of shown movies so this call fails. I changed it to the old method which works, doing childItem->fillDataFromID(). Patch attached.

-- Tommi

--- mythplugins/mythvideo/mythvideo/videoselected.cpp.orig	2005-08-23 12:39:40.000000000 +0000
+++ mythplugins/mythvideo/mythvideo/videoselected.cpp	2005-08-23 12:40:43.000000000 +0000
@@ -188,7 +188,7 @@
     while (parentItem->ChildID() > 0 && playing_time.elapsed() > 10000)
     {
         childItem->setID(parentItem->ChildID());
-        childItem = video_list->getVideoListMetadata(parentItem->ChildID());
+        childItem->fillDataFromID();
 
         if (parentItem->ChildID() > 0)
         {
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to