JMM Plex Plugin 0.9 (Anime Fans Uproar)

JMM Plex Client (plugin). Anime Fans Uproar. (TESTERS WELCOMED)
 
Japanese Media Manager is a group of software designed to play, sort, file sort, index, sync, automanage, and get metadata from various sources for you Anime Collection.
It's uses AniDB as master provider, and also has TvDB, MovieDB, MAL and TRAKT as metadata and indexing and syncing sources.
It requires a valid AniDB account to function. 
 
For more info visit: 
 
 
Some screenshots of the client taked from my IPAD using Plex and JMM Plugin...
 
 
 
 
 
 
Installation (JMM Server only works on Windows)
 
Please download JMM, and follow installation notes from (both JMM Server and Plex Channel are required)
 
 
 
TODO
Global Search function is not working, still hacking my way in ;)
Rating Function, Scrobble/Unscrobble/Resume Play if possible
Better preferences (Dynamically create the list of JMM Users).
Cleanup and add resilience to the plugin code. Last time i touched python was 16 years ago :P
 
Some of this features are currently on standby, since Plex do not support them for channels.
 
Know Problems
 
When playing an anime with the new plex skin in Plex Home Theater, a gray screen is presented, if you press play (return) again it'll begin play. Happens with all channels tested, seems Plex new skin is missing some data.
 
 
Some background
 
Since Plex Channels plugins are unable to create Subtitle streams, some hacking and reversing of the plex xml objects, and Plex Media Scanner where done.
 
The Plex part in JMM Server is capable of creating the same metadata as native plex programs create, like the Plex Media Scanner, the plugin only proxies the data between JMM Server and Plex.
Because JMM is capable of creating the same metadata as the Plex Media Scanner, Plex transcoder is happy, and will transcode if needed all your anime with subtitles.
 
 
Plex Bugs noted when developing this plugin:
 
* Plex Transcoder has bugs on chunked HTTP data, random audio problems, hangs, etc. Tested with WCF (Windows Communication Foundation) streaming.
 
* Plex Transcoder when asking for External Subtitles, uses HTTP 1.0 protocol which is fine, but when the server respond with Connection:Close http header, which is normal behavior on HTTP 1.0 (HTTP 1.1 uses Connection:Keep-Alive mostly which is not supported by HTTP 1.0). It closes the socket, without receiving the body. My Fault, griffin.networking is buggy.
 
Plex and JMM are maintained on github jmm media manager page, for latest changes and versions visit.
 

I have looked into JMM for a while now for indexing my Anime. only problem with it is, windows only. looks like good work, and im excited to see some progress on a plex plugin for anime, but still can't use.

-Thanks for the work though!

well something went wrong with my JMM server now..... cant get it to start at all anymore after i followed your steps.

my servers have been running for months and i hate to have to hash all the files again.

i followed your steps by dumping the files in the JMMServerWithPlexSupport.rar and MediaInfo.rar files into the JMM Server Root, where the JMMServer.exe is located.

i then dumped the files from the MyAnime_Plex_Plugin.zip bundle into your Plex plugins folder.

both the JMM server and Plex server was off at this point.

i then went into the JMMServer.exe.Confid file and searched with control + F for the line you wanted Deleted, saved the file and tried starting up the JMM Server like i always do.

windows questioned me about the new exe file and i let it run. it shows up on my processes for just a second and then just disappear from the processes window.

nothing more too it.

only thing i get from the Logs are:

[2013-12-23 00:04:39:586] Info|MainWindow.MainWindow_Closing => MainWindow.ShutDown => MainWindow.AniDBDispose Disposing...

[2013-12-23 00:04:39:604] Info|MainWindow.ShutDown => MainWindow.AniDBDispose => AniDBHelper.Dispose ANIDBLIB DISPOSING...
 
not sure whats wrong, but i hope you fix this. if you will manage to grab a Scrobble from plex and let the JMM server do its job from there on you would be my hero.
and if you manage to fix the subtitle support on Anime in general.
 
 
just hope you can atleast look into this for me.
running ATM Windows 8 Pro 64bit
got .NetFramework v4.5.1 and alot of older versions aswell.
 
i first tried to delete the old ""
it didnt work, tried changing it to ""
as i know thats what windows knows it as in the Regeditor, also tried just having the old line in place. same answers on all 3 tries for me.

