Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

'Bookmark' regular MP3s in iTunes for later listening Apps
I download lots of Podcasts, but sometimes I don't want to listen to a whole one; I want some music instead. This is fine if I have the Podcast in AAC format, but most of them are MP3. I know I could convert them, then make them bookmarkable, and then run them to the spot I was in, but that's not very Mac like, is it? My method is a bit of a hack, but it works, and makes sure I don't miss things.

Just pop up the info panel (Command-I) for the track you wish to 'pause,' and put the current track time as the start time. Remember to use a colon to seperate minutes and seconds, and a full stop for fractions of a second. When you return to this track later, it will start at the noted location. Now, this sounds like an ideal candidate for AppleScript, especially if a comment ("bookmarked"?) was added to make all your marked tracks easy to find. (I'm talking to you, Doug Adams!).
    •    
  • Currently 3.50 / 5
  You rated: 5 / 5 (4 votes cast)
 
[12,595 views]  

'Bookmark' regular MP3s in iTunes for later listening | 11 comments | Create New Account
Click here to return to the ''Bookmark' regular MP3s in iTunes for later listening' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
'Bookmark' regular MP3s in iTunes for later listening
Authored by: DougAdams on Apr 12, '05 11:03:39AM
tell application "iTunes"
	if player state is paused then
		set start of current track to (player position - 5)
	end if
end tell
And assign it a shortcut!

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

[ Reply to This | # ]

'Bookmark' regular MP3s in iTunes for later listening
Authored by: dogboy on Apr 12, '05 06:24:49PM

Thanks Doug!
I went over to your site after submitting this hint and found your "Player Position to Start or Stop" script and hacked it around a bit. I was quite pleased with myself and was going to post it here until I saw your post. My version is about 10 times longer (I guess I don't know what I'm doing).
BTW, your Podcast rocks :-)



[ Reply to This | # ]
Variations on a theme
Authored by: aal on Apr 12, '05 01:42:12PM
These seemed more convenient to me:

Pause and Set Start Time:

tell application "iTunes"
	pause
	set start of current track to (player position - 5)
end tell
Play and Reset Start Time:

tell application "iTunes"
	play selection
	set start of selection to 0
end tell


[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: noel_gomez on Apr 12, '05 02:50:16PM

How about an AppleScript that converts the selected MP3 to AAC and delets the MP3 so you can bookmark on an iPod?



[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: notverypc on Apr 12, '05 03:30:36PM
Here's the script I use. It converts to ACC with Bookmarkablity and deletes the orginal file: Needs to be saved as an Application and you use it as a droplet.

on run
	display dialog "To use this script, please drag files or folders onto its Finder icon."
end run

on open myFinderList
	repeat with myFinderItem in myFinderList
		my Process_Item(myFinderItem as item)
	end repeat
	display dialog "All Done!!" buttons {"OK"} default button 1 with icon stop giving up after 10
end open

on Process_Item(ThisItem)
	if folder of (info for ThisItem) then
		my Process_Folder(ThisItem)
	else
		my Process_File(ThisItem)
	end if
end Process_Item

on Process_Folder(thisFolder)
	tell application "Finder" to set FolderContents to every item of thisFolder
	repeat with ThisItem in FolderContents
		my Process_Item(ThisItem as alias)
	end repeat
end Process_Folder

on Process_File(thisFile)
	
	set target_playlist to "Radio Shows"
	set deleteOriginals to true
	set makeBookmarkable to true
	set encoderName to "AAC Encoder"
	
	if class of thisFile is not list then
		set thisFile to {thisFile}
	end if
	
	set newFileList to {}
	
	with timeout of 864000 seconds
		tell application "iTunes"
			set lastEncoder to current encoder --Preserve the users last setting
			set current encoder to encoder named encoderName
			
			copy (convert thisFile) to trackList
			if class of trackList is not list then
				set trackList to {trackList}
			end if
			
			repeat with newTrack in trackList
				
				--set name of newTrack to ""
				--set artist of newTrack to ""
				--set album of newTrack  to ""
				set genre of newTrack to "Podcast"
				set the volume adjustment of the newTrack to 100
				--set year of newTrack to ""
				--set comment of newTrack to ""
				
				set newFileList to newFileList & (location of newTrack as alias)
			end repeat
			
			set current encoder to lastEncoder --Restory the users last setting
			
		end tell
	end timeout
	
	if makeBookmarkable is true then
		tell application "Finder"
			repeat with aFile in newFileList
				update aFile
				set file type of aFile to "M4B "
			end repeat
		end tell
	end if
	
	if deleteOriginals is true then
		do shell script ("rm " & (quoted form of POSIX path of thisFile)) -- Deletes Original File
	end if
	
	
end Process_File
NOTE: I have

[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: bakalite on Apr 12, '05 04:35:59PM

Won't this degrade the quality by re-encoding the file?



[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: DougAdams on Apr 13, '05 06:41:11AM

Yes.

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/



[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: avi4now on Apr 12, '05 04:31:59PM

Here's my attempt: Set or Clear Bookmark

  • If your position in a song is > 0:00, it will set the bookmark at that point.
  • If your position in a song is 0:00 it will clear the bookmark.
  • It's Growl-enabled
  • It will mark the song with a tag when you set the bookmark, and clear it when you remove it.

Let me know what y'all think! I sent this over to Doug Adams too.

---
Avi Flax
Student in Jerusalem
PowerBook G4 15" 1.25GHz 10.3.5

[ Reply to This | # ]

'Bookmark' regular MP3s in iTunes for later listening
Authored by: VinMan on Apr 12, '05 07:27:31PM

I wanted bookmarking for any file in my iTunes library as well, so as an AppleScript Studio exercise I put together an app I call SnapTrack.

http://scriptbuilders.net/category.php?id=2113

It's free, so use as you wish. Check out the Help menu for details on what it does.

Bookmarks are stored in ~/Library/Application Support/SnapTrack.



[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening
Authored by: dogboy on Apr 13, '05 04:35:03AM

Nice. I love the Growl support.



[ Reply to This | # ]
'Bookmark' regular MP3s in iTunes for later listening (updated link)
Authored by: Anonymous on Jan 23, '06 03:46:33PM
Dead link. Here's the new for SnapTrack: http://scriptbuilders.net/files/snaptrack0.1.html

[ Reply to This | # ]