Skip to content

FLAC files not being deleted in 2.2 #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
StormPooper opened this issue Dec 6, 2022 · 10 comments
Closed

FLAC files not being deleted in 2.2 #37

StormPooper opened this issue Dec 6, 2022 · 10 comments
Assignees

Comments

@StormPooper
Copy link

After updating to the latest release, 2.2, I've found the FLAC files are no longer deleted after conversion.

Here's the output for an album using 2.2:

22-12-5 17:23:17.5|[8930]Info|Lidarr event: AlbumDownload, Artist: Eric Johnson (881), Album: EJ (20072), Advanced options: '-vn -c:a libopus -b:a 128k', File extension: .opus, Matching regex: '\.(flac|wav)$', Track(s): /music/Eric Johnson/EJ/01-01 Mrs. Robinson.flac|/music/Eric Johnson/EJ/01-02 Water Under the Bridge.flac|/music/Eric Johnson/EJ/01-03 Wonder.flac|/music/Eric Johnson/EJ/01-04 Wrapped in a Cloud.flac|/music/Eric Johnson/EJ/01-05 Once Upon a Time in Texas.flac|/music/Eric Johnson/EJ/01-06 One Rainy Wish.flac|/music/Eric Johnson/EJ/01-07 Serinidad.flac|/music/Eric Johnson/EJ/01-08 Fatherly Downs.flac|/music/Eric Johnson/EJ/01-09 The World Is Waiting for the Sunrise.flac|/music/Eric Johnson/EJ/01-10 November.flac|/music/Eric Johnson/EJ/01-11 All Things You Are.flac|/music/Eric Johnson/EJ/01-12 Scarborough Fair+Canticle.flac|/music/Eric Johnson/EJ/01-13 Song for Irene.flac
22-12-5 17:23:17.6|[8930]Info|Writing: /music/Eric Johnson/EJ/01-01 Mrs. Robinson.opus
22-12-5 17:23:25.2|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-01 Mrs. Robinson.opus"
22-12-5 17:23:25.2|[8930]Info|Writing: /music/Eric Johnson/EJ/01-02 Water Under the Bridge.opus
22-12-5 17:23:30.1|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-02 Water Under the Bridge.opus"
22-12-5 17:23:30.1|[8930]Info|Writing: /music/Eric Johnson/EJ/01-03 Wonder.opus
22-12-5 17:23:36.0|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-03 Wonder.opus"
22-12-5 17:23:36.0|[8930]Info|Writing: /music/Eric Johnson/EJ/01-04 Wrapped in a Cloud.opus
22-12-5 17:23:46.0|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-04 Wrapped in a Cloud.opus"
22-12-5 17:23:46.0|[8930]Info|Writing: /music/Eric Johnson/EJ/01-05 Once Upon a Time in Texas.opus
22-12-5 17:23:52.3|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-05 Once Upon a Time in Texas.opus"
22-12-5 17:23:52.3|[8930]Info|Writing: /music/Eric Johnson/EJ/01-06 One Rainy Wish.opus
22-12-5 17:24:00.1|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-06 One Rainy Wish.opus"
22-12-5 17:24:00.1|[8930]Info|Writing: /music/Eric Johnson/EJ/01-07 Serinidad.opus
22-12-5 17:24:04.3|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-07 Serinidad.opus"
22-12-5 17:24:04.3|[8930]Info|Writing: /music/Eric Johnson/EJ/01-08 Fatherly Downs.opus
22-12-5 17:24:11.3|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-08 Fatherly Downs.opus"
22-12-5 17:24:11.3|[8930]Info|Writing: /music/Eric Johnson/EJ/01-09 The World Is Waiting for the Sunrise.opus
22-12-5 17:24:16.3|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-09 The World Is Waiting for the Sunrise.opus"
22-12-5 17:24:16.3|[8930]Info|Writing: /music/Eric Johnson/EJ/01-10 November.opus
22-12-5 17:24:26.4|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-10 November.opus"
22-12-5 17:24:26.5|[8930]Info|Writing: /music/Eric Johnson/EJ/01-11 All Things You Are.opus
22-12-5 17:24:35.1|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-11 All Things You Are.opus"
22-12-5 17:24:35.1|[8930]Info|Writing: /music/Eric Johnson/EJ/01-12 Scarborough Fair+Canticle.opus
22-12-5 17:24:43.3|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-12 Scarborough Fair+Canticle.opus"
22-12-5 17:24:43.4|[8930]Info|Writing: /music/Eric Johnson/EJ/01-13 Song for Irene.opus
22-12-5 17:24:48.9|[8930]Error|Exit code 1 setting permissions and/or recycling on "/music/Eric Johnson/EJ/01-13 Song for Irene.opus"
22-12-5 17:24:48.9|[8930]Info|Calling Lidarr API to rescan artist
22-12-5 17:25:03.8|[8930]Info|Completed in 1m 48s

