damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Multiple disc movies play out of order and cannot be fixed #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a new multiple disc movie, eg, "The Good, the Bad, and the Weird
(2008)-CD1.avi" and "The Good, the Bad, and the Weird (2008)-CD2.avi".
2. Movie gets imported and correctly assigns two discs, in sequential order
3. Play the movie in MP and disc 2 starts first.
4. Go back to MP config and reverse the discs - so that disc 2 is first and
disc 1 is second. Replay in MP
5. Replay in MP. Movie asks if you wish to resume playback from where you
left off, say no, and movie starts from disc 2 again.

What is the expected output? What do you see instead?
Movies should play back in ascending order as per the config.

What version of Moving Pictures are you using? What version of MediaPortal?
0.62 on RC3

Original issue reported on code.google.com by grimn...@gmail.com on 23 Dec 2008 at 8:38

GoogleCodeExporter commented 9 years ago
Can you post your logs from when you are trying to play the file and they get 
played 
out of order?

Original comment by conrad.john on 30 Dec 2008 at 5:43

GoogleCodeExporter commented 9 years ago
Original Post:
http://tinyurl.com/a8masz

Original comment by conrad.john on 30 Dec 2008 at 7:53

GoogleCodeExporter commented 9 years ago
Logs attached. Quick look through them doesnt look like there is any reference 
to a
movie playing at all so don't know how helpful these will be.

What I did:

1. Open MP
2. Play "Hansel & Gretel (2007)-CD1" and 2. This played correctly. I watched it
through last night and it loaded the 2nd disc correctly.
3. Play "The Good, the Bad, and the Weird (2008)-CD1" and 2. This did NOT play
correctly. Disc 2 loaded first.
4. Exited MP.

Original comment by rosalie....@gmail.com on 4 Jan 2009 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago
Damn it, was logged in as the wife again lol...

Original comment by grimn...@gmail.com on 4 Jan 2009 at 12:24

