Skip to content

Commit

Permalink
fix log lines in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Nov 2, 2023
1 parent cebd7af commit 313f734
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 111 deletions.
20 changes: 7 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,19 +260,13 @@ finally (3) play music!

```bash
$ rose fs mount
[15:41:13] INFO: Refreshing the read cache for 5 releases
[15:41:13] INFO: Applying cache updates for release BLACKPINK - 2016. SQUARE TWO
[15:41:13] INFO: Applying cache updates for release BLACKPINK - 2016. SQUARE ONE
[15:41:13] INFO: Applying cache updates for release LOOΠΔ - 2017. Kim Lip
[15:41:13] INFO: Applying cache updates for release NewJeans - 2022. Ditto
[15:41:13] INFO: Applying cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[15:41:13] INFO: Evicting cached releases that are not on disk
[15:41:13] INFO: Refreshing the read cache for 1 collages
[15:41:13] INFO: Applying cache updates for collage Road Trip
[15:41:13] INFO: Evicting cached collages that are not on disk
[15:41:13] INFO: Refreshing the read cache for 1 playlists
[15:41:13] INFO: Applying cache updates for playlist Shower
[15:41:13] INFO: Evicting cached playlists that are not on disk
[15:41:13] INFO: Updating cache for release BLACKPINK - 2016. SQUARE TWO
[15:41:13] INFO: Updating cache for release BLACKPINK - 2016. SQUARE ONE
[15:41:13] INFO: Updating cache for release LOOΠΔ - 2017. Kim Lip
[15:41:13] INFO: Updating cache for release NewJeans - 2022. Ditto
[15:41:13] INFO: Updating cache for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[15:41:13] INFO: Updating cache for collage Road Trip
[15:41:13] INFO: Updating cache for playlist Shower
```

Rosé emits log lines whenever something significant is occurring. This is
Expand Down
24 changes: 12 additions & 12 deletions docs/METADATA_MANAGEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ CHUU - 2023. Howl/05. Hitchhiker.opus
Write changes to 5 tracks? [Y/n] y

[01:10:58] INFO: Writing tag changes for rule matcher=trackartist,albumartist:CHUU action=matched:CHUU::replace:Chuu
[01:10:58] INFO: Writing tag changes to CHUU - 2023. Howl/01. Howl.opus
[01:10:58] INFO: Writing tag changes to CHUU - 2023. Howl/02. Underwater.opus
[01:10:58] INFO: Writing tag changes to CHUU - 2023. Howl/03. My Palace.opus
[01:10:58] INFO: Writing tag changes to CHUU - 2023. Howl/04. Aliens.opus
[01:10:58] INFO: Writing tag changes to CHUU - 2023. Howl/05. Hitchhiker.opus
[01:10:58] INFO: Wrote tag changes to CHUU - 2023. Howl/01. Howl.opus
[01:10:58] INFO: Wrote tag changes to CHUU - 2023. Howl/02. Underwater.opus
[01:10:58] INFO: Wrote tag changes to CHUU - 2023. Howl/03. My Palace.opus
[01:10:58] INFO: Wrote tag changes to CHUU - 2023. Howl/04. Aliens.opus
[01:10:58] INFO: Wrote tag changes to CHUU - 2023. Howl/05. Hitchhiker.opus

