Closed HummelsTech closed 7 years ago
Hi,I am a developer who can represent Media Browser and offer all the help you need. Let me know if you need anything. Thanks.
This would be great, I have a ds2413+ so I'm hoping it might be able to do some transcoding too
I would also love to see mediabrowser on DSM
I'd also love to see Media Browser running on Synology.
Would be great to get you on-board with this fantastic project.
Would love to see this realized also. Thanks!
Would love this as well. Have a DS415+
@LukePulverenti so if i get this right, Media Browser requires mono, sqlite, mediainfo and libgdiplus?
there already is a BETA mono package if i remember correctly, sqlite compiles quite well and i got mediainfo working a while ago for one of my other projects... the only thing i don't know about is libgdiplus
That is correct and libwebp is an optional dependency that will improve image downloading performance, but the server can function without it. mono 3.2.8 is the minimum required, but now that the mono group is starting to replace their code with Microsoft-written equivalents, I think there is some incentive now to start keeping up to date.
would love this also, have a 413j been a MB3 supporter for ages..;)
Great idea ! +1
i'll take a look at this if i got some spare time :)
Let us know if we can help in anyway? I have few technical skills but very enthusiastic!
looks like libgdiplus has a lot of dependencies... including x11 i'm not really sure why (x11 is a graphical library) but it seems like there are used some libs (libX11, libXrender, libXt)...
as far as i can see x11 has a lot of depends and i'm not sure if it makes sense to try to cross compile a GUI Library to an headless system like Synology... also i have no idea how to build x11 on my own ...
@Diaoul @Dr-Bean what do you think?
I'd say if we need X11 we're screwed.
we can look at switching image processing libraries if this is going to be a blocking issue.
@LukePulverenti seems so... i've tried a few times to compile it without x11 but it didn't work... at least the dev libs are needed -.-
I've looked at this in the past and ImageMagick is one alternative I've considered...
Do you mind taking a look and seeing if this library would be feasible? They have libraries for linux, osx, android and ios so it seems to run on just about everything. Thanks!
@LukePulverenti i've got ImageMagick working on my DS :)
daenerys> /usr/local/imagemagick/bin/convert -version
Version: ImageMagick 6.9.0-0 Q16 x86_64 2014-11-24 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC
Delegates (built-in): freetype png tiff zlib
@cytec: try to compile ARM and PPC, problems usually arise on those archs.
@Diaoul was my planed nex step, but as i can't test it i first wanted to make sure it compiles on a platform i can verify :) now im gonna try to compile it for 88f6281 and quoriq
@Diaoul successfully compiled for 88f6281 and qoriq as well :)
Good news, I guess that's a go @LukePulverenti :cake:
Love to see this request is so lively
We're waiting for upstream. @LukePulverenti: do you have an estimated ETA? more like weeks or months?
qoriq is out. No decent mono support. https://github.com/SynoCommunity/spksrc/issues/671#issuecomment-38981476
There is a build of mono 3.6 which is much better then 3.4 at least in terms of nzbdrone. I can only assume the same for media browser.
https://dl.dropboxusercontent.com/u/300345/spk/mono/index.html
We will be looking to get this done over the next few weeks.
@Jabbera I wouldn't worry about mono support, it is going to come. Have you seen the recent Microsoft announcements?
They are going to be supporting the .net framework on other platforms such as linux, osx, etc. Having MS as a backer is going to lead to more apps being built with it, which is going to put pressure on devices and distros to keep mono up to date. Nothing happens overnight of course, but it's moving pretty quickly.
@LukePulverenti nice to hear that, gimme a shout if you got it and i'll have another look at it :)
I'd also love to see Media Browser server running on my Synology NAS. I hope you guys can sort it out.
@LukePulverenti I'm curious if you were able to make progress on the above. I'm eager to try it :-)
Thanks in advance.
I am in process of writing a managed c# wrapper around the ImageMagick functions we need. If anybody would like to help then it can get done faster. I have it in a separate project with unit tests. There's still about a half dozen functions to be added, and a few failing tests to figure out.
Short version: Media browser to Synology :+1:
Long version: Since I´ve tried to have all my server functions on my Synology NAS-server, I would also love to see Media browser available on via the package package and update functions. If it´s a long process through Synology - use https://synocommunity.com/, which is easy added as a resource to the Synology NAS and then just download the package from there. Would be awesome! Thank you in advance! I am however just a script-kiddie and no programmer - so I rely on others being awesome.
Help us @LukePulverenti - you´re our only hope...
@Lukepulverenti
I would help but i am a web developer and not one with C# knowledge. Hope someone else can help you.
Keep up the good work!
@LukePulverenti I can help with C# wrapper code. Also, can you tell why this existing .Net wrapper won't work: http://magick.codeplex.com/
Excellent, thanks! That one will not work because it's a mixed mode assembly that will only function on windows. It might be possible to rip out the native assembly but it's really a large project. We only need about 10 basic functions. I will create a new repository that has the current code and then respond again.
Here it is https://github.com/MediaBrowser/ImageMagickSharp
Run the unit tests and you'll find two failing tests. Once those are finished there's about 5 other methods we'll need, but they're not that difficult.
Not to be impatient, but is there any progress? I see a lot of other media browser activity :-)
HI, i'm also interested in this project. 1) I'm quite familiar with C#, but as I never worked with github before (worked with git, but no branch/merge/...) and it might take some time to get into it, I would like to know how the progress is. 2) And how much work besides this library wrapper is needed to get MediaBrowser to run on ARMbased Synology's? As I might put some work in it is quite feasible to have MediaBrowser there in the next weeks, but I may not be interested if it's clear that it might need many more months. 3) Would it work on Syn DS414j (MINDSPEED Comcerto C2000)? Mono seems fine/available. 4) If not by working on it, the project looks intersting enough to support it via "bountysource" (or something like that) ....
@n00b42
Awesome, great to hear. After the ImageMagick library wrapper is done, we need to update MBS to use ImageMagick instead of GDI+. That part is easy. Then we have to start working on the Synology package. Perhaps that can get going in parallel?
We already have someone working on the ImageMagick wrapper and it's going quite well. It's getting close to complete. If Synology package building is not your forte then there are always other projects you could help on.
@LukePulverenti Thanks for the informations, it is nice to hear that it's going quite well. I have to admit that i'm not familiar with Synology package building (as packaging in Linux environments at all) ... I'll follow the issue and sure will help testing / come up with suggestions. (Due to another project I might be short on time for the next month(s) )
Just a heads up, our ImageMagick library is complete and we will now begin replacing GDI with ImageMagick for Media Browser Server image processing operations. This will be done for the next server release cycle (not the current beta that is about to go stable).
Once this is complete all systems should be go. If there is someone who would like to volunteer to simultaneously start working on a Synology package, that would be most appreciated.
This is brilliant, hopefully someone can pick up the baton for the final leg!
Well this turned out to be very easy, and the integration is already done in the dev branch:
https://github.com/MediaBrowser/MediaBrowser/tree/dev
All traces of GDI+ have been removed so there should be no more blocking issues at this point.
Good to hear :-) Sadly i don't know how to build the package. But i'm sure someone here does.
yeah nice. well i think now everything should work, i'll give it another try if i got some time left :)
@LukePulverenti as i don't have any ideas how to compile something with mono... is there a compiled version of your dev
branch or do i need to compile it myself?
We have windows and linux build scripts available: https://github.com/MediaBrowser/MediaBrowser/tree/dev/Tools
@cytec check out the way nzb drone package works. You shouldn't actually need to compile anything.
Look Like the imagemagick is to old 😕
What do you mean? The existing package is too old? Upgrading it should hopefully be trivial, or adding another version if necessary.
See here my logs and what i'veel tried http://mediabrowser.tv/community/index.php?/topic/13890-synology-almost-working/page-2#entry180002
You should upgrade, and/or adjust the requirement in the ImageMagickSharp.dll.config file.
You can change that file to point to the version installed on your system. If the functions we're using are available in your older version, there's a good chance it will work.
I like to have http://mediabrowser.tv/ server to run on my NAS. Is it possible for some developers here to take a look at it? I hope this could be realized ;-)
Thanks anyway.
There is a $10 open bounty on this issue. Add to the bounty at Bountysource.