Skip to content

Release Notes for v0.2.1

Choose a tag to compare

@upperstream upperstream released this 23 Apr 12:37
· 24 commits to master since this release

v0.2.1 - 2025-04-23

  • Added:
    • Add new output message format for plm-put-playlist when both -l
      and -v options are given:
      • For playlist files: ({}/{}) Copy playlist {} to {}
      • For media files: ({}-M/{}) Copy track {} to {}
      • For lyrics files: ({}-L/{}) Copy lyrics {} to {}
    • Update output message format for media files when only -v option
      is given: ({}/{}) Copy track {} to {}
    • Add validation of error file creation at the beginning of
      plm-put-playlist command to fail fast if the error file cannot be
      created
    • Update documentation to mention that the error file will be empty
      if the operation completes successfully without errors
    • Add -k/--keep-going option to plm-delete-playlist command to
      continue operation despite errors, similar to the same option in
      plm-put-playlist command
  • Changed:
    • Change version tag formatting to use 'v' prefix
    • Refactor plm-put-playlist to extract functions for better code
      organization and maintainability:
      • Extract copy_single_media_file() from copy_media_files()
      • Extract retry_playlist() and retry_media_file() from
        retry_operations()
      • Extract process_normal_operations() from the main function
    • Rename test files to clarify they are integration tests:
      • Rename tests/common.rs to tests/integration_test_common.rs
      • Rename tests/put_playlist_tests.rs to
        tests/integration_put_playlist_tests.rs
      • Rename tests/delete_playlist_tests.rs to
        tests/integration_delete_playlist_tests.rs
  • Fixed:
    • Fix file counting in plm-put-playlist to ensure the n-th file to
      copy is the n-th file of all files to copy across all playlist
      files, and only successfully copied files are counted in the
      sequence