Commit graph

34 commits

Author SHA1 Message Date
ayakael
abef0cd0d3
[build.sh] Now adds bunc functions 2018-04-07 19:58:45 -04:00
ayakael
b975360ba8
Added bunc submodules 2018-04-07 19:58:14 -04:00
ayakael
271b515080
[deploy_gen] Now return 0 instead of 1 when split reattempt is succesful
[deploy_meta] Now uses sed to convert FUTURE_META's semi colon in new line
[deploy_mv] Fixed bug where certain syntax in mtag would throw off the trackidList generation
[deploy_meta_field] [ and ] characters, which are used for empty fields, are now replaced my space
[deploy_meta_mtag] Fixed bug with tagList generation
2018-04-07 18:33:41 -04:00
ayakael
383139e943
[deploy_cp] Fixed typo in variable name for imageid 2018-04-07 17:13:19 -04:00
ayakael
d65b85be8f
[chk_metadata] [cmd_deploy] [deploy_meta] Added prettier CLI logging 2018-04-07 17:09:22 -04:00
ayakael
3e6cec87fd
[deploy_meta] Exit with code 1 when either checks have failed (i.e, when path is wrong or applied metada is different) 2018-04-07 15:17:05 -04:00
ayakael
df25a5c2bd
[chk_metadata] Checks all metadata of FLAC files present in DB_FILE 2018-04-07 15:16:12 -04:00
ayakael
3de3d82b33
[print_future_path] When no track defined, prints track number is TITLE 2018-04-07 13:34:20 -04:00
ayakael
07cf6d3298
[print_meta_field] Added documentation
[print_meta_mtag] The value for "TITLE" field now does not get inherited.
2018-04-07 13:27:37 -04:00
ayakael
834594e217
[db_set] Fixed typo in awk command 2018-04-07 12:56:46 -04:00
ayakael
8b57e47a00
[print_track_no] Fixed bug with TITLEless tracks 2018-04-07 12:56:12 -04:00
ayakael
de4f4f9ae8
Updated changelog 2018-04-06 19:09:05 -04:00
ayakael
ad853a61bf
[cmd_du] Added function to check total projected disk usage of selected IMAGEIDs 2018-04-06 19:02:10 -04:00
ayakael
72aac8134f
Deprecations in favour of changes in deployment workflow:
[is_selected] Deprecated (and exterminated)
[deploy_imageid] Deprecated in favor of deploy_cp, deploy_rm and deploy_meta
[deploy_trackid] Deprecated in favor of deploy_cp, deploy_rm and deploy_meta

Misc changes and bugfixes for print functions
[print_future_path] In the event that TITLE is not set, TITLE will now be ALBUM, for tracks without titles.
[print_meta_flac] Track TITLES with colons are now kept
[print_present_path] Now needs IMAGEID and TRACKID in argument for TRACKID wasn't unique enough
[print_trackids_to_imageids] Prints the IMAGEIDs of all TRACKIDs

New functions for new deployment workflow that allows for deletion first, copying later, and smarter metadata adjustments
[deploy_rm] Removes all given TRACKIDs (i.e, what FILE_DB defines as false, but target_dir is not null)
[deploy_cp] Function copies TRACKIDs on a IMAGEID by IMAGEID basis to TARGET
[deploy_meta] Function applies metadata to IMAGEID tracks
[cmd_deploy] Rewrote cmd_deploy for use of new deploy functions

Bug fixes to db selections and db update
[db_set] Now ignores all lines that have LAST_DEPLOY and LAST_UPDATE
[db_update] Added function to report a file as removed from git dir. (null in selection column)
[cmd_update] LAST_COMMIT is now LAST_UPDATE in favour of LAST_DEPLOY, which is for commit of when last deployment occured
[cmd_update] Gawk is now used for inplace editing of database