And here's the output for the next album, using 2.1 by pinning it with the Docker Hub tag:

22-12-5 18:06:16.7|[310]Info|Lidarr event: AlbumDownload, Artist: Eric Johnson (881), Album: The Book of Making (20070), Advanced options: '-vn -c:a libopus -b:a 128k', File extension: .opus, Matching regex: '\.(flac|wav)$', Track(s): /music/Eric Johnson/The Book of Making/01-01 Soundtrack Life.flac|/music/Eric Johnson/The Book of Making/01-02 Floating Through This World.flac|/music/Eric Johnson/The Book of Making/01-03 Love Will Never Say Goodbye.flac|/music/Eric Johnson/The Book of Making/01-04 Bigger Than My Life.flac|/music/Eric Johnson/The Book of Making/01-05 Just To Be With You.flac|/music/Eric Johnson/The Book of Making/01-06 To Be Alive.flac|/music/Eric Johnson/The Book of Making/01-07 Another One Like You.flac|/music/Eric Johnson/The Book of Making/01-08 My Faith In You.flac|/music/Eric Johnson/The Book of Making/01-09 A Thousand Miles.flac
22-12-5 18:06:16.8|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-01 Soundtrack Life.opus
22-12-5 18:06:24.3|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-02 Floating Through This World.opus
22-12-5 18:06:29.3|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-03 Love Will Never Say Goodbye.opus
22-12-5 18:06:36.3|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-04 Bigger Than My Life.opus
22-12-5 18:06:40.6|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-05 Just To Be With You.opus
22-12-5 18:06:45.8|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-06 To Be Alive.opus
22-12-5 18:06:53.8|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-07 Another One Like You.opus
22-12-5 18:07:00.8|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-08 My Faith In You.opus
22-12-5 18:07:07.7|[310]Info|Writing: /music/Eric Johnson/The Book of Making/01-09 A Thousand Miles.opus
22-12-5 18:07:11.6|[310]Info|Calling Lidarr API to rescan artist
22-12-5 18:07:26.3|[310]Info|Completed in 1m 11s
@TheCaptain989 TheCaptain989 self-assigned this Dec 7, 2022
@TheCaptain989
Copy link
Owner

Let me take a closer look and do some experimenting.

@TheCaptain989
Copy link
Owner

It's not obvious to me what's wrong.
Can you please run the script in debug mode by adding a -d option and post the resulting logs?

@StormPooper
Copy link
Author

Sure, upgraded the same album twice here for a more direct comparison. Here's a 2.2 log:

