Mailing ListMailing List   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

1. Generating playlists (heaton5@cox.net)

 
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Mon Oct 31, 2011 10:21 pm    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

I was interested in seeing the previous exchanges on this subject, so
I went to http://www.hairersoft.com/forum/ .

That particular subject does not appear on the Discussion page. Has
the thread been removed?

Thank yew,
Wayne Durham
Blacksburg, Virginia
_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Tue Nov 01, 2011 9:05 am    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

Quote:
That particular subject does not appear on the Discussion page. Has the thread been removed?

Strange. There were a couple of spam posts that I deleted, maybe I made a mistake and also deleted a legitimate post…

Anyway, my recommendation was to use TextWrangler to process the text file created by the "Export markers" function. Regards,

Martin

--
HairerSoft
http://www.hairersoft.com/




_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Tue Nov 01, 2011 12:56 pm    Post subject: Reply with quote

I saw your recommended solution, but do not know what the problem was that you fixed.
Back to top
View user's profile Send private message Send e-mail
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Tue Nov 01, 2011 3:39 pm    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

This was the OP's post:

Quote:
I generate playlists for pasting onto paper CD envelopes in one of two ways.
I take a screen shot of the Markers window, trim it, copy and paste into a Word document, then print, trim, and paste to the envelope.
Or if I have split according to markers and have then put the files into Toast, I copy the song list and paste it into Word, then print, trim, and paste to the envelope.
I tried Export Markers but got too much information.
Is there a more efficient way of generating playlists for my purpose? Thanks.

Regards,

Martin

--
HairerSoft
http://www.hairersoft.com/




_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Tue Nov 01, 2011 4:21 pm    Post subject: Reply with quote

I agree with Martin that you should be able to work with the "Export markers" file. I use AppleScript + BBEdit rather than TextWrangler. It allows me to break up long, continuous audiobooks into hundreds of short files of short duration separated at periods of silence in the original. If you could specify what you mean by "too much information" I'd be happy to take a stab at it. Afraid you'd need BBEdit, though.

Wayne Durham
Blacksburg, Virginia
Back to top
View user's profile Send private message Send e-mail
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Tue Nov 01, 2011 5:10 pm    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

1. Open the file in TextWrangler (free download), select "Search -> Find" and check the "Grep" checkbox.

2. Enter

.*(TRACK|INDEX|REM).*

in the "Find" field (just copy/paste from the above line), leave the "Replace" field blank, and hit "Replace All".

3. Enter

.*\"(.*).\"

in the "Find" field, enter

\1

in the "Replace" field and hit "Replace All".

4. Enter

\r\r

in the "Find" field, enter

\r

in the "Replace" field and hit "Replace All".

5. Repeat step 4 until you don't have any empty lines left.

Regards,

Martin

--
HairerSoft
http://www.hairersoft.com/




_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gerard Bik



Joined: 10 Nov 2006
Posts: 353

PostPosted: Tue Nov 01, 2011 6:42 pm    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

When Martin's clever super recipe scares you, here is an alternative.

Split the songs according to markers and import them into iTunes.
iTunes has an option to print playlists in different templates. And burns cd's.
Before Amadeus could burn, I made several cd's this way.

Gerard

--
To be without some of the things you want is an indispensable part of
happiness.
Bertand Russel
_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Tue Nov 01, 2011 7:14 pm    Post subject: Reply with quote

Here is an automated version of Martin's suggestion. If you have TextWrangler, in the menu bar you should see a scroll icon in the menu bar two to the left of the Help menu. Click on that and select "Open Script Editor". In the new window, type or paste these lines (between the two --- lines):

---

on open these_items
tell application "TextWrangler"
activate
repeat with i from 1 to the count of these_items
set this_item to item i of these_items
open this_item
replace ".*(TRACK|INDEX|REM).*\\r" using "" searching in text 1 of front text document options {search mode:grep, starting at top:true, wrap around:false, backwards:false, case sensitive:false, match words:false, extend selection:false}
replace ".*\"(.+)\".*" using "\\1" searching in text 1 of front text document options {search mode:grep, starting at top:true, wrap around:false, backwards:false, case sensitive:false, match words:false, extend selection:false}
save front text document
close front text document
end repeat
end tell
end open

---

Save this file as an application. Then all you have to do is drag and drop the cue sheets (you can drop one or several at a time) from AP's "Export markers" onto the application icon and the playlist will be generated.

If you drop something other than a text document formatted as a cue sheet from AP, the application will probably get angry with you.

Notes: This is a little different from what Martin posted. I think he had a typo in his, plus I did not put \ before the " in the search field. I don't think that's necessary. And I removed the carriage returns at the same time as removing the TRACK INDEX and REM lines.
Back to top
View user's profile Send private message Send e-mail
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Tue Nov 01, 2011 7:45 pm    Post subject: Reply with quote

PS After you have modified the Cue sheets to be just a list of the tracks, you can number the tracks. Open the modified file in TextWrangler, Text Menu "Add/Remove Line Numbers" and, as our cousins in England say, Bob's your uncle. You can also add this step to the AppleScript application and Bob will be your brother, or something.
Back to top
View user's profile Send private message Send e-mail
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Tue Nov 01, 2011 8:39 pm    Post subject: 1. Generating playlists (heaton5@cox.net) Reply with quote

You are right, in step 3, it should have been

.*\"(.*)\"

(My original version would delete the last character in each song title…)
You are also right about using " instead of \", I was just playing safe Wink
Regards,

Martin

--
HairerSoft
http://www.hairersoft.com/




_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bull



Joined: 08 Jun 2010
Posts: 39
Location: Blacksburg, Virginia

PostPosted: Tue Nov 01, 2011 11:47 pm    Post subject: Reply with quote

Actually, \" was needed in the AppleScript, just not in TextWrangler. Better safe, as you say.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group