Commit graph

245 commits

Author SHA1 Message Date
Toddneal Stallworth
da27620522 fixed spelling mistakes 2024-10-09 22:08:15 -07:00
Joshua M. Boniface
2fa9c57b23 Ensure HID is passed to run_local_ffmpeg
Fixes #87
2024-08-19 14:20:55 -04:00
Joshua M. Boniface
cfe816a377 Add check for log file existence 2024-08-16 09:47:24 -04:00
Joshua M. Boniface
6117e0d81d Update SETUP guide for newer versions
Fixes a few bugs, and includes setup details for more recent versions of
Jellyfin that do not allow setting the FFmpeg path from the WebUI.
2024-08-16 09:45:47 -04:00
Joshua M. Boniface
16ddb2bdee Wrap command runs in a finally block
Ensures that cleanup happens even if something else weird happens, which
tends to happen to my systems a lot leaving stuck processes.
2024-08-16 09:45:01 -04:00
Joshua M. Boniface
13afb01b3a
Merge pull request #86 from tillfri/master
Fix localhost always being saved as target_hid = 0
2024-07-31 18:01:40 -04:00
Till Fricke
b4b0950d1e fix localhost always being saved as target_hid = 0 2024-07-29 11:04:02 +02:00
Joshua M. Boniface
6c581c0bf4 Revamp several sections of README 2024-07-05 17:46:23 -04:00
Joshua M. Boniface
b043ed4db4 Add no-root flag to initialization
Allows rootless operation in cases where the configured state and
database paths are writable by the initializing user, bypassing both the
root check and disabling the chmod/chown later in the initialization.
2024-07-05 17:15:19 -04:00
Joshua M. Boniface
7e535419d6 Add debug to cleanup 2024-07-05 17:15:19 -04:00
Joshua M. Boniface
ba3173446d
Merge pull request #83 from alefnode/master
Upgrade documentation to add new 10.9.3 version
2024-05-30 13:39:49 -04:00
Adrian Campos Garrido
d5285014a0
Commit with requested changes
Commit with requested changes
2024-05-30 19:30:39 +02:00
Adrian Campos Garrido
f95ccd2fbf
Add requested changes from author
Add requested changes from author
2024-05-30 19:27:12 +02:00
Adrian Campos Garrido
40a2fc562f
Upgrade documentation to add new 10.9.3 version
I just test (debian OS) with jellyfin-ffmpeg6 and is working correct so you can update to latest packages
2024-05-30 10:29:19 +02:00
Joshua M. Boniface
a2422187b1
Merge pull request #67 from Sim0nW0lf/rffmpeg-multiple-SSH-users 2023-08-16 22:00:43 -04:00
Joshua M. Boniface
e21ad7fab2
Merge branch 'master' into rffmpeg-multiple-SSH-users 2023-08-16 22:00:23 -04:00
Joshua M. Boniface
a831afe59b
Merge pull request #72 from JeWe37/master 2023-08-16 21:57:26 -04:00
Jendrik Weise
f6734839f9 Improve argument quoting using shlex.quote 2023-08-17 02:21:52 +02:00
Joshua M. Boniface
7baf02508c
Merge pull request #70 from JeWe37/master 2023-07-27 15:05:38 -04:00
Jendrik Weise
32c2c3de0d Add option to run command directly
Usable with the "run" subcommand. Factored out now reused code.
2023-06-23 02:13:13 +02:00
Joshua M. Boniface
3a3a3ae738 Add escaping of $ characters in arguments
Needed if a filename contains $. Could be added to later but for now
hardcoded.
2023-05-22 20:27:10 -04:00
Sim0nW0lf
196bbeee4d
allow multiple ssh users
Different users on multiple servers were not possible because you had to set a specific user. I changed that so that setting no user in rffmpeg.yml and configuring the ssh config with a user works instead.

If you have configured  a specific user, this won't break your setup and disables the feature.
2023-04-06 06:05:42 +02:00
Joshua M. Boniface
4f41b334ef
Merge pull request #65 from aleksasiriski/patch-1 2023-03-30 09:40:41 -04:00
Aleksa Siriški
d064e7fb96
rffmpeg-go 2023-03-08 23:06:09 +01:00
Joshua M. Boniface
18cd89cff9
Merge pull request #61 from aleksasiriski/date-time
adding datetime to hosts
2023-02-23 02:07:05 -05:00
Aleksa Siriški
88b572d27c fixed fields 2023-02-22 00:01:38 +01:00
Aleksa Siriški
b50e87f6c7 more logical field access 2023-02-21 21:19:02 +01:00
Aleksa Siriški
db59781fdd forgot add command 2023-02-21 21:10:19 +01:00
Aleksa Siriški
8e487abbb4 adding datetime to hosts 2023-02-21 18:42:30 +01:00
Joshua M. Boniface
69fad0326a
Merge pull request #57 from aleksasiriski/patch-1
special_flags
2023-01-22 12:57:09 -05:00
Aleksa Siriški
4586971a0f
special_flags 2023-01-22 18:35:23 +01:00
Aleksa Siriški
5fe09d2800
special_flags
Added `-muxers` and `-fp_format` to special flags and option to add more in the config without overriding the default ones.

#56
2023-01-22 18:33:33 +01:00
Joshua M. Boniface
43ba05e5b9
Merge pull request #54 from aleksasiriski/patch-2
Fixed the new `clear` command and switched to f
2023-01-14 12:02:54 -05:00
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