Applied tag changes to 5 tracks!
```
Expand Down Expand Up @@ -166,13 +166,13 @@ LOOΠΔ - 2017. Chuu/02. Girl's Talk.opus
Write changes to 7 tracks? [Y/n] y
[01:14:57] INFO: Writing tag changes for rule matcher=trackartist,albumartist:Chuu action=genre::replace-all:K-Pop
[01:14:57] INFO: Writing tag changes to CHUU - 2023. Howl/01. Howl.opus
[01:14:57] INFO: Writing tag changes to CHUU - 2023. Howl/02. Underwater.opus
[01:14:57] INFO: Writing tag changes to CHUU - 2023. Howl/03. My Palace.opus
[01:14:57] INFO: Writing tag changes to CHUU - 2023. Howl/04. Aliens.opus
[01:14:57] INFO: Writing tag changes to CHUU - 2023. Howl/05. Hitchhiker.opus
[01:14:57] INFO: Writing tag changes to LOOΠΔ - 2017. Chuu/01. Heart Attack.opus
[01:14:57] INFO: Writing tag changes to LOOΠΔ - 2017. Chuu/02. Girl's Talk.opus
[01:14:57] INFO: Wrote tag changes to CHUU - 2023. Howl/01. Howl.opus
[01:14:57] INFO: Wrote tag changes to CHUU - 2023. Howl/02. Underwater.opus
[01:14:57] INFO: Wrote tag changes to CHUU - 2023. Howl/03. My Palace.opus
[01:14:57] INFO: Wrote tag changes to CHUU - 2023. Howl/04. Aliens.opus
[01:14:57] INFO: Wrote tag changes to CHUU - 2023. Howl/05. Hitchhiker.opus
[01:14:57] INFO: Wrote tag changes to LOOΠΔ - 2017. Chuu/01. Heart Attack.opus
[01:14:57] INFO: Wrote tag changes to LOOΠΔ - 2017. Chuu/02. Girl's Talk.opus

Applied tag changes to 7 tracks!
```
Expand Down
54 changes: 18 additions & 36 deletions docs/PLAYLISTS_COLLAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,11 @@ Command line:
```bash
$ rose collages create "Morning"
[17:51:22] INFO: Creating collage Morning in source directory
[17:51:22] INFO: Refreshing the read cache for 1 collages
[17:51:22] INFO: Applying cache updates for collage Morning
[17:51:22] INFO: Updating cache for collage Morning

$ rose playlists create "Evening"
[17:51:47] INFO: Creating playlist Evening in source directory
[17:51:47] INFO: Refreshing the read cache for 1 playlists
[17:51:47] INFO: Applying cache updates for playlist Evening
[17:51:47] INFO: Updating cache for playlist Evening
```

Virtual filesystem:
Expand Down Expand Up @@ -129,18 +127,15 @@ globally unique._
```bash
$ rose collages add-release "Morning" "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[17:59:38] INFO: Added release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop] to collage Morning
[17:59:38] INFO: Refreshing the read cache for 1 collages
[17:59:38] INFO: Applying cache updates for collage Morning
[17:59:38] INFO: Updating cache for collage Morning

$ rose collages add-release "Morning" "018b268e-ef68-7180-a01e-19bc3fdf970e"
[17:59:44] INFO: Added release BLACKPINK - 2016. SQUARE TWO - Single [Dance-Pop;K-Pop] to collage Morning
[17:59:44] INFO: Refreshing the read cache for 1 collages
[17:59:44] INFO: Applying cache updates for collage Morning
[17:59:44] INFO: Updating cache for collage Morning

$ rose playlists add-track "Evening" "018b6514-6fb7-7cc6-9d23-8eaf0b1beee8"
[18:02:21] INFO: Added track LOOΠΔ ODD EYE CIRCLE - Chaotic.opus to playlist Evening
[18:02:21] INFO: Refreshing the read cache for 1 playlists
[18:02:21] INFO: Applying cache updates for playlist Evening
[18:02:21] INFO: Updating cache for playlist Evening
```

Virtual filesystem:
Expand Down Expand Up @@ -175,18 +170,15 @@ globally unique._
```bash
$ rose collages remove-release "Morning" "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[18:11:43] INFO: Removed release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop] from collage Morning
[18:11:43] INFO: Refreshing the read cache for 1 collages
[18:11:43] INFO: Applying cache updates for collage Morning
[18:11:43] INFO: Updating cache for collage Morning

$ rose collages remove-release "Morning" "018b268e-ef68-7180-a01e-19bc3fdf970e"
[18:12:03] INFO: Removed release BLACKPINK - 2016. SQUARE TWO - Single [Dance-Pop;K-Pop] from collage Morning
[18:12:03] INFO: Refreshing the read cache for 1 collages
[18:12:03] INFO: Applying cache updates for collage Morning
[18:12:03] INFO: Updating cache for collage Morning

$ rose playlists remove-track "Evening" "018b6514-6fb7-7cc6-9d23-8eaf0b1beee8"
[18:12:22] INFO: Removed track LOOΠΔ ODD EYE CIRCLE - Chaotic.opus from playlist Evening
[18:12:22] INFO: Refreshing the read cache for 1 playlists
[18:12:22] INFO: Applying cache updates for playlist Evening
[18:12:22] INFO: Updating cache for playlist Evening
```

