mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 22:57:01 +01:00
Diagnostic improvements for Windows
This commit is contained in:
parent
e287cd6fc1
commit
d55d3c7283
1 changed files with 6 additions and 6 deletions
|
|
@ -1546,7 +1546,7 @@ def _cover_to_thumb(self, path, metadata, db_added, lb_added, format):
|
|||
attempts -= 1
|
||||
time.sleep(delay)
|
||||
if self.verbose:
|
||||
# logger().warning(" iTunes automation interface reported an error"
|
||||
# logger().info(" iTunes automation interface reported an error"
|
||||
# " adding artwork to '%s' in the iTunes Library" % metadata.title)
|
||||
logger().info(" waiting %.1f seconds for artwork to become writable (attempt #%d)" %
|
||||
(delay, (10 - attempts)))
|
||||
|
|
@ -1580,7 +1580,7 @@ def _cover_to_thumb(self, path, metadata, db_added, lb_added, format):
|
|||
logger().info(" writing '%s' cover to iDevice" % metadata.title)
|
||||
except:
|
||||
if self.verbose:
|
||||
logger().warning(" iTunes automation interface reported an error"
|
||||
logger().info(" iTunes automation interface reported an error"
|
||||
" adding artwork to '%s' on the iDevice" % metadata.title)
|
||||
#import traceback
|
||||
#traceback.print_exc()
|
||||
|
|
@ -1603,7 +1603,7 @@ def _cover_to_thumb(self, path, metadata, db_added, lb_added, format):
|
|||
lb_added.AddArtworkFromFile(tc)
|
||||
except:
|
||||
if self.verbose:
|
||||
logger().warning(" iTunes automation interface reported an error"
|
||||
logger().info(" iTunes automation interface reported an error"
|
||||
" when adding artwork to '%s' in the iTunes Library" % metadata.title)
|
||||
pass
|
||||
|
||||
|
|
@ -3182,7 +3182,7 @@ def _update_iTunes_metadata(self, metadata, db_added, lb_added, this_book):
|
|||
db_added.AlbumRating = (metadata_x.rating * 10)
|
||||
except:
|
||||
if self.verbose:
|
||||
logger().warning(" iTunes automation interface reported an error"
|
||||
logger().info(" iTunes automation interface reported an error"
|
||||
" setting AlbumRating on iDevice")
|
||||
|
||||
# Set Genre from first alpha tag, overwrite with series if available
|
||||
|
|
@ -3207,13 +3207,13 @@ def _update_iTunes_metadata(self, metadata, db_added, lb_added, this_book):
|
|||
lb_added.TrackNumber = metadata_x.series_index
|
||||
except:
|
||||
if self.verbose:
|
||||
logger().warning(" iTunes automation interface reported an error"
|
||||
logger().info(" iTunes automation interface reported an error"
|
||||
" setting TrackNumber in iTunes")
|
||||
try:
|
||||
lb_added.EpisodeNumber = metadata_x.series_index
|
||||
except:
|
||||
if self.verbose:
|
||||
logger().warning(" iTunes automation interface reported an error"
|
||||
logger().info(" iTunes automation interface reported an error"
|
||||
" setting EpisodeNumber in iTunes")
|
||||
|
||||
# If no plugboard transform applied to tags, change the Genre/Category to Series
|
||||
|
|
|
|||
Loading…
Reference in a new issue