3.0.0-a5: Incompatible with movieinfo 0.9.1

Developers forum for Univeral Media Server-related development (only for programmers)
Locked
mopp
Posts: 5
Joined: Sat Sep 14, 2013 5:19 am

3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by mopp »

Movieinfo 0.9.1 is not compatible with UMS 3. The error was already reported viewtopic.php?f=9&t=1038 but without any reply.

Error:
java.lang.NoSuchMethodError: net.pms.dlna.DLNAResource.getExt()Lnet/pms/formats/Format;

The reason for it. The function getExt was removed 3 months ago https://github.com/UniversalMediaServer ... ba4dde49a1.

There are two options either enable the old functions again or fix the plugin.
I guess to fix the plugin somebody just needs to exchange getExt with getFormat in https://github.com/SharkHunter/MovieInf ... nsion.java, but this might break the compatibility with PS3 media server.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by ExSport »

This change is ported from PMS so change should work for both PMS and UMS.
I already wrote somewhere that I want to update it but still had no time...my notebook was reinstalled so I need to install and configure all development staff again :(
Update: http://www.ps3mediaserver.org/forum/vie ... 173#p81173
mopp
Posts: 5
Joined: Sat Sep 14, 2013 5:19 am

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by mopp »

Unfortunately I' ve no idea how to create a jar file. Do you have the command line options for it?
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by ExSport »

You have to compile source code with eg. Eclipse or NetBeans used by developers.
hanskanns
Posts: 1
Joined: Fri Sep 06, 2013 6:32 pm

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by hanskanns »

smo has added an UMS build to his Jenkins. The built jar can be downloaded from here
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by ExSport »

We are talking about plugin and not UMS itself ;)
Anyway I am right now rebuilding my development environment....
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by ExSport »

I fixed MovieInfo plugin so it should be compatible with latest UMS versions (with older UMS versions use version from 2013-04-28).
Changes: Please try it and let me know if it works.
Attachments
MovieInfo_2013-04-28.zip
MovieInfo plugin working with older PMS/UMS
(82.32 KiB) Downloaded 565 times
MovieInfo_2013-09-17.zip
Updated MovieInfo plugin working with latest PMS/UMS
(82.44 KiB) Downloaded 811 times
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: 3.0.0-a5: Incompatible with movieinfo 0.9.1

Post by SubJunk »

Thanks for this, ExSport. I've also added getExt and setExt so they'll be back in 3.0.0-a6
Locked