playlist_transfer 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/playlist_transfer.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65dda72126d59ae2ea215a58b7fd0750301c39a6632b6926b340fa91168ea3f8
|
4
|
+
data.tar.gz: c36d183d71736ac502093cb7fdbede7e5d78ffcf10b7c1f275f0798bb8386751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 473cf7afa7ddf43258b8fc14086f8bab575293c2ed0eac42bedd97c34f0ddf68c5e70f146129179763450eccbd8dc117c9feae4dbe2d020d746fd81329e1c73a
|
7
|
+
data.tar.gz: 3c72f7a131039ca6a9a55c57e8a1c188f6a19801ef874b726b0c7d5ae2c61b01b3ca7e9525bafc4939484069dee74796abc36878901fe540e4dd3466422e529c
|
data/lib/playlist_transfer.rb
CHANGED
@@ -69,8 +69,8 @@ class MusicTrack
|
|
69
69
|
|
70
70
|
# If encoding process is interrupted (by pressinc Ctrl + C), remove probably incomplete file in destination.
|
71
71
|
rescue Interrupt
|
72
|
-
FileUtils.rm(
|
73
|
-
abort "Interrupted when encoding #{
|
72
|
+
FileUtils.rm(outputfile) if outputfile.file?
|
73
|
+
abort "Interrupted when encoding #{outputfile}. Incomplete file removed from destination."
|
74
74
|
end
|
75
75
|
|
76
76
|
# Returns true if track type is FLAC. Identified by file extension.
|