GoogleCodeExporter commented 9 years ago
I think that there is not much information because your logging level is set to 
info 
rather than debug. :( This was not an issue before MP 1.0 but with the new 
release 
they changed the default logging level to info rather than debug, I am not sure 
why...

I think log level is listed under the General tab of the MediaPortal config. 
Would 
you mind switching it and then rerunning your test? Sorry about that grimness...

Original comment by conrad.john on 4 Jan 2009 at 1:16

GoogleCodeExporter commented 9 years ago
Fixed the logging and re-attached. I can see the log referencing the movies 
now. Did
the same as I did in comment 3.

Original comment by grimn...@gmail.com on 4 Jan 2009 at 2:40

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 4 Jan 2009 at 11:13

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 21 Jan 2009 at 7:15

GoogleCodeExporter commented 9 years ago
grimness, sorry for the delayed response, but these log files do not show any 
playback events from the GUI, are you sure you reproduced the issue with these 
log 
files? We are having a hard time reproducing this problem.

Also are you using an external player?

Original comment by conrad.john on 22 Jan 2009 at 3:06

GoogleCodeExporter commented 9 years ago
Hi conrad, yes I am sure they are the correct logs, you can see the names of the
movies at lines 380 (the movie that plays fine with 2 discs) and line 636 (the 
movie
that does not play correctly with 2 discs).

I am at work now but will re-run this test later tonight hopefully. 

Original comment by grimn...@gmail.com on 22 Jan 2009 at 3:17

GoogleCodeExporter commented 9 years ago
Grimness (or anyone that may be following this issue), if you are still 
experiencing
the issue, would you be willing to install a dev build with additional logging? 
Please note that this is an unsupported version that has not been fully tested. 
 You
are advised to backup your Moving Pictures database file before running it.

Original comment by travistx on 24 Jan 2009 at 12:11

GoogleCodeExporter commented 9 years ago
Yes I would be happy to install a test build. Please provide a link and any 
special
instructions, I will give it a go and send you the logs.

Original comment by grimn...@gmail.com on 24 Jan 2009 at 12:39

GoogleCodeExporter commented 9 years ago
grimness, I sent the test build to what I assume is your email address.  If you 
did
not receive it, please shoot me an email to my username @gmail.com so that I 
can get
it to you.  Thanks.

Original comment by travistx on 24 Jan 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Ran the test with the experimental build, same bug showed itself.

I played Hansel And Gretel which is a 2 disc movie, and disc 1 played first 
correctly.
I played The Good, The Bad, The Weird, again a 2 disc movie, and disc 2 played 
first
incorrectly.

Logs attached.

Original comment by grimn...@gmail.com on 26 Jan 2009 at 2:09

Attachments:

GoogleCodeExporter commented 9 years ago
You have 2 moving pictures dll files, and media portal is trying to load both of
them.  Could you remove "C:\Program Files\Team
MediaPortal\MediaPortal\Plugins\windows\Copy of MovingPictures.dll" and re-run 
the
test?  Thanks!

Original comment by travistx on 26 Jan 2009 at 5:03

GoogleCodeExporter commented 9 years ago
Okay tried it again. Please note I accidently played the first movie in the 
list,
[REC], for a few seconds, so there will be 3 movies played; [REC], Hansel & 
Gretel,
The Good, The Bad, The Weird.

Original comment by grimn...@gmail.com on 26 Jan 2009 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago
Based on your new log files it looks like your files are out of order in the 
database. i.e Moving Pictures for some reason thinks the file labeled cd2 is 
the 
first file while the file labeled cd1 is the second. Can you open up the config 
and 
check the playback order for this movie? With the 0.7 alpha you have installed, 
the 
following screenshot is where you should be looking. Is the file labeled cd1 
listed 
first or second?

http://www.johnconrad.info/files/playback_order.png

Original comment by conrad.john on 26 Jan 2009 at 5:57

GoogleCodeExporter commented 9 years ago
Sorry one more comment. 

If they appear to be listed out of order in the config, will switching the 
order 
there fix the issue in the GUI?

I know you have attempted switching the playback order before, but my suspicion 
is 
that there may be (or may have been?) a flaw in the ordering logic in the 
config 
preventing you from correcting the playback order for the files making up this 
movie.

Original comment by conrad.john on 26 Jan 2009 at 6:00

GoogleCodeExporter commented 9 years ago
Hi again. I looked in the config for the ordering and it was in the correct 
order for
the failing movie "The Good, The Bad, The Weird.". I tried reversing it, so 
that CD2
appeared before CD1, but this had ZERO affect on playback. CD2 still played 
before
CD1. I flipped it back and tried yet again, still playing in reverse. 

Incidentally the new sorting features in this build are great :D 

Original comment by grimn...@gmail.com on 27 Jan 2009 at 11:26

GoogleCodeExporter commented 9 years ago
Can you post the log after making this switch?  Thanks.

Original comment by travistx on 28 Jan 2009 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 30 Jan 2009 at 12:34

GoogleCodeExporter commented 9 years ago
grimness, are you still having this issue? If so can you post updated logs?

Original comment by conrad.john on 3 Feb 2009 at 5:22

GoogleCodeExporter commented 9 years ago
Sorry for the delays. Yes I am still having this issue with some files and not
others. I will post logs shortly.

Original comment by grimn...@gmail.com on 7 Feb 2009 at 7:23

GoogleCodeExporter commented 9 years ago
Okay attached are new logs. log 1 demonstrates the movie "The Good The Bad The 
Weird"
playing out of order due to the ordering of the files - Disc 2 is listed before 
Disc
1. This should be correct.

Log 2 demonstrates the same movie with ordering correctly set - Disc 1 before 
Disc 2
- but still plays disc 2 first, incorrectly.

As mentioned and logged before, not all movies exhibit this. It's about 
half/half.

While on this topic, I have noticed that auto-imports of dual disc movies place 
disc
2 first in the list. This means I have to manually reverse them every time. Can 
this
be sorted correctly in numerical ascending order by default?

Original comment by grimn...@gmail.com on 8 Feb 2009 at 12:44

Attachments:

GoogleCodeExporter commented 9 years ago
i'm having this same problem. I'll try the latest version and see if it is 
happening. 

Original comment by Mary.Go...@gmail.com on 8 Feb 2009 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by conrad.john on 8 Feb 2009 at 5:48

GoogleCodeExporter commented 9 years ago
Thanks for the new log files, grimness.  I was able to duplicate the issue, and
resolve it in r492.  This should be rolling out with Moving Pictures 0.7.1.

The issue is that the GUI is only showing the movies in the order they were 
added to
the database, instead of utilizing the ordering that you specified in the 
config.

Original comment by travistx on 8 Feb 2009 at 11:11

GoogleCodeExporter commented 9 years ago
That is excellent news! Well done on the fix. Is it possible as I mentioned to 
ensure
that the importer correctly sorts the files upon import? I can't think of any 
case
where you would intentionally want the ordering to NOT be 1, 2, 3 etc.

Original comment by grimn...@gmail.com on 8 Feb 2009 at 11:37

GoogleCodeExporter commented 9 years ago
Issue 339 has been merged into this issue.

Original comment by conrad.john on 11 Feb 2009 at 3:40