Virtual filesystem:
Expand Down Expand Up @@ -224,8 +216,7 @@ LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]
BLACKPINK - 2016. SQUARE TWO - Single [Dance-Pop;K-Pop]
# And the logs printed to stderr are:
[18:20:53] INFO: Edited collage Road Trip from EDITOR
[18:20:53] INFO: Refreshing the read cache for 1 collages
[18:20:53] INFO: Applying cache updates for collage Road Trip
[18:20:53] INFO: Updating cache for collage Road Trip

$ tree "7. Collages/Road Trip/"
7. Collages/Road Trip/
Expand All @@ -243,8 +234,7 @@ BLACKPINK - PLAYING WITH FIRE.opus
LOOΠΔ ODD EYE CIRCLE - Chaotic.opus
# And the logs printed to stderr are:
[18:22:42] INFO: Edited playlist Shower from EDITOR
[18:22:42] INFO: Refreshing the read cache for 1 playlists
[18:22:42] INFO: Applying cache updates for playlist Shower
[18:22:42] INFO: Updating cache for playlist Shower

$ tree "8. Playlists/Shower/"
8. Playlists/Shower/
Expand All @@ -262,13 +252,11 @@ Command line:

```bash
$ rose collages delete "Morning"
[18:23:44] INFO: Deleting collage Morning from source directory
[18:23:44] INFO: Evicting cached collages that are not on disk
[18:23:44] INFO: Deleted collage Morning from source directory
[18:23:44] INFO: Evicted collage Morning from cache

$ rose playlists create "Evening"
[18:26:38] INFO: Deleting playlist Evening from source directory
[18:26:38] INFO: Evicting cached playlists that are not on disk
[18:26:38] INFO: Deleted playlist Evening from source directory
[18:26:38] INFO: Evicted playlist Evening from cache
```

Expand Down Expand Up @@ -301,21 +289,17 @@ Command line:

