Commit graph

212 commits

Author SHA1 Message Date
Aleksa Siriški
a64f17a8fc
Fixed f""
Changed every
```config["sth"] -> config['sth']```
```" " -> ' '```
inside f"" since it clashes with ""
2023-01-14 14:30:20 +01:00
Aleksa Siriški
cd1a2a7c5f
Fixed the new clear command and switched to f
Switched almost every `.format()` with new `f""` way of inserting vars inside strings since it's much easier to read the code.
Three instances of `.format()` were left because it made sense to use it there over `f""`.
2023-01-14 00:16:42 +01:00
Joshua M. Boniface
ef0566c856
Merge pull request #53 from aleksasiriski/patch-1 2023-01-13 17:09:48 -05:00
Aleksa Siriški
fefaf7a71d
Fixed rffmpeg init for SQLite
Moving the check from main to `dbconn` resulted in that check being triggered when running `rffmpeg init`.
2023-01-13 21:42:42 +01:00
Joshua M. Boniface
85ef6ee600
Merge pull request #52 from aleksasiriski/patch-1 2023-01-13 15:17:32 -05:00
Aleksa Siriški
d4edaf6ab6
Removed duplicate code
Switch to var instead of IF ELSE for creating tables.
2023-01-13 21:15:22 +01:00
Joshua M. Boniface
76c1820261 Reformat with Black 2023-01-13 15:05:35 -05:00
Joshua M. Boniface
bfa55a9370 Re-add erroneously removed newline 2023-01-13 15:03:43 -05:00
Joshua M. Boniface
ccb58e5260
Merge pull request #51 from aleksasiriski/patch-1 2023-01-13 15:02:19 -05:00
Aleksa Siriški
94e4402dd2
Reverted root to jellyfin user
I needed root for testing
2023-01-13 21:00:07 +01:00
Aleksa Siriški
7963c0713d
Fixed Postgres and updated to master 2023-01-13 20:57:26 +01:00
Aleksa Siriški
23ef83b20d
Fixed Postgres
SQLite uses `?` for vars in it's SQL and Postgres uses `%s`, I hope this it the only difference...

