Thread Rating:
  • 1 Vote(s) - 5 Average
Moves runtime not read correctly from NFO files since r30362
#1
Sad 
Hi,

I'm having troubles ever since r30362 up to r31123 (latest) reading NFO files (using ember),

With r31123 everything is fine BUT the movie runtime, it only shows 1 minutes or 2 minutes movie length for all my movies instead of the correct runtime,

Does anybody experience the same trouble?

Does anybody know if something changed in XBMC's routine of reading the runtime in the NFO files?

Everything was working perfect up to r30362

I believe a debug is unnecessary so far, thank you for your help!
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply
#2
yes, we now read it from the media files instead.
Reply
#3
hello spiff thanks for your fast answer

do you have any idea why e.g. for 1000 different MKV files the runtime is either 1 minutes either 2 minutes instead of reading the correct length?

if I ask that it's because up to now I was using emberMM to read the media file duration (which sounds the same routine XBMC is using now) instead of the imdb/tmdb "official" movie runtime and it was working great because it allowed me to also rename "min" to "minutes"

any help to figure out what could be going wrong would be very appreciated

thanks a lot
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply
#4
no idea, it sounds a bit weird. it's supposed to extract the length in minutes.
Reply
#5
okay no problemo,

if anybody else is experiencing the same problem and/or have any clue thanks for sharing Smile
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply
#6
dondre Wrote:okay no problemo,

if anybody else is experiencing the same problem and/or have any clue thanks for sharing Smile

The problem is the .nfo generated for example by mc2 is wrong. In the duration field the time is in "1h 20 min" not "80 min".
The scraper read only the 1 or 2 or 3. Depends on how long the movie is.
The developer of the mc2 will update the app on the weekend.
Reply
#7
that's a NASTY regression on our part. will nag the relevant parties. cheers for the heads-up
Reply
#8
spiff Wrote:yes, we now read it from the media files instead.
So it won't fall back to the NFO if it can't get the info from the files? I use dummy files with NFO's for my offline DVD's.
Reply
#9
read again. it's reading the duration from the nfo's just fine, it's just that it's expecting a single number.
Reply
#10
spiff Wrote:read again. it's reading the duration from the nfo's just fine, it's just that it's expecting a single number.

Yeah I was typing my post when that post showed up. Thanks Spiff
Reply
#11
spiff Wrote:read again. it's reading the duration from the nfo's just fine, it's just that it's expecting a single number.

Well I've tried renaming;

Quote: <runtime>109 minutes</runtime>

to

Quote:<runtime>109</runtime>

then updated I've refreshed the movie info and it still shows "1 Minutes" Eek
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply
#12
dondre Wrote:Well I've tried renaming;



to



then updated I've refreshed the movie info and it still shows "1 Minutes" Eek

xbmc read the runtime from the "duration" entry not from the "runtime" entry.
Reply
#13
zoing Wrote:xbmc read the runtime from the "duration" entry not from the "runtime" entry.

erf I've just realized that myself now,

there is e.g.

<duration>1h 49mn</duration>

you're completely right that explains the "bug"

I feel like there are no options in EmberMM to control the <duration> argument so we're sort of screwed for now, hope EmberMM's devs are aware of XBMC's routine change and the need to adapt the <duration> argument from hours units to minutes units Huh
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply
#14
You can set it yourself in EMM.
Reply
#15
Thumbs Up 
Interesting,

Could you perhaps point me to where to look for?

I'm only able to see those options;

Image

Thanks a lot for helping me out Nerd
[XBMC-DX r31103 T! r455]
.:LAPTOP:. Dell [C2D E6400] [8G DDR2] [Intel X4500HD] [LED 14'' 1280*[email protected]]
.:NAS:. Antec [Ci7 920] [12G DDR3] [Matrox m9148] [19.4 TiB] [Triple Samsung 22'' 5040*[email protected]]
.:HTPC:. Antec [C2 Q9400] [6G DDR2] [nv GT240 VP4] [SB X-FI Ti] [Toshiba 46'' 1920*[email protected]] [Logitech Z5K5]
Reply



Moves runtime not read correctly from NFO files since r3036251