Commit graph

10 commits

Author SHA1 Message Date
caem
a69ca3a87d
Use the .oga extension instead and make sure to include metadata 2024-05-14 14:52:55 +02:00
caem
a08ffe34ce
Fix character escaping in file paths
Files are now quoted with ' instead of " now as to avoid more edge cases
that come from using quotation marks. Now only ' have to be escaped in
the item paths.
2024-05-14 12:26:00 +02:00
caem
91a94bd0fb
Disable redundant shellcheck warning 2024-05-14 10:58:26 +02:00
caem
45d4b8bad6
Fix detection of having no packages
Sometimes empty elements containing only spaces are pushed in to the
packages array, before the code would only detect that there are no
pacakges to install when only one spaces was inserted, now it should
work for any arbitrary count of elements containing only spaces.
2024-05-10 13:20:41 +02:00
caem
7f35cdc86a
Fix xargs misbehaving when there are no packages
Adding the -r argument to xargs makes it not run for no reason when
there are no packages to trim spaces from. Otherwise it'd always run at
least once and sometimes misbehave.
2024-05-10 13:15:31 +02:00
caem
39a5c0ca67
Use the ogg container instead and fix an edge case
Using the ogg container allows to also embed cover images while still
using the opus codec.

Also fixed an edge case that would make the script fail if the first
thing it iterated on was a regular file which didn't require conversion
if the parent directory wasn't already created.
2024-05-06 18:31:43 +02:00
caem
7228b78447
Fix zypper_autoremove.bash 2024-05-05 14:00:16 +02:00
caem
a836a3c882
Add README entry for zypper_autoremove.bash 2024-05-03 21:45:56 +02:00
caem
0220cccb29
add zypper_autoremove.bash 2024-05-03 21:10:21 +02:00
caem
66c860bcc5
feat: add flac2opus_collection.bash 2024-04-12 15:51:46 +02:00