No worries about loosing hashes. Backup you JMMServer.exe.config, and reinstall original, or replace the dll in the directory...

Tell me what Database are you using, and Please could you upload your JMM Server config file...

Seems the 2.0 -> 4.5 Transition do not go smoothly, i have to use 4.5 since griffin.networking need 4.0.

Scrobble could be trouble, seems there is no scrobble callback into channels plugins from plex. Subtitles works ok.

Included with this post,there is a executable that logs a little more, please replace the JMMServer with the one in the archive...

Also try to run JMM Server as administrator, just in case.

JMM Server with extra startup log... http://www.multiupload.nl/2E3I7IVXYV

Finally delete all of this in the config...Just in case

 
 

No worries about loosing hashes. Backup you JMMServer.exe.config, and reinstall original, or replace the dll in the directory...

Tell me what Database are you using, and Please could you upload your JMM Server config file...

Seems the 2.0 -> 4.5 Transition do not go smoothly, i have to use 4.5 since griffin.networking need 4.0.

Scrobble could be trouble, seems there is no scrobble callback into channels plugins from plex. Subtitles works ok.

Included with this post,there is a executable that logs a little more, please replace the JMMServer with the one in the archive...

Also try to run JMM Server as administrator, just in case.

JMM Server with extra startup log... http://www.multiupload.nl/2E3I7IVXYV

Finally delete all of this in the config...Just in case

 
 

i tried to delete those lines before posting about problems aswell.

i am using the Microsoft SQL Server 2008 version of the database. had some hickups with the old database when i upgraded to windows 8 so i used that instead of normal MySQL.

since i cant attach a file i will upload it to Mega for you Here

the new file from the Multiupload page dont work either with the Vanilla setup. it stops responding and just dies. gonna try it with the new dll files and such you made.

-edit-

the new file with all the DLLs dont work either.

tried running it in all the old windows modes aswell.

the logs just contain this:

[2013-12-23 03:47:58:745] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...

[2013-12-23 03:48:18:507] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...
[2013-12-23 03:48:35:451] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...
[2013-12-23 03:48:50:293] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...
[2013-12-23 03:49:03:080] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...
[2013-12-23 03:49:15:629] Info|RuntimeType.CreateInstanceSlow => RuntimeTypeHandle.CreateInstance => MainWindow..ctor JMM Startup...
 
atleast i was able to save and backup the original files with Recuva, no deleting those any time soon XD
my server isnt dead anymore. tho i cant get the plugin to work at all tho :C
 
atleast its great to see someone working on and with the JMM server. looks like the progress on the server it self is dead :C
 
hope you can get this running smooth :D

Aremann:

Found the problem (Replicated it in a VM), seems some other dll where more new than lastest JMM Server version in code.google.com. I update the original post at the top, with all the dlls needed.

Btw your config file is strange it takes like 10 second starting. Original start the program almost immediately, i strongly recommend, you use a plain original config and re-enter your original values.

I have looked into JMM for a while now for indexing my Anime. only problem with it is, windows only. looks like good work, and im excited to see some progress on a plex plugin for anime, but still can't use.

-Thanks for the work though!

Hmm, i'll look into, if plex devels fixes Plex T4anscoder bugs (http chunked data). I'll be able to compile it using .NET Framework 2.0, which is MONO compatible.

I might need some help to recode the GUI from WPF to gtk# AND remove some incompatible libs. But is feasible to get it running on MAC or LINUX.

well i have never edited the config file manually at all before you told me too, you know that i blanked out all the passwords and usernames for all the profiles right? maybe thats why it was slow. dont care if its slow here since its not at all running off dual SSD's.

well one thing is now fixed, i can now start the JMM server again with all your DLL's and settings. but the plex side of things dont work at all anymore.

before it would atleast show me the settings button and such, not anymore. just a blank screen.

like this:

 
i have attached a picture of the Plex server screen and the newest log file. 2013-12-23.txt (814 Bytes) tried to enter the plex channel at the end of the log.

by Default JMM Starts with the Default user that is user with id 1, but if you deleted or might have other user ID. Since i cannot populate the preferences dynamically (plex limitation), the default user is ID 1.

There was a bug when the user do not exists. It's fixed now, settings will appear if not user is found, please try to use other user in preferences...