```bash
$ rose collages rename "Road Trip" "Long Flight"
[18:29:08] INFO: Renaming collage Road Trip to Long Flight
[18:29:08] INFO: Refreshing the read cache for 1 collages
[18:29:08] INFO: Applying cache updates for collage Long Flight
[18:29:08] INFO: Evicting cached collages that are not on disk
[18:29:08] INFO: Renamed collage Road Trip to Long Flight
[18:29:08] INFO: Updating cache for collage Long Flight
[18:29:08] INFO: Evicted collage Road Trip from cache

$ tree "7. Collages/"
7. Collages/
└── Long Flight/...

$ rose playlists rename "Shower" "Meal Prep"
[18:30:17] INFO: Renaming playlist Shower to Meal Prep
[18:30:17] INFO: Refreshing the read cache for 1 playlists
[18:30:17] INFO: Applying cache updates for playlist Meal Prep
[18:30:17] INFO: Evicting cached playlists that are not on disk
[18:30:17] INFO: Renamed playlist Shower to Meal Prep
[18:30:17] INFO: Updating cache for playlist Meal Prep
[18:30:17] INFO: Evicted playlist Shower from cache

$ tree "8. Playlists/"
Expand Down Expand Up @@ -355,8 +339,7 @@ $ cd $fuse_mount_dir

$ rose playlists set-cover "Shower" ./cover.jpg
[20:51:59] INFO: Set the cover of playlist Shower to cover.jpg
[20:51:59] INFO: Refreshing the read cache for 1 playlists
[20:51:59] INFO: Applying cache updates for playlist Shower
[20:51:59] INFO: Updating cache for playlist Shower

$ tree "8. Playlists/Shower/"
8. Playlists/Shower/
Expand Down Expand Up @@ -394,8 +377,7 @@ $ cd $fuse_mount_dir

$ rose playlists remove-cover "Shower"
[02:10:34] INFO: Deleted cover arts of playlist Lounge
[02:10:34] INFO: Refreshing the read cache for 1 playlists
[02:10:34] INFO: Applying cache updates for playlist Lounge
[02:10:34] INFO: Updating cache for playlist Lounge

$ tree "8. Playlists/Shower/"
8. Playlists/Shower/
Expand Down
24 changes: 8 additions & 16 deletions docs/VIRTUAL_FILESYSTEM.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,19 @@ Command line:
$ cd $fuse_mount_dir

$ rose releases toggle-new "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[21:47:52] INFO: Refreshing the read cache for 1 releases
[21:47:52] INFO: Applying cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[21:47:52] INFO: Refreshing the read cache for 1 collages
[21:47:52] INFO: Updating cache for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[21:47:52] INFO: Updating release descriptions for Long Flight
[21:47:52] INFO: Applying cache updates for collage Long Flight
[21:47:52] INFO: Updating cache for collage Long Flight

$ tree "2. Releases - New/"
2. Releases - New/
├── {NEW} LOOΠΔ - 2017. Kim Lip - Single [Contemporary R&B;Dance-Pop;K-Pop]/...
└── {NEW} LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]/...

$ rose releases toggle-new "{NEW} LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[21:49:36] INFO: Refreshing the read cache for 1 releases
[21:49:36] INFO: Applying cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[21:49:36] INFO: Refreshing the read cache for 1 collages
[21:49:36] INFO: Updating cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[21:49:36] INFO: Updating release descriptions for Long Flight
[21:49:36] INFO: Applying cache updates for collage Long Flight
[21:49:36] INFO: Updating cache for collage Long Flight

$ tree "2. Releases - New/"
2. Releases - New/
Expand Down Expand Up @@ -164,8 +160,7 @@ $ cd $fuse_mount_dir

$ rose releases set-cover "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]" ./cover.jpg
[20:43:50] INFO: Set the cover of release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match to cover.jpg
[20:43:50] INFO: Refreshing the read cache for 1 releases
[20:43:50] INFO: Applying cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[20:43:50] INFO: Updating cache for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match

$ tree "1. Releases/LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]/"
1. Releases/LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [K-Pop]/
Expand Down Expand Up @@ -207,8 +202,7 @@ $ cd $fuse_mount_dir

$ rose releases remove-cover "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[02:13:17] INFO: Deleted cover arts of release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[02:13:17] INFO: Refreshing the read cache for 1 releases
[02:13:17] INFO: Applying cache updates for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match
[02:13:17] INFO: Updating cache for release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match

$ tree "1. Releases/LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]/"
1. Releases/LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [K-Pop]/
Expand Down Expand Up @@ -248,12 +242,10 @@ $ cd $fuse_mount_dir

$ rose releases delete "LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]"
[21:56:25] INFO: Trashed release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop]
[21:56:25] INFO: Evicting cached releases that are not on disk
[21:56:25] INFO: Evicted release /home/blissful/demo/source/LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match from cache
[21:56:25] INFO: Refreshing the read cache for 1 collages
[21:56:25] INFO: Removing nonexistent release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop] from collage Long Flight
[21:56:25] INFO: Marking missing release LOOΠΔ ODD EYE CIRCLE - 2017. Mix & Match - EP [Dance-Pop;Future Bass;K-Pop] as missing in collage Long Flight
[21:56:25] INFO: Updating release descriptions for Long Flight
[21:56:25] INFO: Applying cache updates for collage Long Flight
[21:56:25] INFO: Updating cache for collage Long Flight

$ tree "1. Releases/"
1. Releases/
Expand Down
Loading

0 comments on commit 313f734

Please sign in to comment.