Commit Graph
100 Commits
Author SHA1 Message Date
Lucas Vivo 4792a47c25 fix(wallpaper_changer): main would trigger encryption on any folder argument
it should only encrypt with mode != default
2026-11-20 15:58:04 +01:00
Lucas Vivo 8136a9c3af chore(qbittorrent_api): launch json 2026-11-20 15:58:04 +01:00
Lucas Vivo cc4b092a08 style(audiobooks_library): ruff changes 2026-11-20 15:58:04 +01:00
Lucas Vivo 06f290e99a style(torrent_scripts): ruff changes 2026-11-20 15:58:04 +01:00
Lucas Vivo 9b4bf7422a style(wallpaper_changer): ruff auto changes 2026-11-20 15:58:04 +01:00
Lucas Vivo 9f73b601e8 test(wallpaper_changer): add config, wallpaper_builder, wallpaper_setter test cases 2026-11-20 15:58:04 +01:00
Lucas Vivo e079a08d14 feat(wallpaper_changer): remove DOUBLE as identifier for duplcate filenames
available_path() function also continues numbering
2026-11-20 15:58:04 +01:00
Lucas Vivo 49fbc0a6ad feat(wallpaper_changer): add CUstomArgPArser to raise ValueError on false argument 2026-11-20 15:58:04 +01:00
Lucas Vivo 1667362b9d style(wallpaper_changer): ruff auto fix 2026-11-20 15:58:04 +01:00
Lucas Vivo 79b3bdd91f chore(wallpaper_changer): ruff settings 2026-11-20 15:58:04 +01:00
Lucas Vivo e67dc91cc8 style(serverlibrary): fix permissions and shebang
asd
2026-11-20 15:58:04 +01:00
Lucas Vivo 9f18d2975d style(wallpaper_changer): ruff auto fix 2026-11-20 15:58:04 +01:00
Lucas Vivo be3e96b90f fix(serverlibrary): add shebangä 2026-11-20 15:58:04 +01:00
Lucas Vivo c5c293d7dc fix(serverlibrary): switch to unittest 2026-11-20 15:58:04 +01:00
Lucas Vivo e9fb04cefe fix(serverlibrary): remove pytest module 2026-11-20 15:58:04 +01:00
Lucas Vivo 44957441b5 ci(CICD): add linter job 2026-11-20 15:58:04 +01:00
Lucas Vivo 50467b8565 test(wallpaper_changer): remove test requiring physical monitor 2026-11-20 15:58:04 +01:00
Lucas Vivo 56d988faa3 ci(CICD): add serverlibrary tests 2026-11-20 15:58:04 +01:00
Lucas Vivo f14cd89d7c test(wallpaper_changer): remove test description 2026-11-20 15:58:04 +01:00
Lucas Vivo d3561978fe test(wallpaper_changer): test behaviour for duplicate hashs 2026-11-20 15:58:04 +01:00
Lucas Vivo dcbf8c8be0 fix(wallaper_changer): remove hostname 2026-11-20 15:58:04 +01:00
Lucas Vivo 5223bf030f test(serverlibrary): add unit tests for serverlibrary 2026-11-20 15:58:04 +01:00
Lucas Vivo 3db65acf60 ci(CICD): add group test to pip install 2026-11-20 15:58:04 +01:00
Lucas Vivo ad00c3c0f3 fix(serverlibrary): fix logfile path 2026-11-20 15:58:04 +01:00
Lucas Vivo e37cf79883 fix(serverlibrary): fix home dir for logfile 2026-11-20 15:58:04 +01:00
Lucas Vivo 009e43382d ci(CICD): explicitly install serverlibrary and wallapper_changer 2026-11-20 15:58:04 +01:00
Lucas Vivo b511ea636e ci(CICD): change to image with python and nodejs 2026-11-20 15:57:57 +01:00
Lucas Vivo 33a3cf036b ci(CICD): create workflow for wallpaper_changer 2026-11-20 15:57:48 +01:00
Lucas Vivo 5bb4a20da2 ci(CICD): wallpaper_changer CICD test
create ci.yaml under .gitea/workflows
2026-11-20 15:57:40 +01:00
Lucas Vivo 69b39940b0 test(wallaper_changer): add tests modules
add tests for monitor_manager, wallpaper_builder, encryption_manager,
walpaper_Setter
2026-11-16 19:48:08 +01:00
Lucas Vivo 8669499c36 chore(wallpaper_changer): test assets: move image files to folder, add monitor.xml files 2026-11-16 19:48:08 +01:00
Lucas Vivo 9ddb167eb3 feat(wallpaper_changer): remove hosts, add cfg for headless mode and monitor file 2026-11-16 19:48:08 +01:00
Lucas Vivo 3c21820b3a chore(wallpaper_changer): add dependency for tests to test group 2026-11-16 19:48:08 +01:00
Lucas Vivo 2c7fe68b33 faet(wallaper_changer): filp ratio to with/height, add lid_state check, create parser functions
parse_monitor_config parses monitors.xml file and returns config struct
grm_to_gnome function tranlates card names
remove hostnames from algorithm
lid_state is processed by _connected_drm_connectors
2026-11-16 19:48:08 +01:00
Lucas Vivo 7ac877f018 feat(wallpaper_changer): replace shorter filenames of same hash, add raise error
raise error if naming table is missing
raise error if check_encription finds no folder
duplcate hashes take the longer filename from new image
2026-11-16 19:48:08 +01:00
Lucas Vivo 152a095f51 feat(wallpaper_changer): remove hostname, add headless and monitor_file to config
set default monitor_file
transfer headless arg to config struct
2026-11-16 19:48:08 +01:00
Lucas Vivo 9373e23592 feat(wallpaper_changer): add argument for monitor search term, remove old monitor cfg
remove cfg number for monitor file, headless move requires normal
monitors.xml
2026-11-16 19:48:08 +01:00
Lucas Vivo 37014ac829 feat(wallpaper_changer): add search term for monitor and general search
monitor search term: one tem per monitor
gen search term_ multiple terms all filtering the same image
2026-11-16 19:48:08 +01:00
Lucas Vivo 69234da7cf style(wallpaper_changer): organize import 2026-11-16 19:48:08 +01:00
Lucas Vivo 1aeccb7b82 fix(configure_idexers): fix regex
unintentional pipe | caused all indexers to be routet private qbit
2026-11-16 19:48:08 +01:00
Lucas Vivo b76155f96d feat(post_install): add wifi device changes for vivohost to stop network stalls 2026-11-16 19:48:08 +01:00
Lucas Vivo 25bf86a8ec chore(wallpaper_changer): add numpy and correct venv path 2026-11-16 19:48:08 +01:00
Lucas Vivo 3a50a94c17 feat(wallpaper_changer): image_repository, correct number series not starting with 1 2026-11-16 19:48:08 +01:00
Lucas Vivo 27f5dc644f feat(wallpaper_changer): wallpaper builder distinguish between left/right in image name
center images with left in their name from their left corner
center images with right in their name from their center
2026-11-16 19:48:08 +01:00
Lucas Vivo 5d5ca4a6d6 fix(wallpaper_changer): wallpaper bulder use correct dir, return image list 2026-11-16 19:48:08 +01:00
Lucas Vivo db1995c7b9 chore(wallpaper_changer): bump version to 0.1.1 2026-11-16 19:48:08 +01:00
Lucas Vivo ce7da99296 style(wallpaper_changer): fix Ruff linting and formatting issues
fix declarations to acommodate None
organize imports
fix with indents
2026-11-16 19:48:08 +01:00
Lucas Vivo 5daa680948 chore(gitignore): add kilo to gitignore 2026-11-16 19:48:08 +01:00
Lucas Vivo 8c48239b77 feat(wallpaper_changer): move parser to module
move argparse to its own module
add options for print/encrypt/decrypt Namingtable, decode images/all
add conf_dir, private_key parameters
2026-11-16 19:48:07 +01:00
Lucas Vivo 4481664c0b test(wallpaper_changer): test image repository
test check_encryption
test convert_to_jpg
test scan folders
test decode_all
test decode_images
2026-11-16 19:48:07 +01:00
Lucas Vivo 6fb22a7582 test(wallpaper_changer): run config tests
check if conf file is written and read
check if cfg struct is set correctls
check correct private key
test versioning
2026-11-16 19:48:07 +01:00
Lucas Vivo 74c66ec88f test(wallpaper_changer): run unit and integration tests, integration test dir 2026-11-16 19:48:07 +01:00
Lucas Vivo 8801ee5153 feat(wallpaper_changer): add image hash, use conf_dir, scan dir parameter, move to src
add FileInfo class to store hash
use conf_dir instead of ~/Wallpaper
scan: opt scan dir as parameter
encode directly in confdir/New
skip adding images with same hash
add images with same name, change number only
add decode_image function to chack hash after decoding
2026-11-16 19:48:07 +01:00
Lucas Vivo 807d03f808 feat(wallpaper_changer): add image hash, move to src
decode and leave: decrypt file instead of saving loaded image
add conf_dir instead of ~/Wallpaper
add decode_image function instead of decrypting directly
2026-11-16 19:48:07 +01:00
Lucas Vivo 24292a3d01 feat(wallpaper_changer): add logging, move to src
move file to sorc dir
add logging for all modules
2026-11-13 10:48:03 +01:00
Lucas Vivo 057f3101bf feat(wallpaper_changer): add FileInfo class, remove overloading of decript func, move to src
add FIleInfo class for naming_table entries
remove overloading of decrypt function, return None instead
2026-11-13 10:46:07 +01:00
Lucas Vivo ba81e01fee feat(wallpaper_changer): ignore hostname in config, set conf dir from argument, move to src
extra parameters for wallpaper_dir, conf_dir and private key
move file to new src dir
2026-11-13 10:46:07 +01:00
Lucas Vivo 2dc2483c04 feat(wallpaper_changer): argparse: add version, config_dir, temp_dir(wallpapers), move to src
add mode which determines wallpaper folder
add conf_dir where wallpaper/wp.conf etc are located
move all files to new src dir
2026-11-13 10:46:07 +01:00
Lucas Vivo f8aa8a73d1 chore(wallpaper_changer): delete unneeded modules, move init to src
move deamon file
2026-11-13 10:46:07 +01:00
Lucas Vivo 4d8d20c6d9 chore(wallpaper_changer): test assets
private key for testing
images for testing
2026-11-13 10:37:10 +01:00
Lucas Vivo d09706f3be chore(wallpaper_changer): project documents 2026-11-13 10:36:35 +01:00
Lucas Vivo 3aa90fa629 chore(wallpaper_changer): add vscode project settings 2026-11-13 10:35:59 +01:00
Lucas Vivo f5c794e9f5 fix(wallpaper_changer): add wallpaper_changer as member to pyproject 2026-11-13 10:35:33 +01:00
Lucas Vivo db4778811f fix(serverlibrary): add correct dependencies to pyproject 2026-11-13 10:35:04 +01:00
Lucas Vivo def77826ba feat(configure_indexers): add PL and GoldenGate 2026-11-13 10:33:40 +01:00
Lucas Vivo dc0609480f feat(bash_aliases): add WC alias for python executable and script 2026-11-13 10:33:01 +01:00
Lucas Vivo 04ac7f9ff7 chore(code-workspace): add a workspace folder for every bash/python folder 2026-11-09 20:09:41 +01:00
Lucas Vivo 968d007954 feat(wallpaper-changer.py): add modular Python port
Introduce a Python CLI for selecting, processing, and setting
wallpapers,
including encrypted image and naming-table workflows, monitor-aware
image
composition, search and exclusion filters, and migration and usage
notes.