Also, for some reason Postgres doesn't like fetch in single command as it errors out with:
```
'NoneType' object has no attribute 'fetchall'
```
So I divided every execute from every fetch.
2023-01-13 20:51:20 +01:00
Joshua M. Boniface
51831feae4 Simplify wording for multiple fields 2023-01-13 13:58:58 -05:00
Joshua M. Boniface
3a6a452361 Add state/process clear command
Helps simplify things in situations where a process terminates
unexpectedly and doesn't clean itself up. This can result in stale
process entries being left in the database. This command provides a
convenient way to clear such stuck process or state values, either for
the entire rffmpeg system, or for a particular host.
2023-01-13 13:58:19 -05:00
Joshua M. Boniface
dd03313458 Fix missing else removed in #50 2023-01-13 13:48:11 -05:00
Joshua M. Boniface
37871b38d9 Adjust README to reflect #50
This PR added default top-level configuration values, so a configuration
file is no longer strictly required except to override defaults. Adjust
the wording of the relevant README sections to reflect this.
2023-01-13 13:16:58 -05:00
Joshua M. Boniface
0383ff8757
Merge pull request #50 from aleksasiriski/patch-2 2023-01-13 12:58:51 -05:00
Aleksa Siriški
933cfac675 Fix README 2023-01-13 18:57:17 +01:00
Joshua M. Boniface
3436495591
Merge pull request #49 from aleksasiriski/patch-1 2023-01-13 12:56:07 -05:00
Aleksa Siriški
59456e5020
Postgresql
Added optional support for Postgresql. SQLite is still supported and the default.
2023-01-13 18:34:17 +01:00
Aleksa Siriški
4e21253509
Postgresql
Added optional support for Postgresql. SQLite is still supported and the default.
2023-01-13 18:33:12 +01:00
Aleksa Siriški
7201d3da5a
Updated integrations
1) Fixed link to my `rffmpeg-worker`.
2) Moved my `rffmpeg-worker` infront of BasixKOR's `rffmpeg-docker` since it uses an old and non working `panubo/sshd` image.
3) Added example yaml files for Kubernetes.
4) Added LinuxServer mod to WoL section.
2023-01-12 22:23:39 +01:00
Joshua M. Boniface
a02ed2ee65
Merge pull request #48 from aleksasiriski/patch-1
Update links to my images
2023-01-11 18:59:42 -05:00
Aleksa Siriški
33cb419241
Update links to my images 2023-01-12 00:27:09 +01:00
Joshua M. Boniface
97876ee742
Merge pull request #45 from gitdeath/patch-1
Update SETUP.md
2022-12-31 13:40:11 -05:00
gitdeath
6f9971bdea
Update SETUP.md
Added a bullet on `actimeo` parameter - I didn't want to edit your original content in the two previous bullets
2022-12-31 12:07:57 -06:00
Joshua M. Boniface
55d72e73c0 Clarify why sync and transcodes need a real fs 2022-12-31 01:35:52 -05:00
Joshua M. Boniface
dcbb485330
Merge pull request #44 from pyaniz/master
Fixed operand failing when running init
2022-12-24 13:08:58 -05:00
Pablo Yaniz
b9930e6a45 -q 2022-12-23 15:42:17 -06:00
Pablo Yaniz
c6e475671d added quotes to file 2022-12-23 15:37:24 -06:00
Joshua M. Boniface
9a2ad2f7e2
Merge pull request #43 from pyaniz/master
Added Functionality to set date to log files
2022-12-23 15:16:56 -05:00
Pablo Yaniz
45f43353f5 Reviewed functionality and implemented quality of code changes 2022-12-23 11:33:28 -06:00
Pablo Yaniz
9b2ab0c59a added dated log functionality 2022-12-22 21:05:54 -06:00
Pablo Yaniz
c57facbdc2 added optional date to log file 2022-12-22 20:34:50 -06:00
Joshua M. Boniface
d3a2a4df41 Remove extra global ref 2022-12-15 21:44:56 -05:00
Joshua M. Boniface
70b9929f4a
Merge pull request #41 from aleksasiriski/patch-1 2022-12-13 00:49:09 -05:00
Aleksa Siriški
61dfaf4b01
LinuxServer Docker Mod
Asked integration in #26
2022-12-03 11:50:32 +01:00
Joshua M. Boniface
98d7763f03
Merge pull request #40 from aleksasiriski/patch-2 2022-11-17 12:53:38 -05:00
Aleksa Siriški
35743e10eb
Status command fix
When there are processes running on localhost (fallback), can't use status command because it expects servername field which is missing for locahost (fallback)
2022-11-17 18:52:12 +01:00
Joshua M. Boniface
ca12fdae01 Ensure target_servername is always set
Addresses #39
2022-11-17 12:00:36 -05:00
Joshua M. Boniface
e6990076d9 Revert "Ensure cleanup on SIGKILL"
This reverts commit a3d5e65590.

Doesn't work as per
ttps://stackoverflow.com/questions/64282634
2022-11-17 11:10:40 -05:00
Joshua M. Boniface
6a6c9c4f4a Add check for database existing before migrations
Fixes #38
2022-11-17 10:48:51 -05:00
Joshua M. Boniface
6ea8b23816 Reference difference of name from host 2022-11-17 10:23:57 -05:00
Joshua M. Boniface
d2d136539f Fix bug in insert variable name 2022-11-17 10:20:14 -05:00
Joshua M. Boniface
a3d5e65590 Ensure cleanup on SIGKILL 2022-11-17 10:20:14 -05:00
Joshua M. Boniface
c60983dd17 Clean up new field variable and add migration
References #36
2022-11-17 10:20:14 -05:00
Joshua M. Boniface
b20595638a Clean up variable names 2022-11-17 10:20:14 -05:00
Joshua M. Boniface
0d726b9ce8
Merge pull request #37 from aleksasiriski/patch-1 2022-11-17 09:46:21 -05:00
Aleksa Siriški
b439fc248e
Added more docker integrations and Cloud
For both the jellyfin server with optional intro-skipper web-ui integration and jellyfin node to act as an ffmpeg transcode target.

Also added HCloud script in a new section for Cloud integration.
2022-11-17 15:40:04 +01:00
Joshua M. Boniface
52861f296e
Merge pull request #36 from aleksasiriski/patch-1
Server name field
2022-11-17 09:20:15 -05:00