22-12-7 11:44:33.0|[522]Info|Lidarr event: AlbumDownload, Artist: The Chats (758), Album: Get F__ked (19369), Advanced options: '-vn -c:a libopus -b:a 128k', File extension: .opus, Matching regex: '\.(flac|wav)$', Track(s): /music/The Chats/Get F__ked/01-01 6L GTR.flac|/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac|/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac|/music/The Chats/Get F__ked/01-04 Southport Superman.flac|/music/The Chats/Get F__ked/01-05 Panic Attack.flac|/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac|/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac|/music/The Chats/Get F__ked/01-08 Dead On Site.flac|/music/The Chats/Get F__ked/01-09 Paid Late.flac|/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac|/music/The Chats/Get F__ked/01-11 Out On The Street.flac|/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac|/music/The Chats/Get F__ked/01-13 Getting Better.flac
22-12-7 11:44:33.0|[522]Debug|Using advanced ffmpeg options "-vn -c:a libopus -b:a 128k"
22-12-7 11:44:33.0|[522]Debug|Exporting with file extension ".opus"
22-12-7 11:44:33.1|[522]Debug|Matching tracks against regex ".(flac|wav)$"
22-12-7 11:44:33.1|[522]Info|Writing: /music/The Chats/Get F__ked/01-01 6L GTR.opus
22-12-7 11:44:33.1|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-01 6L GTR.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-01 6L GTR.opus" 2>&1
22-12-7 11:44:38.4|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-01 6L GTR.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-01 6L GTR.opus"
22-12-7 11:44:38.5|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-01 6L GTR.opus"
22-12-7 11:44:38.5|[522]Info|Writing: /music/The Chats/Get F__ked/01-02 Struck By Lightning.opus
22-12-7 11:44:38.5|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-02 Struck By Lightning.opus" 2>&1
22-12-7 11:44:42.3|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-02 Struck By Lightning.opus"
22-12-7 11:44:42.3|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-02 Struck By Lightning.opus"
22-12-7 11:44:42.3|[522]Info|Writing: /music/The Chats/Get F__ked/01-03 Boggo Breakout.opus
22-12-7 11:44:42.3|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-03 Boggo Breakout.opus" 2>&1
22-12-7 11:44:44.9|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-03 Boggo Breakout.opus"
22-12-7 11:44:44.9|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-03 Boggo Breakout.opus"
22-12-7 11:44:44.9|[522]Info|Writing: /music/The Chats/Get F__ked/01-04 Southport Superman.opus
22-12-7 11:44:44.9|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-04 Southport Superman.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-04 Southport Superman.opus" 2>&1
22-12-7 11:44:46.2|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-04 Southport Superman.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-04 Southport Superman.opus"
22-12-7 11:44:46.2|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-04 Southport Superman.opus"
22-12-7 11:44:46.2|[522]Info|Writing: /music/The Chats/Get F__ked/01-05 Panic Attack.opus
22-12-7 11:44:46.2|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-05 Panic Attack.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-05 Panic Attack.opus" 2>&1
22-12-7 11:44:49.6|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-05 Panic Attack.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-05 Panic Attack.opus"
22-12-7 11:44:49.6|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-05 Panic Attack.opus"
22-12-7 11:44:49.6|[522]Info|Writing: /music/The Chats/Get F__ked/01-06 Ticket Inspector.opus
22-12-7 11:44:49.6|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-06 Ticket Inspector.opus" 2>&1
22-12-7 11:44:53.3|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-06 Ticket Inspector.opus"
22-12-7 11:44:53.3|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-06 Ticket Inspector.opus"
22-12-7 11:44:53.3|[522]Info|Writing: /music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus
22-12-7 11:44:53.3|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus" 2>&1
22-12-7 11:44:58.9|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus"
22-12-7 11:44:58.9|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus"
22-12-7 11:44:58.9|[522]Info|Writing: /music/The Chats/Get F__ked/01-08 Dead On Site.opus
22-12-7 11:44:58.9|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-08 Dead On Site.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-08 Dead On Site.opus" 2>&1
22-12-7 11:45:01.7|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-08 Dead On Site.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-08 Dead On Site.opus"
22-12-7 11:45:01.7|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-08 Dead On Site.opus"
22-12-7 11:45:01.7|[522]Info|Writing: /music/The Chats/Get F__ked/01-09 Paid Late.opus
22-12-7 11:45:01.7|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-09 Paid Late.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-09 Paid Late.opus" 2>&1
22-12-7 11:45:05.0|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-09 Paid Late.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-09 Paid Late.opus"
22-12-7 11:45:05.0|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-09 Paid Late.opus"
22-12-7 11:45:05.0|[522]Info|Writing: /music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus
22-12-7 11:45:05.0|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus" 2>&1
22-12-7 11:45:07.2|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus"
22-12-7 11:45:07.2|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus"
22-12-7 11:45:07.3|[522]Info|Writing: /music/The Chats/Get F__ked/01-11 Out On The Street.opus
22-12-7 11:45:07.3|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-11 Out On The Street.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-11 Out On The Street.opus" 2>&1
22-12-7 11:45:10.6|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-11 Out On The Street.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-11 Out On The Street.opus"
22-12-7 11:45:10.6|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-11 Out On The Street.opus"
22-12-7 11:45:10.6|[522]Info|Writing: /music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus
22-12-7 11:45:10.6|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus" 2>&1
22-12-7 11:45:15.3|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus"
22-12-7 11:45:15.4|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus"
22-12-7 11:45:15.4|[522]Info|Writing: /music/The Chats/Get F__ked/01-13 Getting Better.opus
22-12-7 11:45:15.4|[522]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-13 Getting Better.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-13 Getting Better.opus" 2>&1
22-12-7 11:45:21.2|[522]Debug|Recycling: "/music/The Chats/Get F__ked/01-13 Getting Better.flac" to "/The Chats/Get F__ked/" and setting permissions on "/music/The Chats/Get F__ked/01-13 Getting Better.opus"
22-12-7 11:45:21.2|[522]Error|Exit code 1 setting permissions and/or recycling on "/music/The Chats/Get F__ked/01-13 Getting Better.opus"
22-12-7 11:45:21.2|[522]Info|Calling Lidarr API to rescan artist
22-12-7 11:45:21.2|[522]Debug|Forcing rescan of artist '758'. Calling Lidarr API 'RefreshArtist' using POST and URL 'http://localhost:8686/api/v1/command'
22-12-7 11:45:21.6|[522]Debug|Checking job 1881396 completion, try #1. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:21.7|[522]Debug|Job not done. Waiting 1 second.
22-12-7 11:45:22.7|[522]Debug|Checking job 1881396 completion, try #2. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:22.9|[522]Debug|Job not done. Waiting 1 second.
22-12-7 11:45:23.9|[522]Debug|Checking job 1881396 completion, try #3. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:24.1|[522]Debug|Job not done. Waiting 1 second.
22-12-7 11:45:25.1|[522]Debug|Checking job 1881396 completion, try #4. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:25.2|[522]Debug|Job not done. Waiting 1 second.
22-12-7 11:45:26.3|[522]Debug|Checking job 1881396 completion, try #5. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:26.5|[522]Debug|Job not done. Waiting 1 second.
22-12-7 11:45:27.5|[522]Debug|Checking job 1881396 completion, try #6. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881396'
22-12-7 11:45:27.6|[522]Info|Completed in 0m 56s

