itunesencode -r imagefile problem |
![]() ![]() |
itunesencode -r imagefile problem |
Nov 17 2005, 20:23
Post
#1
|
|
|
Group: Members Posts: 111 Joined: 6-March 04 From: Seattle Member No.: 12494 |
I am using 4.6 with itunes 6. The -r option doesn't seem to work. I've tried with jpg and bmp files, with fully qualified path and without.
All other tags work properly. And ideas? +Reardon |
|
|
|
Nov 17 2005, 22:09
Post
#2
|
|
![]() Group: Members Posts: 1075 Joined: 15-October 03 From: Memphis, TN Member No.: 9323 |
QUOTE (reardon @ Nov 17 2005, 02:23 PM) I am using 4.6 with itunes 6. The -r option doesn't seem to work. I've tried with jpg and bmp files, with fully qualified path and without. All other tags work properly. And ideas? +Reardon I think I've actually used that only once, when I first tested it. It worked then. You should give it the full path, and if that path contains spaces, you should enclose the whole path+filename in quotes. Like itunesencode -r "c:\full path\file.jpg". Also, it probably only likes JPG or PNG files, dunno about BMP's. And it may not work at all anymore. I'll try it when I get home. -------------------- http://ottodestruct.com
|
|
|
|
Nov 21 2005, 03:35
Post
#3
|
|
|
Group: Members Posts: 111 Joined: 6-March 04 From: Seattle Member No.: 12494 |
|
|
|
|
Nov 21 2005, 06:57
Post
#4
|
|
![]() Group: Members Posts: 1075 Joined: 15-October 03 From: Memphis, TN Member No.: 9323 |
I just tested it here. It worked perfectly. What's your exact command line?
I did something like this: iTunesEncode.exe -i temp.wav -o temp.m4a -e "AAC Encoder" -r "c:\temp.jpg" And the resulting file did indeed have the picture in it. -------------------- http://ottodestruct.com
|
|
|
|
Dec 3 2005, 02:14
Post
#5
|
|
|
Group: Members Posts: 111 Joined: 6-March 04 From: Seattle Member No.: 12494 |
|
|
|
|
Mar 30 2006, 13:10
Post
#6
|
|
|
Group: Members Posts: 4 Joined: 30-March 06 Member No.: 28996 |
I'm having the same issue using:
iTunes 6.0.4.2 iTunesEncode.exe dated 2/16/2005 12:18am FooBar v0.8.3 I've even tried moving the art file to a base directory and I still can't get it to showup in the encoded file. My Foobar encode command follows: -e "AAC Encoder" -r "d:\folder.jpg" -a "%artist%" -l "%album%" -t "%title%" -g "%genre%" -y %date% -n %tracknumber% -i %s -o %d -d Any suggestions are appreciated. |
|
|
|
Mar 30 2006, 20:40
Post
#7
|
|
|
Group: Developer Posts: 1289 Joined: 17-March 03 From: Calgary, AB Member No.: 5541 |
i know i just encountered a weirdness using the iTunes COM API... if a path contains a double-slash (\\) instead of a single slash anywhere, Windows has no problem with it, but iTunes will choke on it.
Don't know what else it has problems with... try putting the folder.jpg someplace else, and then try again? Is the file writeable? |
|
|
|
Mar 31 2006, 01:35
Post
#8
|
|
|
Group: Members Posts: 4 Joined: 30-March 06 Member No.: 28996 |
Jebus, thanks for the suggestions. I checked all of your suggestions.
I checked for \\ -- none I tried moving the file to another root folder -- still not the fix I made sure the file was writeable. I even tried a forward slash (/) in the directory. I can drag the file into the iTunes art window and it is then associated with that file. |
|
|
|
Mar 31 2006, 09:19
Post
#9
|
|
![]() Group: Members Posts: 1075 Joined: 15-October 03 From: Memphis, TN Member No.: 9323 |
I don't know what to tell you. I just tried my same test again, and it works perfectly. I'm using iTunes 6.0.4.2 and the last iTunesEncode from rarewares.org.
In other words, this CODE iTunesEncode.exe -i temp.wav -o temp.m4a -e "AAC Encoder" -r "c:\temp.jpg" ...works. I created the WAV file using Audacity, nothing particularly special about it. The temp.jpg was created using nothing more than paint to draw some crap and saving it as a jpg. The jpg dimensions was 300x300, which is what I usually use for most album art. My only suggestion is to examine your jpg file more closely. Perhaps iTunes cannot read the file or doesn't like it for some reason. Make sure that it is actually a JPG and not a misnamed GIF or some such thing. The PNG format should also be acceptable by iTunes. This post has been edited by Otto42: Mar 31 2006, 09:24 -------------------- http://ottodestruct.com
|
|
|
|
Mar 31 2006, 15:25
Post
#10
|
|
|
Group: Members Posts: 4 Joined: 30-March 06 Member No.: 28996 |
Otto, I'm converting from a FLAC file using FooBar 0.8.3 if that makes any difference.
The cover art is a pulled from Amazon.com, it states it is a JPG and Photoshop Elements and the Windows Picture Viewer agree. I've dragged this file into the "Art Panel" in iTunes and it will associate it with the file at that point. Any other suggestions? Otto, I've used iTunesEncode a lot to convert my FLAC files to AAC. It works really well, I was trying to start adding cover art to files. Thanks for all your work Otto, too bad you lost the source. |
|
|
|
Apr 1 2006, 17:10
Post
#11
|
|
|
Group: Members Posts: 4 Joined: 30-March 06 Member No.: 28996 |
Otto & Jebus I figured it out, thanks for your help you pushed me in the right direction! And GREAT tool Otto!!!
I had to modify my foobar setup based on this thread: http://www.hydrogenaudio.org/forums/index....topic=37920&hl= The big change was on the foobar "Commandline Encoder Settings" options page. I had "tag" set to "default" I changed it to "none" and it WORKS! Thanks again! |
|
|
|
Jun 3 2006, 18:58
Post
#12
|
|
|
Group: Members Posts: 111 Joined: 6-March 04 From: Seattle Member No.: 12494 |
I don't know what to tell you. I just tried my same test again, and it works perfectly. I'm using iTunes 6.0.4.2 and the last iTunesEncode from rarewares.org. In other words, this CODE iTunesEncode.exe -i temp.wav -o temp.m4a -e "AAC Encoder" -r "c:\temp.jpg" ...works. I created the WAV file using Audacity, nothing particularly special about it. The temp.jpg was created using nothing more than paint to draw some crap and saving it as a jpg. The jpg dimensions was 300x300, which is what I usually use for most album art. My only suggestion is to examine your jpg file more closely. Perhaps iTunes cannot read the file or doesn't like it for some reason. Make sure that it is actually a JPG and not a misnamed GIF or some such thing. The PNG format should also be acceptable by iTunes. I finally figured out the problem. For some reason the -r option requires a fully-qualified path. Could you update so that relative paths work? +Reardon |
|
|
|
Jun 4 2006, 04:04
Post
#13
|
|
![]() Group: Members Posts: 1075 Joined: 15-October 03 From: Memphis, TN Member No.: 9323 |
Nope. The source code was lost, and so there will be no further updates to iTunesEncode.
-------------------- http://ottodestruct.com
|
|
|
|
Jun 6 2006, 20:53
Post
#14
|
|
|
Group: Members Posts: 111 Joined: 6-March 04 From: Seattle Member No.: 12494 |
|
|
|
|
Jul 6 2012, 21:24
Post
#15
|
|
|
Group: Members Posts: 1 Joined: 6-July 12 Member No.: 101219 |
I know this is an old thread, but I was looking to do this and was able to accomplish it with itunesencode and EAC, taking advantage of the way I have EAC automatically organize my music at extraction time.
So I have a base folder I store all my music "c:\stuff\Music", then a folder for artist, then one for each album. I used the command line option below. The %soemthing% are variables that EAC provides. -r "c:\stuff\music\%artist%\%albumtitle%\folder.jpg" As long as the file called folder.jpg is in the file it is automatically added to the tag. Hope this helps everyone. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 13:45 |