Jump to content

MB3 on FreeNAS plugin


prashy21
 Share

Recommended Posts

TrainAss

just like plex, it would be nice to have mediabrowser 3 working on FreeNAS as plugin.

 

Cheers!! 

I too would love this.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
mcleanp

Has there been any interest in this?

FreeNas has a great UI, and alot of people are now using it, so since Mediabrowser is Server based it might be an interest to get working on it.

Link to comment
Share on other sites

Koleckai Silvestri

I would suspect that once the Linux server components are working, it wouldn't be difficult to reconfigure them for FreeBSD.

Link to comment
Share on other sites

  • 3 weeks later...

Foaming at the mouth for this :) forgive my noobness, but NAS4Free would be easily accommodated if FreeNAS is correct? Understand, I'm not trying to start a debate (I've heard there's almost an android/ios feud) because I'm in the testing phase of NAS4Free for its feesability in my home. Any input is welcome, but I'm not trying to start a war.

Link to comment
Share on other sites

  • 2 months later...
chipper

This would be nice, but since ZFS installs on Linux, I found running a full Linux distro with ZFS pools better than just FreeNAS.

 

The commands to get ZFS pools up and running are difficult and it gave me more options (Crashplan, web browsing, etc.).

 

Didn't notice any performance issues...

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 2 months later...
  • 3 weeks later...
woodsb02

To get it working on FreeNAS is effectively the same work required to get it working in FreeBSD.

 

I am interested in helping in this porting effort, having just ported plexhometheater to FreeBSD. But that was quite different, as it is based on XBMC which was already known to work on FreeBSD.

 

At a high level, do you download the precompiled exe binaries and run them with a pre-installed standard mono environment? Or should I set it up to compile the C# code from source (as per normal C ports)?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

To get it working on FreeNAS is effectively the same work required to get it working in FreeBSD.

 

I am interested in helping in this porting effort, having just ported plexhometheater to FreeBSD. But that was quite different, as it is based on XBMC which was already known to work on FreeBSD.

 

At a high level, do you download the precompiled exe binaries and run them with a pre-installed standard mono environment? Or should I set it up to compile the C# code from source (as per normal C ports)?

 

 

Sent from my iPhone using Tapatalk

 

Hi there, welcome. We'd love to have you help us with this. Either option can be done. Which is preferable?

Link to comment
Share on other sites

woodsb02

Looking at other mono software in the FreeBSD ports tree, I think building from source is preferred.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Thanks, I'll have a look at that and see how I go :)

 

 

Sent from my iPhone using Tapatalk

 

Let me know if you need anything.

Link to comment
Share on other sites

woodsb02

Hi Luke,

 

My first call for help! Following those build scripts, I have created a test FreeBSD port: https://redports.org/browser/woodsb02/multimedia/mediabrowser

 

Basically, it does the following to perform the build:

mozroots --import --sync
mono .nuget/NuGet.exe update -self
xbuild /t:clean /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln
xbuild /t:build /p:Configuration="Release Mono" /p:Platform="Any CPU" MediaBrowser.Mono.sln

To install, it simply copies the contents of "MediaBrowser.Server.Mono/bin/Release Mono" into /usr/local/lib/mediabrowser/.

 

When I try to run it, I get the following:

Info, Main, Media Browser Server started
Info, Main, Command line: /usr/local/lib/mediabrowser/MediaBrowser.Server.Mono.exe
Info, Main, Server: test
Info, Main, Operating system: Unix 9.1.0.0
appHost.Init
Info, App, Application version: 3.0.5370.28749
Info, App, Application configuration:
	{"EnableUPnP":true,"HttpServerPortNumber":8096,"EnableInternetProviders":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"ShowLogWindow":false,"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableTvDbUpdates":false,"EnableTmdbUpdates":false,"EnableFanArtUpdates":false,"ImageSavingConvention":"Compatible","EnablePeoplePrefixSubFolders":true,"MediaEncodingQuality":"Auto","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableDebugEncodingLogging":false,"EnableAutomaticRestart":true,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"UICulture":"en-us","DownMixAudioBoost":2,"DefaultMetadataSettingsApplied":false,"PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"SecureApps1":["Dashboard","MBKinect","NuVue","Media Browser Theater"],"SaveMetadataHidden":false,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":false}
Info, App, Loading MediaBrowser.Api, Version=3.0.5370.28742, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5370.28740, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Model, Version=3.0.5370.28693, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common, Version=3.0.5370.28694, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Controller, Version=3.0.5370.28710, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Providers, Version=3.0.5370.28720, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5370.28704, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5370.28732, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5370.28746, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Dlna, Version=3.0.5370.28744, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5370.28747, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5370.28748, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5370.28749, Culture=neutral, PublicKeyToken=null
Info, SqliteUserRepository, Opening /usr/local/lib/mediabrowser/ProgramData-Server/data/users.db
Info, SqliteItemRepository, Opening /usr/local/lib/mediabrowser/ProgramData-Server/data/chapters.db
Info, SqliteItemRepository, Opening /usr/local/lib/mediabrowser/ProgramData-Server/data/mediainfo.db
Info, SqliteFileOrganizationRepository, Opening /usr/local/lib/mediabrowser/ProgramData-Server/data/fileorganization.db
Info, AuthenticationRepository, Opening /usr/local/lib/mediabrowser/ProgramData-Server/data/authentication.db
Error, Main, UnhandledException
	One or more errors occured
	System.AggregateException
	  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
	  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
	InnerException: System.ApplicationException
	Unable to download required components. Please try again later.
	  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.ServerApplication.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
	
UnhandledException
One or more errors occured
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
InnerException: System.ApplicationException
Unable to download required components. Please try again later.
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.ServerApplication.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterMediaEncoder>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.ServerApplication.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 


Thoughts?

Link to comment
Share on other sites

woodsb02

Am I right in saying this error is because it couldn't download a statically linked ffmpeg to use? The code at MediaBrowser.ServerApplication/FFMpeg/FFMpegDownloadInfo.cs has options for mac, windows and Linux links, but since my uname.sysname is "FreeBSD" it doesn't have any download options.

 

Any reason that is required? Or is there an easy way to link to one installed through the FreeBSD package manager?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...