Jump to content

FreeNAS plugin


Recommended Posts

Posted

Just updated as well. Thank you guys for the work!

Posted

Thanks for the feedback.

OneHungryPoboy
Posted

Just updated this morning and this fixed playback issues I was having as well.  thanks Josh and the Emby team!

  • 1 month later...
Jbizzlefosho
Posted

Evening!

 

I was hoping I could get some help with FreeNAS 9.10 and the Emby plugin. I believe I have everything setup correctly, but I'm running into problem when it comes to Live TV recording. I've added the appropriate storage to the jail, the location of my media as well as where I want the recordings to go. I must be missing something because it won't record anything. All that I can gleam from the server logs is that Emby is being denied access, but that is as far as I am able to understand. The latest error occured when I was trying to record Frontline. I've tried doing all of what was posted here to no avail. I must be doing something wrong. Any info would be helpful and I'll gladly answer any additional questions. 

 

Thanks!

 

server-63628070400.txt

Posted

Hi @@Jbizzlefosho, yes that's what it looks like. 

System.UnauthorizedAccessException: Access to the path "/media/LiveTV/Frontline" is denied.

@@Vidman do you have any pointers on write access within freenas?

Posted

Thank you for the last update of plugin!

  • Like 1
Jbizzlefosho
Posted

Hi @@Jbizzlefosho, yes that's what it looks like. 

System.UnauthorizedAccessException: Access to the path "/media/LiveTV/Frontline" is denied.

@@Vidman do you have any pointers on write access within freenas?

Just a quick update. After deleting and resetting up Emby multiple times, I was able to get Solution 3 to work from the linked website from my previous post. Again, that link is here

 

Thanks

Posted

Thanks for the feedback !

  • 2 weeks later...
Posted

i'm trying to update to 3.2.13 from 3.2.12 and getting this error

 

May  6 14:07:29 freenas manage.py: [common.pipesubr:66] Popen()ing: /sbin/umount -f '/mnt/PluginsHDD/emby_1/MediaData'
May  6 14:07:30 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]

 

any way to fix this?

josh4trunks
Posted

i'm trying to update to 3.2.13 from 3.2.12 and getting this error

 

May 6 14:07:29 freenas manage.py: [common.pipesubr:66] Popen()ing: /sbin/umount -f '/mnt/PluginsHDD/emby_1/MediaData'

May 6 14:07:30 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]

 

any way to fix this?

remount the storage, or remove it and readd it after the upgrade. on Jails > Storage
Posted

remount the storage, or remove it and readd it after the upgrade. on Jails > Storage

still have this error

 

16:39:16 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]

 
the last solution i think is to remove emby and install again but is the last thing i want to do
josh4trunks
Posted

 

still have this error

 

16:39:16 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: There was a problem creating the PBI]

 
the last solution i think is to remove emby and install again but is the last thing i want to do

 

That is not the last solution. There is a method that works quicker then upgrading though it takes a few steps.

 

Posted

thank you, worked sort of but i don't know if i done something wrong i need to reconfigure emby again

josh4trunks
Posted

you shouldn't need to. did it remember all of your shows?

 

maybe you didn't upload the PBIs on the Jails tab

Posted

No so big problem i had a backup but thanks for your help.

 

Enviado do meu SM-G955F através de Tapatalk

josh4trunks
Posted

if you have a backup of your jail, all you need is to restore /var/db/emby

Posted

just here to say that the transition from freenas 9.10 to freenas 11 RC went smoothly, emby still works perfectly.  Upgraded to the latest version for posterity, but overall, very happy.

 

Can't say the same for all my other plugins (sabnzbd & crashplan both died in the upgrade).

 

good work josh & whoever else makes sure this all works smoothly!

Posted

I thought FN11 got rid of plugins... how is it still working?

bluemonkey07
Posted

Not yet, maybe when docker is reimplemented and working well

Posted

Thanks for the feedback !

  • 2 weeks later...
Malpractis
Posted

Hey guys

 

I've just set up Emby 3.2.15.0 as a plugin in Freenas 9.10.2-U3. I'm pretty sure all the permissions are working as Emby is able to move and rename files and hasn't had any issues importing the library or anything. However I am unable to play any of the video files I'm getting this:

 

Shared object "libiconv.so.3" not found, required by "libavcodec.so.56"

 

I would very much appreciate some help :).

Posted

Hey guys

 

I've just set up Emby 3.2.15.0 as a plugin in Freenas 9.10.2-U3. I'm pretty sure all the permissions are working as Emby is able to move and rename files and hasn't had any issues importing the library or anything. However I am unable to play any of the video files I'm getting this:

 

Shared object "libiconv.so.3" not found, required by "libavcodec.so.56"

 

I would very much appreciate some help :).

 

Can you please provide the log file that contains that? thanks.

Malpractis
Posted

Yeah sure.

 

http://10.0.0.24:8096/emby/videos/b37ca748cbb46479afaf669885f9a9ea/live.m3u8?DeviceId=2d88815172ce9850357aee626eb378d3fe37fea3&MediaSourceId=b37ca748cbb46479afaf669885f9a9ea&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=7ae64c42c53e4dbebffad1485bffcba0&api_key=14fea3acde4e4aecbf7b8e36ec743ba8&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=b042f0239c722a0140f81dff1fda016e&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False

{"Protocol":"File","Id":"b37ca748cbb46479afaf669885f9a9ea","Path":"/media/tv/Dragonball Z Kai/Season 1/Dragon Ball Kai S01E98 - Dragon Ball KAI - 98 -.mkv","Type":"Default","Container":"mkv","Name":"","IsRemote":false,"ETag":"b042f0239c722a0140f81dff1fda016e","ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}}

/usr/pbi/emby-amd64/bin/ffmpeg -f matroska -i file:"/media/tv/Dragonball Z Kai/Season 1/Dragon Ball Kai S01E98 - Dragon Ball KAI - 98 -.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 aac -strict experimental -ac 6 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/fbb67fb5530384a5651edc008f2042d7/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/fbb67fb5530384a5651edc008f2042d7.m3u8" -y "/var/db/emby-server/transcoding-temp/fbb67fb5530384a5651edc008f2042d7%d.ts"


Shared object "libiconv.so.3" not found, required by "libavcodec.so.56"

josh4trunks
Posted

@@Malpractis

hmm, i didnt know that was a required library. does this command give you an error?

/usr/pbi/emby-amd64/bin/ffmpeg

 

i would think this command should fix it

ln -s /usr/pbi/emby-amd64/lib/libiconv.so.3 /usr/local/lib

  • Like 1
Malpractis
Posted

@@josh4trunks

 

Yeah that did give an error. Shared object "libiconv.so.3" not found, required by "libavcodec.so.56"

 
After running the command you posted it seems to be working now! Thanks a lot :) 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...