INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Cannot paste cover art to certain files...  (Read 1974 times)

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Cannot paste cover art to certain files...
« on: January 27, 2009, 11:55:43 am »

Having a problem with build 112

I have some cover art in the clipboard that I want to paste to some files (Cover Art->Paste From Clipboard).  The paste works on one test album but will not work on the files that I actually wish to paste to.  I've been using the same process for as long as I can remember and this is the first time it has failed:

What information can I provide to diagnose this?

One file for which it doesn't work is:

Free Lossless Audio Codec (FLAC)
  44.1 kHz Sample Rate
  16 Bits Per Sample
  2 Channels

  Min Block Size = 4608
  Max Block Size = 4608
  Min Frame Size = 15
  Max Frame Size = 10415
  Padding Block = 2877 bytes

Vorbis Comment Block (1259 bytes):
  Vendor String = reference libFLAC 1.2.1 20070917
  AccurateRipResult = <Too Long To Display>
  AccurateRipDiscID = 024-0038b22d-03d5b899-530f9c18-1
  Genre = Pop
  DISCNUMBER = 1
  title = Here in My Heart
  releasecountry = GB
  label = Music Factory
  totaltracks = 24
  musicbrainz_albumartistid = 89ad4ac3-39f7-470e-963a-56509c546377
  date = 2006
  musicip_puid = 51faf3e9-020a-230a-677a-eb617a2444b2
  albumartistsort = Various Artists
  language = eng
  script = Latn
  format = CD
  musicbrainz_albumid = f520f3bb-fc76-456c-bb70-637e4cf9e92e
  releasestatus = official
  albumartist = Various Artists
  album = The No.1 DJ Collection: 50's, Volume 1
  musicbrainz_artistid = 8dd7d6f8-8ede-4ecd-84a6-e40dd235c075
  releasetype = compilation
  compilation = 1
  artist = Al Martino
  musicbrainz_trackid = db265521-8c06-47a7-98d0-38da4b1f9788
  artistsort = Martino, Al
  tracknumber = 1
  TOOL NAME = Media Center
  TOOL VERSION = 13.0.108
  INTENSITY = 4
  BPM = 84
  REPLAY GAIN = -12.0248299999999997
  JR_DATE = 38718
  PEAK LEVEL = 1
  CHART POSITION = 1
  NUMBER ONE SEQUENCE = 1
  CHART DATE = 19521114
  NUMBER ONE WEEKS = 9
  YEAR - SONG = 1952
  DURATION = 193
  NUMBER PLAYS = 1
  LAST PLAYED = 1232450170
  MY RATING = 1
  RATING = 1

Cheers,

Mark
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Cannot paste cover art to certain files...
« Reply #1 on: January 27, 2009, 12:06:47 pm »

What are your selected cover art options? Are you trying to embed the image in the file tags?

What actually happens when you try it? Nothing?

Are you sure that the data in the clipboard is in a compatible format? Did you try any other images with the same FLAC files?

EDIT

Can you change other tags? (your tag dump shows 13.0.108, not 13.0.112)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Cannot paste cover art to certain files...
« Reply #2 on: January 27, 2009, 04:42:39 pm »

Alex, thanks for the reply.  I'm not attempting anything I haven't been doing for the last couple of years or so - just for some reason it's not working with the files above.  Certainly other tag updates on those files are sticking.  My art options are folder.jpg in the file directory.  My workflow is to scan the artwork into Photoshop CS4, run an action macro to clean up, colour correct and shrink, then simply copy the image to the clipboard and Cover Art->Paste From Clipboard within MC.

Cheers,

Mark
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Cannot paste cover art to certain files...
« Reply #3 on: January 28, 2009, 03:12:36 am »

OK I think I see what's happening...

Here's the actual filepath:

Z:\My Music\UK Number 1s\1950s\The No.1 DJ Collection; 50's, Volume 1\

And here's where MC is writing the folder.jpg

Z:\My Music\UK Number 1s\1950s\The No.1 DJ Collection_ 50's, Volume 1\

The semi-colon has been changed to an underscore.

BUG!

Mark
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Cannot paste cover art to certain files...
« Reply #4 on: January 28, 2009, 07:30:24 am »

So it wasn't far away.

It's easy to use a workaround if you know what happened, but that isn't obvious. I too would consider the behavior as a bug.

As a test, I just changed the Filename (path) value of a few audio files to contain a semicolon. MC happily created the new path including the semicolon and moved the files. Obviously MC doesn't hesitate to use a semicolon in the Filename field. Semicolon is a valid character on a Windows OS, but I don't know if it can cause problems in certain circumstances (e.g. with Samba or some other server or device implementation).

Apparently the codes that replace illegal characters are not the same in all parts of MC. I think this part should always use the audio file's path instead of making its own decisions.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Cannot paste cover art to certain files...
« Reply #5 on: January 29, 2009, 11:14:46 am »

We only have one function that checks filenames.  It doesn't like semi-colon, and converts them to underscores.  So it wants to put the image next to the file, but goes "I can't -- use this filename instead".

I'm not sure why we're pitching semi-colon.  Do some file systems, network drives, or other devices dislike semi-colons?
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up