And here's a 2.1 log:

22-12-7 11:14:30.3|[1004]Info|Lidarr event: AlbumDownload, Artist: The Chats (758), Album: Get F__ked (19369), Advanced options: '-vn -c:a libopus -b:a 128k', File extension: .opus, Matching regex: '\.(flac|wav)$', Track(s): /music/The Chats/Get F__ked/01-01 6L GTR.flac|/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac|/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac|/music/The Chats/Get F__ked/01-04 Southport Superman.flac|/music/The Chats/Get F__ked/01-05 Panic Attack.flac|/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac|/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac|/music/The Chats/Get F__ked/01-08 Dead On Site.flac|/music/The Chats/Get F__ked/01-09 Paid Late.flac|/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac|/music/The Chats/Get F__ked/01-11 Out On The Street.flac|/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac|/music/The Chats/Get F__ked/01-13 Getting Better.flac
22-12-7 11:14:30.3|[1004]Debug|Using advanced ffmpeg options "-vn -c:a libopus -b:a 128k"
22-12-7 11:14:30.3|[1004]Debug|Exporting with file extension ".opus"
22-12-7 11:14:30.3|[1004]Debug|Matching tracks against regex ".(flac|wav)$"
22-12-7 11:14:30.3|[1004]Info|Writing: /music/The Chats/Get F__ked/01-01 6L GTR.opus
22-12-7 11:14:30.3|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-01 6L GTR.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-01 6L GTR.opus"
22-12-7 11:14:37.5|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-01 6L GTR.flac" and setting permissions on "/music/The Chats/Get F__ked/01-01 6L GTR.opus"
22-12-7 11:14:37.5|[1004]Info|Writing: /music/The Chats/Get F__ked/01-02 Struck By Lightning.opus
22-12-7 11:14:37.5|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-02 Struck By Lightning.opus"
22-12-7 11:14:40.7|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-02 Struck By Lightning.flac" and setting permissions on "/music/The Chats/Get F__ked/01-02 Struck By Lightning.opus"
22-12-7 11:14:40.7|[1004]Info|Writing: /music/The Chats/Get F__ked/01-03 Boggo Breakout.opus
22-12-7 11:14:40.7|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-03 Boggo Breakout.opus"
22-12-7 11:14:43.2|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-03 Boggo Breakout.flac" and setting permissions on "/music/The Chats/Get F__ked/01-03 Boggo Breakout.opus"
22-12-7 11:14:43.2|[1004]Info|Writing: /music/The Chats/Get F__ked/01-04 Southport Superman.opus
22-12-7 11:14:43.2|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-04 Southport Superman.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-04 Southport Superman.opus"
22-12-7 11:14:44.2|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-04 Southport Superman.flac" and setting permissions on "/music/The Chats/Get F__ked/01-04 Southport Superman.opus"
22-12-7 11:14:44.3|[1004]Info|Writing: /music/The Chats/Get F__ked/01-05 Panic Attack.opus
22-12-7 11:14:44.3|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-05 Panic Attack.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-05 Panic Attack.opus"
22-12-7 11:14:47.7|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-05 Panic Attack.flac" and setting permissions on "/music/The Chats/Get F__ked/01-05 Panic Attack.opus"
22-12-7 11:14:47.8|[1004]Info|Writing: /music/The Chats/Get F__ked/01-06 Ticket Inspector.opus
22-12-7 11:14:47.8|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-06 Ticket Inspector.opus"
22-12-7 11:14:51.5|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-06 Ticket Inspector.flac" and setting permissions on "/music/The Chats/Get F__ked/01-06 Ticket Inspector.opus"
22-12-7 11:14:51.5|[1004]Info|Writing: /music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus
22-12-7 11:14:51.6|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus"
22-12-7 11:14:57.4|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.flac" and setting permissions on "/music/The Chats/Get F__ked/01-07 The Price Of Smokes.opus"
22-12-7 11:14:57.4|[1004]Info|Writing: /music/The Chats/Get F__ked/01-08 Dead On Site.opus
22-12-7 11:14:57.4|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-08 Dead On Site.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-08 Dead On Site.opus"
22-12-7 11:15:00.3|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-08 Dead On Site.flac" and setting permissions on "/music/The Chats/Get F__ked/01-08 Dead On Site.opus"
22-12-7 11:15:00.3|[1004]Info|Writing: /music/The Chats/Get F__ked/01-09 Paid Late.opus
22-12-7 11:15:00.3|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-09 Paid Late.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-09 Paid Late.opus"
22-12-7 11:15:03.5|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-09 Paid Late.flac" and setting permissions on "/music/The Chats/Get F__ked/01-09 Paid Late.opus"
22-12-7 11:15:03.5|[1004]Info|Writing: /music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus
22-12-7 11:15:03.5|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus"
22-12-7 11:15:05.8|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.flac" and setting permissions on "/music/The Chats/Get F__ked/01-10 I’ve Been Drunk In Every Pub In Brisbane.opus"
22-12-7 11:15:05.8|[1004]Info|Writing: /music/The Chats/Get F__ked/01-11 Out On The Street.opus
22-12-7 11:15:05.8|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-11 Out On The Street.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-11 Out On The Street.opus"
22-12-7 11:15:08.9|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-11 Out On The Street.flac" and setting permissions on "/music/The Chats/Get F__ked/01-11 Out On The Street.opus"
22-12-7 11:15:08.9|[1004]Info|Writing: /music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus
22-12-7 11:15:08.9|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus"
22-12-7 11:15:13.5|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.flac" and setting permissions on "/music/The Chats/Get F__ked/01-12 Emperor Of The Beach.opus"
22-12-7 11:15:13.5|[1004]Info|Writing: /music/The Chats/Get F__ked/01-13 Getting Better.opus
22-12-7 11:15:13.5|[1004]Debug|Executing: nice /usr/bin/ffmpeg -loglevel warning -nostdin -i "/music/The Chats/Get F__ked/01-13 Getting Better.flac" -vn -c:a libopus -b:a 128k "/music/The Chats/Get F__ked/01-13 Getting Better.opus"
22-12-7 11:15:18.9|[1004]Debug|Deleting: "/music/The Chats/Get F__ked/01-13 Getting Better.flac" and setting permissions on "/music/The Chats/Get F__ked/01-13 Getting Better.opus"
22-12-7 11:15:18.9|[1004]Info|Calling Lidarr API to rescan artist
22-12-7 11:15:18.9|[1004]Debug|Forcing rescan of artist '758'. Calling Lidarr API 'RefreshArtist' using POST and URL 'http://localhost:8686/api/v1/command'
22-12-7 11:15:19.3|[1004]Debug|Checking job 1881334 completion, try #1. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881334'
22-12-7 11:15:19.4|[1004]Debug|Job not done. Waiting 1 second.
22-12-7 11:15:20.4|[1004]Debug|Checking job 1881334 completion, try #2. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881334'
22-12-7 11:15:20.6|[1004]Debug|Job not done. Waiting 1 second.
22-12-7 11:15:21.6|[1004]Debug|Checking job 1881334 completion, try #3. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881334'
22-12-7 11:15:21.8|[1004]Debug|Job not done. Waiting 1 second.
22-12-7 11:15:22.8|[1004]Debug|Checking job 1881334 completion, try #4. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/command/1881334'
22-12-7 11:15:22.9|[1004]Info|Completed in 0m 54s

