Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| embyserver [2022/01/25 04:34] – norman | embyserver [2025/10/02 12:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Emby Server Little helpers ====== | ====== Emby Server Little helpers ====== | ||
| + | Linux File Permissions | ||
| + | |||
| + | < | ||
| + | setfacl -m user: | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | setfacl -m user: | ||
| + | |||
| + | |||
| + | |||
| + | or to grant "read only" access to specific folders: | ||
| + | |||
| + | |||
| + | |||
| + | setfacl -m user: | ||
| + | |||
| + | |||
| + | setfacl -m user: | ||
| + | |||
| + | setfacl -m user: | ||
| + | |||
| + | Since Live TV must be read and written, then it's neccesary to grant " | ||
| + | |||
| + | setfacl -m user: | ||
| + | </ | ||
| + | |||
| + | Source: [[https:// | ||
| + | ===== Linux Shell Convert Videos with Emby NVIDIA HW transcoding ===== | ||
| + | |||
| + | First, | ||
| + | < | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | ln -s / | ||
| + | |||
| + | Then You can convert videos using Emby ffmpeg. | ||
| + | Example for HEVC: | ||
| + | < | ||
| + | |||
| + | Or scale down: | ||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Set niceness for the emby service ===== | ||
| + | |||
| + | Clean way to do this is with a service unit override. | ||
| + | |||
| + | 1. Stop emby and restore the original unit file. | ||
| + | < | ||
| + | |||
| + | 2. Verify that the unit file has the original ExecStart command: | ||
| + | < | ||
| + | |||
| + | 3. Create a unit override to add the Nice parameter. This will open an editor where you can add Nice=-5 to the service block. | ||
| + | < | ||
| + | |||
| + | Add: | ||
| + | < | ||
| + | [Service] | ||
| + | Nice=-20 | ||
| + | </ | ||
| + | 4. Exit and save the override file. Y and enter for the prompts. | ||
| + | |||
| + | 5. Start the Emby server. And run top/htop to verify the new nice value. | ||
| + | < | ||
| + | |||
| + | Source: [[https:// | ||
| ===== Announcement text at top of home page ===== | ===== Announcement text at top of home page ===== | ||
| Line 15: | Line 89: | ||
| justify-content: | justify-content: | ||
| display: flex; | display: flex; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Annoucments v2 Blink ===== | ||
| + | |||
| + | < | ||
| + | /*--- Announcement text at top of home page ---*/ | ||
| + | .verticalSection.section0: | ||
| + | content: "Your text message"; | ||
| + | position: relative; | ||
| + | white-space: | ||
| + | font-size: 200%; | ||
| + | color: var(--theme-accent-text-color); | ||
| + | justify-content: | ||
| + | text-align: center; | ||
| + | display: flex; | ||
| + | } | ||
| + | |||
| + | .verticalSection.section0: | ||
| + | animation: blinker 3s cubic-bezier(0, | ||
| + | } | ||
| + | |||
| + | @keyframes blinker { | ||
| + | 50% { | ||
| + | opacity: 0; | ||
| + | } | ||
| } | } | ||
| </ | </ | ||