Skip to content

Commit 9d2160f

Browse files
authored
Merge pull request #38 from mKeRix/lazylibrarian-ffmpeg
lazylibrarian-ffmpeg: initial release
2 parents f4cb91a + 9cd93ca commit 9d2160f

File tree

7 files changed

+16
-70
lines changed

7 files changed

+16
-70
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ language: shell
44

55
branches:
66
only:
7-
- <baseimagename>-<modname> #replace variables, omit brackets
7+
- lazylibrarian-ffmpeg
88

99
services:
1010
- docker
1111

1212
env:
1313
global:
14-
- DOCKERHUB="linuxserver/mods" #don't modify
15-
- BASEIMAGE="baseimagename" #replace
16-
- MODNAME="modname" #replace
14+
- DOCKERHUB="linuxserver/mods"
15+
- BASEIMAGE="lazylibrarian"
16+
- MODNAME="ffmpeg"
1717

1818
jobs:
1919
include:

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM scratch
22

3-
# copy local files
4-
COPY root/ /
3+
LABEL maintainer="mKeRix"
4+
5+
COPY root/ /

Dockerfile.complex

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
# Rsync - Docker mod for openssh-server
1+
# ffmpeg - Docker mod for lazylibrarian
22

3-
This mod adds rsync to openssh-server, to be installed/updated during container start.
3+
This mod adds ffmpeg to lazylibrarian, to be installed/updated during container start.
44

5-
In openssh-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:openssh-server-rsync`
5+
In lazylibrarian docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:lazylibrarian-ffmpeg`
66

7-
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:openssh-server-rsync|linuxserver/mods:openssh-server-mod2`
7+
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:lazylibrarian-ffmpeg|linuxserver/calibre-web:calibre`
88

9-
# Mod creation instructions
10-
11-
* Ask the team to create a new branch named `<baseimagename>-<modname>`. Baseimage should be the name of the image the mod will be applied to. The new branch will be based on the `template` branch.
12-
* Fork the repo, checkout the newly created branch.
13-
* Edit the `Dockerfile` for the mod. `Dockerfile.complex` is only an example and included for reference; it should be deleted when done.
14-
* Inspect the `root` folder contents. Edit, add and remove as necessary.
15-
* Edit this readme with pertinent info, delete these instructions.
16-
* Finally edit the `travis.yml`. Customize the build branch, and the vars for `BASEIMAGE` and `MODNAME`.
17-
* Submit PR against the branch created by the team.
9+
To enable it you can set the ffmpeg path under Settings > Processing > External Programs to `ffmpeg` in the LazyLibrarian Web UI.

root/etc/cont-init.d/98-ffmpeg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
echo "**** installing ffmpeg ****"
4+
apt-get update && apt-get install -y ffmpeg

root/etc/cont-init.d/98-vpn-config

Lines changed: 0 additions & 27 deletions
This file was deleted.

root/etc/services.d/sshvpn/run

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)