Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Itunesencode, Tagging & Itunes - Help! (Read 5614 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Itunesencode, Tagging & Itunes - Help!

I am trying to figure out how to properly use (to my taste) itunesencode when transcoding FLAC or APE to .m4a.

For those of you familiar with Itunes, when it encounters a file without tags, or tags it doesn't understand, it writes the converted songs to "Unknown Artist" & "Unknown Album" folders in your target directory.

If the tags are understood, it writes it to "Artist" and "Album Title". Make sense?

I can't seem to get the strings right in Itunedencode.exe to have Itunes read the tags and output to the unique directory of the artists and album title?

When transcoding several albums at a time, every song gets dumped into the same directory. It makes isolating and defining 100+ songs a bitch.

Any ideas? Is this possible or am I doing something wrong?

Itunesencode, Tagging & Itunes - Help!

Reply #1
At first I could not get this little gem to work based on my understanding of the included Readme.txt.  But now it works awesomely, -with tags, in iTunes 6.013 even! - Using both fb2k .83 OR .9 beta10.

Not sure if this is proper but it works very well for me now.

The detailed info which follows (under ENCODER SETTINGS below) is for version .83. 

For version .9 beta10 there are minor differences. There are less options to set (i.e. the output directory, which is temporary - for the wav files, is set via the playlist context menu under 'Convert'. This is specified either after you select 'Convert to...' or by selecting 'Convert to same directory'). 

Also different in .9 beta10, on the main page of the 'Converter' preferences (named 'Diskwriter' in version 0.83) is the 'Output file names' section which is probably irrelevant if the source files are tagged. (For me the resulting filenames were based on the tags of my flac and ogg sources, so I left this section at the default settings).  Generally, I tried to mirror the .83 options for .9 and ignored (or kept the "defaults" on) any other options offered in .9 that weren't in .83.

(Please pardon the lack of screenshots.)


ENCODER SETTINGS:  (note the quote marks)

Encoder:     Point to iTunesEncode.exe, which I have in fb2k program folder.
Extension:   wav
Parameters:    -e "AAC Encoder" -a "%artist%" -l "%album%" -t "%title%"
                          -g "%genre%" -y %date% -n %tracknumber% -i %s -o %d

   Format:      Lossy
   Highest BPS:  16   
   Tag:        None

Leave next two boxes UNchecked:
('Pass floating point..', and
'encoder requires accurate length')

Display name:   
iTunes encoder

Generic settings:
Check Only 'Hide console window'


THEN ON MAIN PAGE OF DISKWRITER SETTINGS:

Output directory:  UNcheck both 'Always ask before writing' AND  'Same as source file directory'.
-Specify path for a Temp directory i.e. F:\Temp

Output filename formatting:  Leave default (i.e. $num(%_diskwriter_index%,3)bla bla ...)

Output presets:  Select 'Commandline Encoder: iTunes encoder'

Check 'Ask before writing'

Output bit depth:  16   
Dither: Never

Check 'Keep lossless sources at original bitdepth'

Processing:  Nothing checked in this section

Check 'Don't expand loops'

Thread priority:  Optional (I left at default and it worked well)

**iTunes program must be running.
***Set iTunes import options correctly.  Also I have Keep Music folder organized and 
copy files to iTunes Music folder when adding to Library  both checked in Advanced iTunes settings in iTunes 6.013

Let me know if u need the screenshots - I have them. 
hal2000 a + warpm a i l d o+ ne t.

Itunesencode, Tagging & Itunes - Help!

Reply #2
hello - i have things setup as stated above, using foobar2000 v.83 and itunes v6.013, and am getting all of the final files in my itunes directory in a folder structure of unknown artist -> unkown album.

here is the string i am using in foobar2000:

-e "Lossless Encoder" -a "%artist%" -l "%album%" -t "%title%" -g "%genre%" -c "%comment%" -y %date% -n %tracknumber% -i %s -o %d

am i doing something wrong?

brett

Itunesencode, Tagging & Itunes - Help!

Reply #3
Quote
hello - i have things setup as stated above, using foobar2000 v.83 and itunes v6.013, and am getting all of the final files in my itunes directory in a folder structure of unknown artist -> unkown album.[a href="index.php?act=findpost&pid=339407"][{POST_SNAPBACK}][/a]

Turn on "Keep my iTunes library organized".

When the song is first encoded in iTunes, it doesn't have any tags. So iTunes sticks it in those Unknown folders. After tagging, iTunes will move it if you have iTunes set to do so.

Itunesencode, Tagging & Itunes - Help!

Reply #4
can you tell me what the %s and %d at the end of the string mean?

-i %s -o %d

thanks,

brett

Itunesencode, Tagging & Itunes - Help!

Reply #5
Quote
can you tell me what the %s and %d at the end of the string mean?

-i %s -o %d

thanks,

brett
[a href="index.php?act=findpost&pid=339440"][{POST_SNAPBACK}][/a]

Both of those are variables from Foobar's Diskwriter module.
%s = temporary input file
%d = output file name

I don't know if iTunesEncode supports pipes, but if it doesn't you need the "%s".  I'm using it with my config.

Itunesencode, Tagging & Itunes - Help!

Reply #6
i have turned on both "keep itunes music folder organized" and "copy files to itunes music folder when adding to library". 

but

i still get the files in a directory called unknown artist -> unknown album.

what am i doing wrong?

thanks again,

brett

Itunesencode, Tagging & Itunes - Help!

Reply #7
Quote
i have turned on both "keep itunes music folder organized" and "copy files to itunes music folder when adding to library". 

but

i still get the files in a directory called unknown artist -> unknown album.

what am i doing wrong?

thanks again,

brett
[a href="index.php?act=findpost&pid=339444"][{POST_SNAPBACK}][/a]


What exactly are you transcoding?
Like, what is the source filename and type (ie flac,ape,mp3,etc..), and what tags does it have?  But I suspect the file may be tag-less because I experienced a similar issue when I converted a classical music mp3 file which had no tags.

You can mail me a copy of the file to test, if you like.  See bottom of my earlier post.