MediaInfo from XML
#12
Hi,

Thanks first of all for TMM, really a great tool.

Am running TinyMediaManager V 2.9, build 2016-10-27 18:39 and mediainfo v0.7.91 in Linux.

Seems I have two questions:

1) How would the above work when you have a movie that is split onto two discs, e.g. LOTR.disc1.iso and LOTR.disc2.iso. I guess we load only disc1s xml?

2) I am trying to get TMM to load this xml (http://pastebin.com/dy18VgDv) which is in the same folder then the movie file and has the exact same filename to the moviefile plus the -mediainfo.xml ending (you suggested <filename>-mediainfo.xml). Unfortunately the file is not loaded. Do you happen to know why?

Maybe I should add that the xml was created via the suggested method but I pointed mediainfo to the appropriate mpls file to ensure it picks the right info.

Here the logfile info:

Code:
2016-12-10 17:46:33,820 INFO  [tmmpool-main-task-thread-4] o.t.c.m.tasks.MovieUpdateDatasourceTask2:969 - getting Mediainfo...
2016-12-10 17:46:33,821 DEBUG [tmmpool-mediainfo-thread-1] o.t.core.entities.MediaFile:1429 - start MediaInfo for /media/XX.2012.3D/XX.2012.3D.BluRay.1080p.AVC.DTS-HD.MA.7.1.disc1.iso
2016-12-10 17:46:33,821 INFO  [tmmpool-mediainfo-thread-1] o.t.core.entities.MediaFile:1221 - ISO: try to parse /media/XX.2012.3D/XX.2012.3D.BluRay.1080p.AVC.DTS-HD.MA.7.1.disc1-mediainfo.xml
2016-12-10 17:46:33,980 ERROR [tmmpool-mediainfo-thread-1] o.t.core.entities.MediaFile:1737 - ISO file seems to have an invalid structure - ignore duration
2016-12-10 17:46:33,980 DEBUG [tmmpool-mediainfo-thread-1] o.t.core.entities.MediaFile:1429 - start MediaInfo for /media/XX.2012.3D/XX.2012.3D.BluRay.1080p.AVC.DTS-HD.MA.7.1.disc2.iso
2016-12-10 17:46:33,981 ERROR [tmmpool-mediainfo-thread-1] o.t.core.entities.MediaFile:1330 - Mediainfo could not open STREAM - trying fallback
java.lang.RuntimeException: com.github.stephenc.javaisotools.loopfs.api.LoopFileSystemException: Invalid block size: 0
    at com.github.stephenc.javaisotools.loopfs.spi.AbstractBlockFileSystem.iterator(AbstractBlockFileSystem.java:63)
    at org.tinymediamanager.core.entities.MediaFile.getMediaInfoSnapshotFromISO(MediaFile.java:1252)
    at org.tinymediamanager.core.entities.MediaFile.gatherMediaInformation(MediaFile.java:1432)
    at org.tinymediamanager.core.MediaFileInformationFetcherTask.call(MediaFileInformationFetcherTask.java:84)
    at org.tinymediamanager.core.MediaFileInformationFetcherTask.call(MediaFileInformationFetcherTask.java:37)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.github.stephenc.javaisotools.loopfs.api.LoopFileSystemException: Invalid block size: 0
    at com.github.stephenc.javaisotools.loopfs.iso9660.Iso9660VolumeDescriptorSet.validateBlockSize(Iso9660VolumeDescriptorSet.java:210)
    at com.github.stephenc.javaisotools.loopfs.iso9660.Iso9660VolumeDescriptorSet.deserializePrimary(Iso9660VolumeDescriptorSet.java:128)
    at com.github.stephenc.javaisotools.loopfs.iso9660.Iso9660VolumeDescriptorSet.deserialize(Iso9660VolumeDescriptorSet.java:99)
    at com.github.stephenc.javaisotools.loopfs.spi.AbstractBlockFileSystem.loadVolumeDescriptors(AbstractBlockFileSystem.java:78)
    at com.github.stephenc.javaisotools.loopfs.spi.AbstractBlockFileSystem.iterator(AbstractBlockFileSystem.java:61)
    ... 10 common frames omitted


Messages In This Thread
MediaInfo from XML - by hawikoeln - 2016-08-02, 23:58
RE: MediaInfo from XML - by myron - 2016-08-03, 15:56
RE: MediaInfo from XML - by myron - 2016-08-16, 16:18
RE: MediaInfo from XML - by hawikoeln - 2016-08-17, 16:01
RE: MediaInfo from XML - by hawikoeln - 2016-08-18, 07:36
RE: MediaInfo from XML - by myron - 2016-08-18, 09:15
RE: MediaInfo from XML - by hawikoeln - 2016-08-18, 10:15
RE: MediaInfo from XML - by myron - 2016-08-18, 13:40
RE: MediaInfo from XML - by hawikoeln - 2016-08-18, 17:08
RE: MediaInfo from XML - by myron - 2016-08-30, 11:24
RE: MediaInfo from XML - by hawikoeln - 2016-08-30, 13:07
RE: MediaInfo from XML - by ClueLessNoob - 2016-12-10, 23:11
RE: MediaInfo from XML - by myron - 2016-12-12, 13:58
RE: MediaInfo from XML - by ClueLessNoob - 2016-12-12, 23:03
RE: MediaInfo from XML - by myron - 2016-12-13, 09:09
RE: MediaInfo from XML - by ClueLessNoob - 2016-12-14, 00:15
RE: MediaInfo from XML - by myron - 2016-12-29, 12:51
RE: MediaInfo from XML - by ClueLessNoob - 2017-01-15, 23:26
RE: MediaInfo from XML - by myron - 2017-01-16, 13:38
RE: MediaInfo from XML - by ClueLessNoob - 2017-01-18, 01:23


Logout Mark Read Team Forum Stats Members Help
MediaInfo from XML0
This forum uses Lukasz Tkacz MyBB addons.