Module guide:
- main.py: validates command combinations and coordinates configuration,
  encryption commands, image processing, monitor detection, wallpaper
  composition, and GNOME wallpaper setting.
- wallpaper_changer/__init__.py: marks the application package.
- wallpaper_changer/argument_parser.py: defines CLI options and merges
  command-line arguments with arguments loaded from the config file.
- wallpaper_changer/config.py: loads host-specific image, wallpaper, and
  private-key settings.
- wallpaper_changer/encryption_manager.py: reads and writes legacy
OpenSSL
  encrypted files and loads, stores, encrypts, or decrypts naming
tables.
- wallpaper_changer/image_repository.py: scans and converts images,
manages
  encrypted images and naming-table entries, and handles image decoding
and  sequential filename correction.
- wallpaper_changer/logging_utils.py: configures and retrieves the
project's custom logger.
- wallpaper_changer/monitor_manager.py: discovers monitor layouts from
DRM data or host configuration files.
- wallpaper_changer/naming_table.py: loads legacy plaintext naming-table
entries.
- wallpaper_changer/wallpaper_builder.py: filters and selects images,
decrypts as needed, and composes a labeled multi-monitor wallpaper.
- wallpaper_changer/wallpaper_setter.py: sets GNOME background settings
using gsettings.
2026-11-09 20:09:12 +01:00
Lucas Vivo 0bc0b53ed1 feat(wallpaper-changer.sh): change default image format to jpg
Add image-to-JPEG conversion
change image format to jpg everywhere
update getimageAR function to handle jpg
2026-11-09 20:09:12 +01:00
Lucas Vivo 0c8f33559d feat(fix_filenames): Separate Words in filenames not separated by special char 2026-11-09 20:09:12 +01:00
Lucas Vivo d3410521bd chore(configure_idexers): add prowlarr 2026-11-09 20:09:12 +01:00
Lucas Vivo 492a2f0d5d fix(lazygit): add filename to edit - editor 2026-11-09 20:09:12 +01:00
Lucas Vivo 2670e46526 feat(resize_images): add png support and add argument for target directory 2026-11-09 20:09:12 +01:00
Lucas Vivo 5ca383e0da feat(ffmpeg_handling): convert all files with suffix to new_suffix
change convert-av to subprocess
add test file for .avi
2026-11-05 14:54:40 +01:00
Lucas Vivo f55b671ba3 fix(immich_auto_album): fix venv location in shebang 2026-11-05 13:53:40 +01:00
Lucas Vivo 7c6c9e6f58 feat(ffmpeg_handling): add suffix for convert-av 2026-11-05 13:53:40 +01:00
Lucas Vivo 373030ae74 feat(configure_indexers): add sonarr-en instance to configure_indexers 2026-11-04 07:50:44 +01:00
Lucas Vivo f0c651691e feat(sonarr_database): add recheck_current_episodes function
use title matching to find episode number of already matched episodes
2026-11-04 07:50:44 +01:00
Lucas Vivo 64a94c865c feat(immich): move restore user script to immich api and add find duplicate people function 2026-11-04 07:50:44 +01:00
Lucas Vivo 033ada3924 feat(audiobook_library): add AudiobookshelfApi client and function to trigger metadata embedding for ids 2026-11-04 07:50:44 +01:00
Lucas Vivo 2994ffcc52 feat(immich): add immich-folder-album script,add restore user script
github: create albums from immich ext library folders
restore deleted user script
2026-11-02 14:25:06 +01:00
Lucas Vivo 408293d866 feat(serverlibrary): add log-level parser function to serverlibrary 2026-11-02 14:20:55 +01:00
Lucas Vivo aff23eae88 feat(configure_indexers): move to torrent dir and add whisparr 2026-11-02 14:20:55 +01:00
Lucas Vivo eb3d4a71f8 fix(audiobook_library): fix genres variable for database fix_genres 2026-11-01 15:52:10 +01:00
Lucas Vivo b00d8b8249 feat(qbittorrent_api): add support for mult qbittorrent instances 2026-11-01 15:52:10 +01:00
Lucas Vivo 8377e61306 chore(gitconfig): viviohost gitconfig example# 2026-11-01 15:52:10 +01:00
Lucas Vivo 2d988203b8 fix(upgrade): remove -it from docker nextcloud update 2026-10-31 20:23:07 +01:00
Lucas Vivo 97b9232cef fix(audiobook_library): use raw ID3 for read/write metadata 2026-10-31 17:37:48 +01:00
Lucas Vivo 58bc7fb4bb fix(audiobook_library): use mutagen mp4/mp3 split for write/read metadata 2026-10-31 12:21:31 +01:00
Lucas Vivo ab300bfa01 feat(audiobook_library): move file logging 2026-10-31 09:26:58 +01:00
Lucas Vivo 60ab92d5e2 fix(audiobook_library): use mutage mp4 for m4b files 2026-10-31 09:19:17 +01:00
Lucas Vivo 077c4899a0 feat(audiobook_library): use mutagen instead
add function to fix titles and write title list to files
2026-10-30 15:11:18 +01:00
Lucas Vivo c8b9a25ead feat(audiobook_library): use exiftool instead of kid3 and ffprobe 2026-10-30 13:04:24 +01:00
Lucas Vivo 6d8b2957c6 fix(audiobook_library): only fix series if it differs from current one 2026-10-30 11:46:06 +01:00
Lucas Vivo 517490384f feat(audiobook_library): only write metadata keys that have changed 2026-10-30 11:26:36 +01:00
Lucas Vivo 50a6d786f0 fix(audiobook_library): move path_filter to general library, remove "remove series from name" 2026-10-30 10:27:41 +01:00
Lucas Vivo db350414d4 feat(ffmpeg_handling): move tag function and SUFFIX array to serverlibrary 2026-10-30 10:27:41 +01:00
Lucas Vivo 0272366480 feat(bash_aliases): add low priority copy 2026-10-30 10:27:41 +01:00
Lucas Vivo d99ad7b966 feat(audiobook_library): sorting key, normalize names
new sorting key to extract track numbers
get codec from audio file
normalize album name to remove brackets and series name
create book dir from metadata
load all tables into database object
2026-10-30 10:27:41 +01:00
Lucas Vivo e571fdc729 feat(audiobook_library): functional write_metadata, create_m4b
shebang python venv
get all metadata tags
kid3 command corrections, add "" to fields
sort self.files
add changed flag to fix_... cmds
fix series numbering
2026-10-30 10:27:41 +01:00