I included the lastest version of the plugin in the first post...

Check other uses, if none work, please, Try to open Your SQL SERVER Database, and tell me which is the default user id inside the SQL Table 'JMMUserID'

my users in the JMM system is the once they came with, the Default user that have no resticktions, and the Family Friendly user that hide things that are graphic. 

both users are unedited and havent been touched in the settings either.

unless you mean the SQL Server username then it is named "sa" as they used the in setup guide for JMM. 

will update to the newest plugin and see if things work now.

im sorry if im of little help, not good with SQL and such XD

---Edit---

well i feel im in the right direction atleast, since after the Plex Plugin update i can now see the settings again, tho i still cant use any of the users.

even tried setting up the SQL lite server aswell. still didnt work. 

I'm going to solve the user stuff in the preferences, i have to recode the services to accept the Username instead the UserID. In the meantime, please put this version of JMM Server.http://www.multiupload.nl/6FRYSPAYK5

Run JMM Server as usual, open the internet explorer/chrome/firefox in the same machine and type:

http://localhost:8111/JMMServerPlex/GetUsers

this will return the list of users and ID from JMM SERVER, paste them here

<User id="1" name="Default"/>
<User id="2" name="Family Friendly"/>
<User id="3" name="User 2"/>
<User id="4" name="Index"/>
 

that's what i got from that page, soooo why isn't it working when i am using User id=1? hmmmm weird. well the Plex plugin is not working still.....

just tried making two more users a few hours back.... didn't work. i have also tried all the users in the Plex plugin.

could it be that my library is too large? as it spans many many terabytes of data, tho its only 880 Groups in the JMM system, some Groups are containing more than one group as well.

---Edit---

no, that isn't it XD since it didn't work with the SQL Lite either with only one Group in it.....

COuld you send me JMM Server log?

Check this new version of JMM Server, i found a bug in GetFilters when the Filter has no Groups inside.

http://www.multiupload.nl/TQ7K2KZQJH

got a new log here 2013-12-24.txt (1.03 MB)

after i updated to the new exe i can now see my Groups and such. but only the once with a few Groups in them. like i have one with just movies that have 99 Groups, but i cant open the all tab or my anime tab at all, they have 880 groups and 651 groups.

managed to open on of the groups that have 332 groups. audio and video worked fine on the normal plex app, with the sub styling. witch is a huge deal for me. cant stand ugly subs XD

---Edit---

seems like the limit is anything from 367 to 651 since i can open the filters with 367 groups but not a filter with 651. hope you can fix that, if you do. this will be pretty much perfect in my book. will this work with the new chromecast future of plex aswell?

seems like its not working at all on the normal Plex app for windows, but it works on the brand new Home Theater app for some reason. and ofc in the server page.

works for me on the ipad app aswell, tho the subs are large, blocky and takes up 40% of the screen so i doubth i will use that much.

Check lastest version of the plugin in the top page, increased the timeout for filters with lots of groups. All Filter is 2790 groups for me, and is working. 

On The IPAD issue, you can fix it very easy, in Setting, change subtitle from normal to small, for some reason, normal is bigger than the original, small is the size as intended in the video (NORMAL)...

Gonna check the issues on the Normal Plex App.

well the positioning of the subs are just standard. so subs on signs and such and other things like karaoke intros are just being shown as normal blocky subs with no styling at all.

will test out the new plugin tomorrow, really tired ATM since its Christmas and people are using the Plex server ATM......

also, did see that it doesnt show the Cover pictures on the normal iPad app.

will give you a log when i try to acess it tomorrow.

New version released :) , check history for changes...

I tried to get it working but no luck....

It looks like it worked without the plex patch thing .. but I can't get connected to a server without doing that...

I got it set up and it works streaming to plex web, but if I try and play a file on my Nexus 5 it says 'Plex has stopped working' and takes me back to the folder I was in

well i cant talk for all. but this still dont work for me on my IPad with the offical app and the constelation app, dont work on my Web Browser or Samsung Smart Hub or even on the two Windows programs (the old one and the new Home Theater version) cant open the Categories that is made in the JMM System. 

some of them work like a Category for just movies or newly airing series and recently watched. but nothing else. its annoying to say the least.

wouldnt it also be faster to just make a metadata agent out of this instead? just a thought.