Change subtitle download location - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Change subtitle download location (/t-change-subtitle-download-location) |
Change subtitle download location - kzhuo - 2024-03-25 I am trying to figure out how to change subtitle download location. My media disks' mount point is /home I checked the "Save subtitles into media folders" option, however, it is being saved in the metadata folder instead. RE: Change subtitle download location - TheDreadPirate - 2024-03-25 Does Jellyfin have write permissions to your home directory? Can you share your jellyfin logs with us? RE: Change subtitle download location - kzhuo - 2024-03-25 (2024-03-25, 03:28 PM)TheDreadPirate Wrote: Does Jellyfin have write permissions to your home directory? Can you share your jellyfin logs with us? Using 'nano some_text_file' to test write permison of jellyfin on /home, it does have permission. The attachment is the log, it seems the subtitles are always being saved to 2 locations(one being where my media file is), but nowhere to be found in the media folder. Maybe the subtitle files are being moved? log.txt (Size: 2 bytes / Downloads: 25) [2024-03-25 04:03:51.249 -07:00] [INF] Saving subtitles to "/home/anime/SPY x FAMILY/Season 01/SPY x FAMILY S01E06.chi.srt" [2024-03-25 04:03:51.249 -07:00] [INF] Saving subtitles to "/home/metadata/library/bd/bdffef873318c03b3dee21c6527bdee0/SPY x FAMILY S01E06.chi.srt" RE: Change subtitle download location - TheDreadPirate - 2024-03-25 Are you testing write permission as the jellyfin user? RE: Change subtitle download location - kzhuo - 2024-03-26 (2024-03-25, 05:03 PM)TheDreadPirate Wrote: Are you testing write permission as the jellyfin user? Solved, it is write permission issue. Thank you. RE: Change subtitle download location - Jiří Fiala - 2024-07-17 Can you please help me with this? I run Jellyfin in a Proxmox LXC and media is on a NAS mounted inside this LXC. It's too complicated for me to untangle. I have no idea what the current user is - I manage the JF LXC as root but that's probably not the same user Jellyfin uses... I really don't know. Subs aren't being downloaded to the media folders despite the option being enabled and I need to fix that. Thanks! RE: Change subtitle download location - TheDreadPirate - 2024-07-17 Make sure Jellyfin has write permissions. I forgot that my library folders are read-only in my docker settings so it ended up saving them to the Jellyfin data directory after failing to write to the media folder. Code: [2024-07-17 21:42:45.216 +00:00] [INF] [304] MediaBrowser.Providers.Subtitles.SubtitleManager: Saving subtitles to "/media/storage2/testShows/King of the Hill/Season 1/s01e01.eng.srt" Now I'm out of subtitle downloads for the day so I have to wait until tomorrow to try again. I reconfigured my docker so it can write to my test library. I will try again tomorrow on my test setup and report back if it actually saved to the media directories or not. For your problem, you have to make sure that the NAS mount is allowing writes. In the LXC, what is the output of "cat /proc/mounts"? RE: Change subtitle download location - Jiří Fiala - 2024-07-18 It's bit too complex for me to untangle. I don't know how to check the permissions. - media is on NAS - that folder is mounted into Proxmox host with "//192.168.0.216/Public /home/stooovie/Public cifs auto,rw,user,noperm,username=MYUSERNAME>" in fstab and then added to the Jellyfin LXC (container) as a Mount point via proxmox GUI - the JF LXC was created by Tteck's script - I tried doing "su jellyfin" inside the LXC shell, which does absolutely nothing, no message at all, and logged-in user remains "root" cat /etc/passwd DOES reveal a jellyfin user though: Code: jellyfin:x:107:115:Jellyfin default user,,,:/var/lib/jellyfin:/bin/false Output of cat /proc/mounts is: Code: /dev/mapper/storage-vm--110--disk--1 / ext4 rw,relatime,stripe=16 0 0 Thanks a lot for your help! RE: Change subtitle download location - Jiří Fiala - 2024-07-18 Ha! I was able to login as jellyfin by doing usermod -s /bin/bash jellyfin, and this user indeed doesn't have write perms. I'm on the right track, thanks! RE: Change subtitle download location - TheDreadPirate - 2024-07-18 Instead of mounting the share in Proxmox then passing it into the LXC, you could just mount it directly in the LXC in the same way you did in Proxmox to remove one layer of things we need to work through. On the NAS, I'm assuming either a QNAP or Synology NAS, what permissions did you set in the UI? Can you show that? I missed your update. I don't recommend giving the jellyfin user a permanent bash shell the way you did. You can give the jellyfin a temp bash shell with "su -s /bin/bash jellyfin". |