Misc. adjustements
[cmd_deploy] Rewrote disk usage check
2018-04-06 18:55:34 -04:00
ayakael
bff31996f2
[print_present_path] Now needs only TRACKID to print current path 2018-04-06 18:55:34 -04:00
ayakael
23359c835c
[cmd_exclude] Fixed syntax bugs, now outputs projected disk usage at end
[cmd_include] Fixed syntax bugs, now outputs projected disk usage at end
2018-03-29 13:33:08 -04:00
ayakael
10de67b3be
[db_set] Is now case insensitive when doing FIELD and VALUE comparisons 2018-03-29 12:53:21 -04:00
ayakael
16b733b568
[print_imageid_du] Added to calculate disk usage of provided IMAGEIDs
[cmd_deploy] Now warns when target does not have sufficient space for deployable IDs
2018-03-29 12:45:53 -04:00
ayakael
badc5c28c9
[chk_nonexistent_ids] Added to check for TRACKIDs that point to non-existent files 2018-03-29 11:35:26 -04:00
ayakael
c1d3609089
[chk_deployed_ids] Now outputs to database with tab delimiters rather that space 2018-03-29 11:20:25 -04:00
ayakael
bceb0679dc
[env] Fixed mis-defined IFS variable. 2018-03-29 10:57:56 -04:00
ayakael
356d6b269f
[chk_deployed_ids] added to check a DB_FILE for missing files 2018-03-29 10:57:12 -04:00
ayakael
50b8612081
[print_meta_flac] can now accept arguments that define which tags should be printed 2018-03-29 10:56:30 -04:00
ayakael
a22a2d1575
[cmd_update] Now updates DB_FILE with new commit hash when database update success 2018-03-29 09:24:58 -04:00
ayakael
df69dbe70e
Added license, readme and changelog 2018-03-28 20:30:14 -04:00
ayakael
d3c141cbd8
[build.sh] Updated build script to remove debug eval command.
[build.sh] Build script now has 'env' file at head and 'parser' file tail
[cmd_deploy] Now uses the _OPT_DB_FILE variable instead of DB_FILE
[cmd_deploy] now generates imageidList using DB_FILE if imageid not provided by user
[cmd_exclude] Rewrote to operate as front end to db_set's exclude function
[cmd_include] Added as front end to db_set's include function
[cmd_update] Fixed some typos
[db_set] Added as backend to DB_FILE trackid selection
[env] Now defines _OPT_DB_FILE as .dam.db
[parser] Updates parser to support cmd_deploy, cmd_include, cmd_exclude and cmd_update
[print_meta_mtag] Last line now does not trail with ";" character
2018-03-28 19:26:38 -04:00
ayakael
e05faf010f
Renamed function print_present_meta to print_meta_flac
Renamed function print_future_meta to print_meta_mtag, and added ability to define what field to extract
Renamed function update_db to db_update, and updated to support new database format
Created function db_set to set selection of trackid depending on conditions
Updated cmd_deploy to support deploy_imageid
Updated cmd_update to support new db_update
2018-03-28 12:48:49 -04:00
ayakael
06a0491448
print_future_meta can now selectively extract tags, if told to 2018-03-28 12:14:58 -04:00
ayakael
1ded1a99e0
Added _msg functions to deploy_imageid and update_db 2018-03-28 11:29:07 -04:00
ayakael
35f92513dd
Optmized print_meta_field function 2018-03-28 11:07:17 -04:00
ayakael
86525440f4
Removed eval addition by src/dam 2018-03-28 09:54:01 -04:00
ayakael
7dcd6db0b7
Tested and bug fixed deploy_image_id and its dependant functions 2018-03-28 09:52:57 -04:00
ayakael
d024a0dc02
Program now executes on a track by track basis, rather than image id by image id basis
Added support for track  selection/exclusion.
Rewrote code
2018-03-26 19:34:44 -04:00
ayakael
48d5fb91af
Initial commit - migration from music repo to own repo 2018-03-19 15:09:06 -04:00