@TheCaptain989
Copy link
Owner

TheCaptain989 commented Dec 8, 2022

It looks like it's trying to recycle the FLAC under 2.2 and failing, but was just deleting it under 2.1. Also, the Recycle Bin path appears to be blank because the path it's trying to move to is '/The Chats/Get F__ked/' and I would expect something like '/music/#recycle/The Chats/Get F__ked/'. Interesting.

Do you actually have the Recycle Bin configured in Lidarr? Also, was there another log entry above the lines you posted that begins with: Debug|Detected Lidarr RecycleBin ?

@StormPooper
Copy link
Author

My Recycle Bin is disabled (I believe these are the defaults):
Recycle Bin settings in Lidarr

And here's the part of the log I'd missed:

22-12-7 11:14:29.5|[1004]Debug|Enabling debug logging level 1. Starting AlbumDownload run.
22-12-7 11:14:29.5|[1004]Debug|Reading from Lidarr config file '/config/config.xml'
22-12-7 11:14:29.5|[1004]Debug|Getting Lidarr version. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/system/status'
22-12-7 11:14:30.2|[1004]Debug|Detected Lidarr version 1.0.2.2592
22-12-7 11:14:30.2|[1004]Debug|Getting Lidarr RecycleBin. Calling Lidarr API using GET and URL 'http://localhost:8686/api/v1/config/mediamanagement'
22-12-7 11:14:30.3|[1004]Debug|Detected Lidarr RecycleBin ''

@TheCaptain989
Copy link
Owner

Thank you very much! I must have buggered up something, but this give me what I need to test with. Thanks!
I'll get back to you at my earliest convenience.

@StormPooper
Copy link
Author

No worries, thanks for looking into it. Let me know if you want me to check/test anything.

TheCaptain989 added a commit that referenced this issue Dec 8, 2022
@TheCaptain989
Copy link
Owner

I think I found the issue. Can you please deploy my dev release by changing the DOCKER_MODS variable as follows: DOCKER_MODS=thecaptain989/lidarr-flac2mp3:latest and let me know if this fixes it?

@StormPooper
Copy link
Author

Yep, that fixes it for me, nice one. Much appreciated.

TheCaptain989 added a commit to TheCaptain989/docker-mods that referenced this issue Dec 9, 2022
@TheCaptain989
Copy link
Owner

Yay! Thank you for reporting the problem and for working with me to resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants