Jump to content

Search the Community

Showing results for tags 'LINUX'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Third Party Apps
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hello all. I apologize in advance if this is long and sound nuts. I have just about lost my mind as I have spent last 5 days on Google and these forums trying desperately to get Emby to work. (by the way I have seen the software work on a friend at work and was blown away so I immediately signed up for premiere account. So I know it is possible and will be great once I get it going. Only difference is I want to use Linux and not windows like my friend. Major Kudos to the developer for this awesome software.) To my problem, as stated in title, I'm running Emby on a (at first) headless Ubuntu server 18.04.3 and now due to difficulties I have installed the LXDE desktop environment to help trouble shoot. The install and Emby setup went fine and appears to be working. I can go to a Windows Host and access the Emby control panel and default user screen. The setup I want Emby on this Ubuntu Server ( 4GBs RAM, 250GB SSD) to be able to access and show my library that is going to be hosted (for now) on a Synology NAS (DS713+ 4TBs with latest updates). So far I have only uploaded about 3 movie MKV files to the share on the Synology. This share is "Videos". I was able to add it as a library in the EMby control panel and set up. I believe the issue has to do with permissions and access to the Synology share. (I also tried setting up a temp share on a windows client as well and cannot get Emby to scan that library either, so I am double convinced it is something I am doing wrong on the Linux side of things. Which can be seen in the attached Embylog.txt) On the Synology I have shared the Videos folder and given just about everyone read/write access to it, including an account I created called "emby" with NO password. It is not locked down and access should be wide open. I believe I need to mount this shared folder on the Ubuntu server so the emby account/service running there can access the folder and scan library. I am able to successfully mount the Synology Share folder "Videos" to either the / directory or within my users /home directory. BUT it seems that "ROOT" is always the owner of the mounted directory (both user and group). I cannot seem to find a way to change this? Also when I tried mounting it in the "/home" directory it says emby is owner and emby group, but still no access when I try to read/scan the library from Emby control panel. For example for the Home Mount I did: sudo mount -t cifs -0 username=emby,password=,uid=999,gid=999 //10.76.1.79/Videos ~/mnt/share Which does mount the directory of the Synology share and allows me to browse it. But when I try scanning my this library from Emby control panel it fails. (the log txt shows //JAYNAS which is the same as IP of 10.76.1.79) Here is another example I tried testing a mount to windows share: sudo mount.cifs //10.76.1.16/Video /windows-share -o user=emby This too worked and from linux side I can browse the share, but Emby server cannot scan library. (Here I do see owner as root and group as root so that is probably why, but I don't know how to fix this as "chown" fails on a mount and will not change permissions.) So if you have read this far: Is there any guide or install help that explains when running Emby from a Linux server how to get it to read a library from another Device (like NAS) or computer? Does it need to be a permanent mount in "/etc/fstab" and if so what account or permissions need to be assigned? Is this something specific to Synology Shares? (I dont think so as my Windows efforts have failed as well.) I'm going nuts as I feel there HAS to be a way to do this on Linux and it is probably simple, and I'm missing it. But the mounting of shares and permissions is killing me. ( I do not want to run this on Windows. Seems like there is a lot of windows help online and would be easier, but no. I love Linux and Open source too much and don't wish to go back unless there was no other way. I just currently suck at Linux administration obviously.) Thanks in advance whoever can read all this and possibly help. (Heck if a clear solution is found or commands in Linux that works, I'll go and write up a guide to help the next person here on the forums if allowed.) EmbyLog.txt
  2. Hello, I just upgraded to 4.2 on my server (Debian Jessie 8.11 x64) Emby service doesn't start with this error message in Systemd status report : systemctl status emby-server.service ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled) Active: failed (Result: signal) since mar. 2019-07-30 17:51:37 CEST; 1min 54s ago Process: 696 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT) Main PID: 696 (code=killed, signal=ABRT) juil. 30 17:51:37 Fozzy emby-server[696]: --- End of inner exception stack trace --- juil. 30 17:51:37 Fozzy emby-server[696]: --- End of inner exception stack trace --- juil. 30 17:51:37 Fozzy emby-server[696]: at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces() juil. 30 17:51:37 Fozzy emby-server[696]: at System.Net.NetworkInformation.NetworkInterfacePal.GetIsNetworkAvailable() juil. 30 17:51:37 Fozzy emby-server[696]: at System.Net.NetworkInformation.NetworkChange.OnAvailabilityTimerFired(Object state) juil. 30 17:51:37 Fozzy emby-server[696]: at System.Threading.TimerQueueTimer.CallCallback() juil. 30 17:51:37 Fozzy emby-server[696]: at System.Threading.TimerQueueTimer.Fire() juil. 30 17:51:37 Fozzy emby-server[696]: at System.Threading.TimerQueue.FireNextTimers() juil. 30 17:51:37 Fozzy systemd[1]: emby-server.service: main process exited, code=killed, status=6/ABRT juil. 30 17:51:37 Fozzy systemd[1]: Unit emby-server.service entered failed state. In the last logs of emby server, I found this : Error App: LoaderException: Could not load type 'SQLitePCL.pretty.IResultSetValue' from assembly 'SQLitePCL.pretty, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null'.
  3. xontik

    Hardware transcoding

    Hi everyone ! I'm back after upgrading my graphic card ! I had trouble using transcoding because my old GT430 didn't support NVENC, but now i'm using an GTX980 I'm sure this big boy can easily transcode a lot of thing, but unfortunatly it won't... As u can see in dash board picture, it's using nvidia nvenc to encode but using sofware decode, i think this is the bottleneck here... How can i force using hardware decode instead of software ? Thanks for this awesome product Ben
  4. riothamus

    Safe to dump the cache (periodically)?

    Hi all. I have had the same Emby server running for well over a year now. I've noticed that sometimes when I click on a letter in any of my media libraries (which are all from different directories) sometimes the images wil not show, or the server will hang trying to filter down to my selection. Every once in a while, when I watch the log during these instances, I do not see any error messages show up. Instead, the server daemon will restart itself. Since I have had this running for quite a long time, and I have made additions, removals, and moving some media around, I wonder if perhaps my cache just might have some old/corrupt data in there. So I was wondering if it was ok to clean out that directory, and if so how often should/could it be done. I understand that new searches might take a while as it gets repopulated, but I only have my family using it so I'm not overly concerned with performance impact on this. Is this something that can be safely done on a monthly or a semi-annual basis? Thanks all!
  5. drops77

    Transcoding Temp always full

    This has actually been happening for a while now. I don't usually trans-code only when i forget to unselect subtitles( Thank you for allowing use on roku to select No subtitles, which sometimes doesnt stick). I am on 4.1.0.26 on ubuntu 19.04 and this also would happened on ubuntu 18 and the previous emby servers. So its not an isolated issue or regression . I have attached a screenshot of my server with no activity and my hardrive full Anyone else having this issue?
  6. I have a small 7 min long TV show that my daughter watches. we have finished the series and we've come to watch them again on shuffle and we get thte following error on Roku and Amazon Fire box "unable to determine items to play" I've tried marking the "show" as watched andt then unwatched again the only fix so far is to delete the user and recreate them. not sure what logs to attach . any hints on how to fix this would be awesome regards
  7. speedingcheetah

    Theater for Linux?

    I am wanting to dump Windows and move to Linux. (already done so for Emby server system). Is there Emby Theater for Linux??? Theater on Windows is very nice, especially now that I have got the mpv.cof thing figured out. But, so far, all i can see for Linux support, other than the sever will run on it, is web browser playback option....
  8. Hey, my emby Server setup: Ubuntu Server 18.04 Intel Xeon E-2126G (Quick Sync Video, H.265 encode/​decode, VP9 encode/​decode) P11C-I Intel No I stuck on get hardware transcoding working. I installed VAAPI but emby don´t show any available hardware transcoding settings. Is here a way to get it work?
  9. Hello, I just upgraded to the latest emby-server version and now I am unable to stream any content. This happens with any browser and any operating system (Windows, Edge, Linux, chromium based ...) After hitting the play button of a recording (tvheadend) or any media file (mkv, avi) I receive the following error: I tried rebooting the server and updating all software but nothing helped. I have tried several types of media all of which I know worked in the past. This is with the emby web player. Any help would be greatly appreciated. ffmpeg.txt embyserver.txt
  10. Hi, I am having some issues doing hardware transcoding through docker. I have everything setup correctly (I think) but it looks like it's still using software. I've setup my emby user as a member of the video group, set permissions to /dev/dri/renderD128 to 777, and have the hardware decoder mapped through docker. See below for my docker-compose config: # Emby Media Server emby: image: emby/embyserver container_name: emby restart: unless-stopped network_mode: bridge ports: - "8096:8096/tcp" - "8920:8920/tcp" environment: - TZ=${TZ} - UID=${PUID_EMBY} - GID=${PGID_KODI} - GIDLIST=44 volumes: - ${PICKYDIR}/emby:/config - ${DOCKERDIR}/media:/mnt/share1 - ${DOCKERDIR}/backups:/mnt/share2 - ${SSD}/transcode_emby:/transcode devices: - "/dev/dri/renderD128:/dev/dri/renderD128" Any other ideas? embyserver.txtffmpeg-transcode-50eb18ad-ccac-460a-aa92-d25b2f210ad6_1.txthardware_detection-63692603061.txt
  11. MyNeighborSelkie

    Linux Mint 18 and Emby

    Hello all. I've been lurking for a short while as an unregistered user and couldn't find the answer for which I searched. So first... Turned an old gaming rig into a server with linux mint 18 because I had an USB handy that had mint on it. i5 processor 8GB of ddr3 I don't have all the specs on hand but that's the baseline of the machine. After running for so many hours, the server freezes. But this ONLY happens when the emby service is running. Doesn't matter if anyone is using emby or not. The server eventually just freezes. If I turn emby off, this doesn't seem to happen. Any ideas or anyone seen this exact issue before? If there's a specific log or error I should be looking for, sorry in advance for not knowing where it should be!
  12. halvorsonnarcis

    [Bug] DLAN Remote

    I am using both, Emby server beta on ubuntu 18.04 also, android 9 with the newest Emby beta app. When streaming media over DLAN to an AnyCast device it plays successfully. But, the controls don't work except mute/unmute. Also, pause/play but that works intermittently. Emby Server Version 4.1.0.20 beta
  13. Hello, When I try to delete a file via Emby's interface (web interface or iOS interface), I get the following message : "There was an error deleting the item from Emby Server. Please check that Emby Server has write access to the media folder and try again." My question is, how do I grant write-access to Emby Server ? I guess I could use chown or chmod (although I am not very familiar with these commands), but I do not even know what Emby Server's username is, to begin with. Any help would be much appreciated. Here is my setup : Emby server version 3.5.2.0 on an ubuntu machine. Most files on this server belong to a user called "debian-transmission" (and to a group with the same name) The folders containing these files belong to a user called "bill" (and to a group with the same name). Thank you !
  14. I migrated my server from synology to an intel nuc running ubuntu server 18.04 lts. I installed emby server 4.0.2.0. After I did all my libraries and the scan was completed, I restore a backup. The backup was created from beta server 4.1.0.15. Everthing seems to work like it should. However, at startup, I get a lot of "Error App: LoaderException". See attached logs. I just wondering why I get all those errors at startup and if there is something I can do to fix it? Thank you Logs.txt
  15. I am already on server v4.0.2. I recently updated the LG TV Emby App to the latest and it was working fine. Today none of the devices work (LG TV, Samsung TV or any Web browsers). When I play a video file, the TV pops an error message: Playback Error No compatible streams are currently available. Please try again later or contact your system administrator for details. The server is Debian based OMV. According to the logs, there's a permission problem on the file: 2019-03-18 19:14:18.498 Error HttpServer: Error processing request *** Error Report *** Version: 4.0.2.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.19.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 2 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/sharedfolders/d1/movies/12 Years A Slave (2013)/12 Years A Slave (2013).srt' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.IO.File.ReadAllBytes(String path) Also, there seems to be a problem with FFMPEG: 2019-03-18 19:14:21.758 Error HttpServer: Error processing request *** Error Report *** Version: 4.0.2.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.19.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 2 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Exception: System.Exception: Error starting ffmpeg I checked the media file permission and the ACL for the full path. These have not changed since I installed Emby. It has RWX access to all the media for owner (admin:users) and the user emby:emby (see ACL below): root@OMV:/sharedfolders/d1/movies/12 Years A Slave (2013)# getfacl *.mkv # file: 12 Years A Slave (2013).mkv # owner: admin # group: users user::rwx user:root:rwx user:daemon:rwx user:systemd-timesync:rwx user:ntp:rwx user:statd:rwx user:avahi:r-x user:sshd:r-x user:emby:rwx user:admin:rwx user:openmediavault-webgui:rwx user:macnb:rwx user:nobody:rwx group::rwx group:root:rwx group:daemon:rwx group:adm:rwx group:audio:rwx group:video:rwx group:users:rwx group:systemd-journal:rwx group:systemd-timesync:rwx group:crontab:rwx group:ntp:rwx group:ssh:r-x group:emby:rwx group:openmediavault-config:rwx group:nogroup:rwx mask::rwx other::r-x Please see attached debug server & ffmpeg logs. Over the weekend I had uninstalled Debian MariaDB mysql server and replaced it with docker Mariadb. Also installed docker Nextcloud web service. But these should be independent of Emby server. I stopped the Emby server and over installed it using: root@OMV:# dpkg -i emby-server-deb_4.0.2.0_amd64.deb (Reading database ... 51255 files and directories currently installed.) Preparing to unpack emby-server-deb_4.0.2.0_amd64.deb ... Removed /etc/systemd/system/multi-user.target.wants/emby-server.service. Unpacking emby-server (4.0.2.0) over (4.0.2.0) ... Setting up emby-server (4.0.2.0) ... usermod: no changes Created symlink /etc/systemd/system/multi-user.target.wants/emby-server.service → /usr/lib/systemd/system/emby-server.service. Processing triggers for libc-bin (2.24-11+deb9u4) ... root@OMV:# This made no difference. The logs do not really tell what is the permission problem issue. What is wrong ? ffmpeg.txt log.txt
  16. I feel like I'm very close to having hardware acceleration working again, after switching to Debian Buster in a container, but I can't quite get it. This is AMD A10-5700, with Radeon HD 7660D. Please any help? As user emby, my ''vainfo'': error: can't connect to X server! libva info: VA-API version 1.4.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so libva info: Found init function __vaDriverInit_1_4 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.4 (libva 2.4.0) vainfo: Driver version: Mesa Gallium driver 18.3.4 for AMD ARUBA (DRM 2.50.0 / 4.15.0-46-generic, LLVM 7.0.1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileNone : VAEntrypointVideoProc My hardware_detection log: {"Key":"vaapi","Decription":"vaapi"},"qsv":{"Key":"qsv","Decription":"qsv"},"cuvid":{"Key":"cuvid","Decription":"cuvid"}}},"DetectionOutputs":[{"CodecProviderName":"Vaapi","StandardError":"\n","Result":{ "ProgramVersion": { "Version": "4.0.2-emby_2018_12_09", "Copyright": "Copyright (c) 2018-2018 softworkz for Emby Llc", "Compiler": "gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)", "Configuration": "--cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static" }, "Devices": [ { "DeviceIndex": 0, "DeviceInfo": { "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]", "DeviceName": "Trinity [Radeon HD 7660D]", "SubsytemVendorName": "ASRock Incorporation", "VendorId": 4098, "DeviceId": 39169, "SubsytemVendorId": 6217, "SubsytemDeviceId": 39169, "DevPath": "/sys/bus/pci/devices/0000:00:01.0", "DrmCard": "/dev/dri/card0", "DrmRender": "/dev/dri/renderD128", "IsEnabled": 1, "IsBootVga": 1, "Error": { "Number": -1, "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1" } } } ], "Log": [ { "Level": 48, "Category": 0, "Message": "Begin GetVaAdapterInfo" }, { "Level": 40, "Category": 0, "Message": "Found 24 device entries" }, { "Level": 48, "Category": 0, "Message": "Begin get_nodes" }, { "Level": 48, "Category": 0, "Message": "Found 3 drm entries" }, { "Level": 48, "Category": 0, "Message": "End GetVaAdapterInfo" } ] } And a portion of the output when I run ''ffdetect vaencdec'': [DEVICE] DeviceIndex=0 DEVICEINFO:VendorName=Advanced Micro Devices, Inc. [AMD/ATI] DEVICEINFO:DeviceName=Trinity [Radeon HD 7660D] DEVICEINFO:SubsytemVendorName=ASRock Incorporation DEVICEINFO:VendorId=4098 DEVICEINFO:DeviceId=39169 DEVICEINFO:SubsytemVendorId=6217 DEVICEINFO:SubsytemDeviceId=39169 DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:00:01.0 DEVICEINFO:DrmCard=/dev/dri/card0 DEVICEINFO:DrmRender=/dev/dri/renderD128 DEVICEINFO:IsEnabled=1 DEVICEINFO:IsBootVga=1 DEVICEINFO:ApiVersionMajor=1 DEVICEINFO:ApiVersionMinor=4 DEVICEINFO:Driver=Mesa Gallium driver 18.3.4 for AMD ARUBA (DRM 2.50.0 / 4.15.0-46-generic, LLVM 7.0.1) [DECODER] CodecName=MPEG2VIDEO CodecProfile=MPEG2_SIMPLE CodecId=2 MaxWidth=2048 MaxHeight=1152 ColorFormats=NV12 RTFormat=1 [/DECODER] [DECODER] CodecName=MPEG2VIDEO CodecProfile=MPEG2_MAIN CodecId=2 MaxWidth=2048 MaxHeight=1152 ColorFormats=NV12 RTFormat=1 [/DECODER] Here is my /dev/dri/: emby@emby:/$ ls -lha /dev/dri total 0 drwxr-xr-x 2 root root 100 Mar 16 12:23 . drwxr-xr-x 9 root root 500 Mar 16 12:23 .. crw-rw---- 1 root video 226, 0 Mar 16 12:23 card0 crw-rw---- 1 root video 226, 0 Mar 16 12:23 controlD64 crw-rw---- 1 root video 226, 128 Mar 16 12:23 renderD128 What else can I provide to help?
  17. irie27

    One imports, the other doesn't

    I have a directory listed as /media/movies with the permissions If I have emby import the movies directory, nothing will get imported. However, if I have movies2 imported the files are seen. The directories and files all have 755 permissions with the user & group being the same in both directories. I can't get anything from the logs that would help. What is more weird to me is that if I set the content type to TV on the /media/movies import, the files are imported, but not with the content type set as MOVIES. I'm stumped on trying to figure this one out. I only have a monthly premiere pass to see if I want to leave Plex. As you can see here, the files are being seen.. And when I complete setting up the import this is all I get.. what logs would be needed to diagnose this issue?
  18. Hi, im having problems with my Emby server, running on Linux. Out of nowhere, my server started having problems recognizing Movies and TV-Shows, as well as searching for images. I noticed as well, that I couldn't add Emby connect users to my local users, at least for one user, haven't tried with others, since they already have their emby connect user connected. I have attached the error log from the server, in which I noticed this exception at line 8314: System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: An asynchronous socket operation is already in progress using this SocketAsyncEventArgs instance. ---> System.InvalidOperationException: An asynchronous socket operation is already in progress using this SocketAsyncEventArgs instance. Hope someone can help me Thanks Log (1).txt
  19. kornster

    Library and Classifications

    Good Morning All, A long story short i`ve been using Emby for a number of years. I`ve recently rebuilt a brand new server having lost my old one (Divorce) using LMDE. My now partner has 3 children all under 18+. The oldest is asking for access to the Emby android application for me to give him an account. I`ve been thinking and i may not be doing this right but my thought was to move all the content, M15+ and higher into a separate directory and adding that as its own library item. If i do this does that mean Collections will still show the movies from that dir to my partners son if i only add that dir to myself and my partner?
  20. Original source Unix.stackexchange.com Thx to Adrian for this amazing script Since Emby doesnt have a proper scraper this will help to "fix" that Files to be renamed are all of the form [<tag>] <name> - <serial> [<quality>].mkv. Each anime has a lookup file called <name>.lst, listing the episodes in serial order, e.g. One Piece.lst contains: S01E01 S01E02 ... S01E08 S02E01 ... You use a bash shell at version 4 (minimum). #!/bin/bash # USAGE: canon_vids <dir> ... # Canonicalize the filenames of all MKV vids in each <dir> # All the anime lookup tables are in the lookup subdirectory # where canon_vids is stored lookup_dir="$(dirname "$0")/lookup" log_skip() { echo "SKIP ($1): $2" } find "$@" -name \*.mkv | while read f; do # Check filename against our desired pattern # (We don't want to rename what's already been renamed!) if [[ $f =~ /(\[[^]]+\])\ (.*)\ -\ ([0-9]+)\ (\[[^]]+\].mkv) ]]; then # We've now split our filename into: prefix="${BASH_REMATCH[1]}" name="${BASH_REMATCH[2]}" serial="${BASH_REMATCH[3]##0}" suffix="${BASH_REMATCH[4]}" # Some sanity checks if (( serial <= 0 )); then log_skip "$f" "Invalid serial# '$serial' for $name"; continue fi # Let's look up the episode episode="$(sed -n ${serial}p "$lookup_dir/${name}.lst")" if [[ -z "$episode" ]]; then log_skip "$f" "Can't find serial# '$serial' for $name"; continue fi mv -vn "$f" "${f%/*}/${prefix} ${name} - ${episode} ${suffix}" fi done And here's a bonus script that generates those lookup files, given the number of episodes in each season: #!/bin/bash # USAGE: generate_series <#eps> ... while [[ $1 ]]; do ((s++)) for e in $(seq "$1"); do printf "S%02dE%02d\n" $s $e done shift done Example: $ ls canon_vids generate_series # Create One Piece lookup table $ mkdir lookup $ ./generate_series 8 22 17 13 9 22 39 13 52 31 99 56 100 35 62 49 118 33 96 > lookup/One\ Piece.lst $ tail -n lookup/One\ Piece.lst S19E92 S19E93 S19E94 S19E95 S19E96 $ wc -l lookup/One\ Piece.lst 874 lookup/One Piece.lst # Create fake One Piece MKVs (adding a couple more to trigger errors) $ mkdir op $ for i in $(seq 0 876); do touch "$(printf "op/[TAG] One Piece - %02d [quality].mkv" $i)"; done $ ls op | wc -l 877 # And now, the moment of truth... $ ./canon_vids op renamed 'op/[TAG] One Piece - 724 [quality].mkv' -> 'op/[TAG] One Piece - S17E97 [quality].mkv' renamed 'op/[TAG] One Piece - 86 [quality].mkv' -> 'op/[TAG] One Piece - S06E17 [quality].mkv' ... renamed 'op/[TAG] One Piece - 819 [quality].mkv' -> 'op/[TAG] One Piece - S19E41 [quality].mkv' SKIP (op/[TAG] One Piece - 00 [quality].mkv): Invalid serial# '0' for One Piece renamed 'op/[TAG] One Piece - 52 [quality].mkv' -> 'op/[TAG] One Piece - S04E05 [quality].mkv' ... renamed 'op/[TAG] One Piece - 865 [quality].mkv' -> 'op/[TAG] One Piece - S19E87 [quality].mkv' SKIP (op/[TAG] One Piece - 875 [quality].mkv): Can't find serial# '875' for One Piece renamed 'op/[TAG] One Piece - 295 [quality].mkv' -> 'op/[TAG] One Piece - S11E69 [quality].mkv' ... renamed 'op/[TAG] One Piece - 430 [quality].mkv' -> 'op/[TAG] One Piece - S13E49 [quality].mkv' SKIP (op/[TAG] One Piece - 876 [quality].mkv): Can't find serial# '876' for One Piece renamed 'op/[TAG] One Piece - 655 [quality].mkv' -> 'op/[TAG] One Piece - S17E28 [quality].mkv' ... renamed 'op/[TAG] One Piece - 93 [quality].mkv' -> 'op/[TAG] One Piece - S07E02 [quality].mkv' renamed 'op/[TAG] One Piece - 278 [quality].mkv' -> 'op/[TAG] One Piece - S11E52 [quality].mkv' # OK, but what happens when we run it again? Will our files be further renamed? Will Luffy find One Piece? $ ./canon_vids op SKIP (op/[TAG] One Piece - 00 [quality].mkv): Invalid serial# '0' for One Piece SKIP (op/[TAG] One Piece - 875 [quality].mkv): Can't find serial# '875' for One Piece SKIP (op/[TAG] One Piece - 876 [quality].mkv): Can't find serial# '876' for One Piece # Of course! Those files were never found in the lookup table, so they're still # candidates for renaming. More importantly, no other files were touched. Little explanation: ./generate_series 8 22 17 13 9 22 39 13 52 31 99 56 100 35 62 49 118 33 96 > lookup/One\ Piece.lst Extra: If u want to automate create a line at crontab. canon_vids.txt generate_series.txt
  21. Hello I have emby set up on my Ubuntu 16.04.5 LTS and having issues with Tv-Show thumbnail Everything okay with movies and all but Only having issues with tv shows. Emby detects my tv shows and fetches data about newly added episode but it's not adding images to Thumbnail, Backdrops or sometimes the season poster. What to do?
  22. adwuk

    Emby and TVHeadend play nicely

    Thanks to all the contributions in this community, I have finally been able to get a setup of Emby, TVHeadend and our LG Smart TVs that works really well for me. I had a false start with the Emby TVHeadend plugin, which I am sure is working fine for others - unfortunately for me I couldn't get the TV schedule to update reliably, and sometimes it just went blank. When searching for a fix to these issues I saw a comment from Luke suggesting the use of the M3U tuner option. So here is where I have ended up: 1) Latest version of TVHeadend 4.3 tuned to Freesat UK with a DVB-S2 USB tuner on ubuntu 18.04 - TVH 4.3 required because I make use of the MPEG-TS/Spawn streaming profile 2) Hardware/VAAPI encoding streaming profile with FFMPEG - this makes use of the QuickSync encoding available on an Intel NUC with i3-7100 processor 3) Emby server connects to TVH via the M3U tuner options in Emby Live TV 4) A post recording script quickly converts the recorded MPEG-TS files to MP4 Details of the setup: 1) You can follow the install instructions for TVHeadend. The key is to install version 4.3 (it is named unstable, but seems pretty stable to me) as I wanted to make use of the Intel's VAAPI/QuickSync hardware encoder. Once installed, I created a MPEG-TS/Spawn streaming profile called 'mp4-h264-aac' with the following properties: 2) Create a bash script in /home/hts/scripts called h264aac.sh. Don't forget to make it executable with 'chmod +x h264aac.sh'. This script uses VAAPI and takes the video stream and english audio stream and converts to H264, Level 4.1, AAC audio, deinterlaces keeping the source frame rate and reasonable quality at the highest compression. The output container is MPEG-TS which is fed to the Emby server. It uses VAAPI hardware encoding which is pretty quick, and the CPU rarely gets above 10% usage while it is running. #!/bin/bash ffmpeg -loglevel info \ -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi \ -i pipe:0 -map 0:v -map 0:m:language:eng -sn \ -c:v h264_vaapi \ -quality 0 -compression_level 1 -qp 25 -level 41 \ -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi=rate=frame:auto=1' \ -c:a aac \ -f mpegts pipe:1 3) In your Emby server, using the Live TV options, add a M3U tuner with the following URL: http://user:password@server:9981/playlist/channels.m3u?profile=mp4-h264-aac This will load all the channels from your TVHeadend server using the newly created streaming profile. You will also need to add a TV guide provider, and I find that the new Emby one for the UK works well for me. 4) Finally you will need to convert the MPEG-TS files after they are recorded. MPEG-TS isn't seekable and so if you want to fast-forward or rewind during play, MP4 is more appropriate. In the DVR section on your Emby server you can define a post processing script. I set mine to "/var/lib/emby/video/convert.sh", and here is the script: #!/bin/bash # break up the input file name file=$(basename "$1") base=$(basename "$1" .ts) dir=$(dirname "$1") # transcode the file ffmpeg -y -i "$1" -map 0 -c copy "${dir}/${base}.mp4" # get the error code RC=$? if [ "${RC}" -ne "0" ]; then # had an error, so check if the output file exists # if so, remove the output file if [ -f "${dir}/${base}.mp4" ]; then rm -f "${dir}/${base}.mp4" fi else # all OK, so check if the output file exists # if so, remove the input file if [ -f "${dir}/${base}.mp4" ]; then rm -f "$1" fi fi The post-processing script runs in a few seconds after the recording has completed. It now means that the whole process from selecting the programme to record, to it being listed and ready to play in Emby anywhere, is fully automated and simple enough for anyone to use. Hopefully this lot will prove useful to someone.
  23. This project is being abandoned in favor of Wolveix's. https://github.com/Wolveix/Plexus Please visit his project to see any future work. Hello, I’m working on a little project to iterate through my NAS and convert all files that are not easily direct played through my Roku. I’m posting it’s Github page here, in case it is of use to anyone else. I’m very open to input, commits, suggestions, etc. I’d love for this to be useful to the community. https://github.com/gorgarp/BatchConverter/
  24. Hi There, I just completed a migration of my Emby Server 4.1.0.1 beta running headless Centos 7.6 from a virtualized Hyper-V (2008 R2) to Bare Metal (Intel Core2 Quad Q9300 with Gigabyte [nvidia] GeForce GTX 1050 and SSD) for the added horsepower of dedicated CPU access and transcoding capabilities. I haven't done a whole lot to this OS in terms of setup. Clean minimal install of operating system update updated packages (yum) Install Emby Open Firewall Port install backup plugin restore backup from my VM What I'm struggling to determine is a) has emby detected my GTX 1050? is emby using my GTX 1050 to transcode? c) is there anything I might need to install (e.g. Nvidia drivers) to get this all working? I'm not 100% certain what it is I'm looking for in the logs to ascertain whether this is working or not. I'm attaching the latest Transcoding log and Hardware Detection Log. Thanks in advance HardwareDetection.txt Transcoding.txt
  25. Hi, I'm running emby as a docker container under the following system: Linux openmediavault 4.9.0-0.bpo.6-amd64 #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-13) x86_64 GNU/Linux Docker version 17.05.0-ce, build 89658be latest emby docker It crashes quite regularly (every 1-3 days, running 24/7). docker logs emby: Aborted s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. Any idea what could be the cause here and how to go on with debugging?
×
×
  • Create New...