Create a Playlist from external folder with tracks already existing in iTunes

I was just wondering if its possible to create a playlist from an external folder (on my desktop) with tracks that already exist in iTunes.
I basically have a folder on my desktop that i use with Serato, i was wondering if it'd be possible to sort a playlist in iTunes with the tracklist from the folder? I already have all the tracks on iTunes so i don't want to add them onto iTunes again just to put them into a playlist as i'd have to sort through all the duplicates to delete the non playlisted tracks (theres around 1500 so it wouldn't be a quick task).
Would be much appreciated if anybody can help!

Hi,
I have an AppleScript that does this.
This script need Spotlight metadata, all files in the folder that you use with Serato should be indexed.
Works well if the tags (name and artist) are defined
In this script :
it will display a dialog to select your folder
iTunes search track from the library playlist according to (artist, album and title in the Spotlight metadata of each file).
If iTunes found a track, iTunes will add this track to the new playlist.
The script takes 35 seconds for 1000 files on an old machine (PowerMac G5 2 X 1.8 GHz) .
This should take less than 100 seconds for 3500 files on the new machine
Here is the script :
-- this script need Spotlight metadata, files in the folder should be indexed
set folderPath to (choose folder with prompt "Select the  folder that you use with Serato")
set f to quoted form of POSIX path of folderPath
my makePlaylist(do shell script "/usr/bin/find " & f & " -type f \\! -name '.*' -print0 | /usr/bin/xargs -0 /usr/bin/mdls -name kMDItemTitle -name kMDItemAlbum -name kMDItemAuthors | /usr/bin/sed 'H;$!d;x;s/\\n[^k]//g'")
on makePlaylist(t)
      script o
            property L : paragraphs of t
      end script
      set tc to (count o's L)
      tell application "iTunes"
            set newPlaylist to make new playlist with properties {name:"Serato"}
            set masterLibr to (get first playlist whose special kind is Music)
      end tell
      repeat with i from 2 to tc by 3
            set {tAlbum, tArtist, tTitle} to my getvalue(items i thru (i + 2) of o's L)
            tell application "iTunes" to try
                  set t to (get first track of masterLibr whose name is tTitle and artist is tArtist and album is tAlbum)
                  duplicate t to newPlaylist -- add founded track from the library playlist to the  new playlist
            end try
      end repeat
end makePlaylist
on getvalue(tList)
      set oTID to text item delimiters
      set text item delimiters to "\""
      set {alb, aut, title} to {"", "", ""}
      try
            repeat with i in tList -- if line does not contains a double quote then the tag is  empty -->  = (null)
                  if i starts with "kMDItemAlbum" then
                        tell i to if it contains "\"" then set alb to text item 2
                  else if i starts with "kMDItemAuthors" then
                        set text item delimiters to "(   "
                        -- if artist contains one word, it doesn't contains double quote
                        tell i to if it does not contain "(null)" then
                              if last text item starts with "\"" then
                                    set aut to text 2 thru -2 of (last text item)
                              else
                                    set aut to (last text item)
                              end if
                        end if
                        set text item delimiters to "\""
                  else --kMDItemTitle
                        tell i to if it contains "\"" then set title to text item 2
                  end if
            end repeat
      end try
      set text item delimiters to oTID
      return {alb, aut, title}
end getvalue

Similar Messages

  • Can't create a playlist from selection of one track

    Hi there
    Since iTunes 8 I find I cant select one track and go to 'File' and 'New Playlist from Selection'. The option is grayed out. I have a lecture/sermon tracks that I want to burn to audio cds, hence often only one fits to a CD.
    The obvious work around is to choose two tracks and then delete one - or do I even need a workaround? Am I missing the obvious?
    Mark

    I can't do it without your workaround.
    The only other option I see is to make a new blank playlist, name it, and drag your track into the new playlist.

  • Is there a way (or free tool/plug-in) to create a playlist from a folder?

    Thanks for reading.
    I waste a lot of time creating playlists for mp3s that are already in separate folders, sorted the way I want them to appear in the playlist.
    Is it possible to simply drag or otherwise move folders to iTunes (latest version) and have them appear as playlists? When moving audio lessons to the iPod it is very time consuming.

    +Why do you have 300 playlists?+
    Because I have audio lessons, sets of mp3s that belong together (one playlist each).
    +There's no need for playlists for each album or artist.+
    +You can already select individual albums or artists.+
    Not music, doesn't apply here.
    +Just drag the folder to the word Playlist. iTunes will create a new playlist with the folder name and add the contents of that folder to this new playlist.+
    +No need to make a playlist first.+
    That's true, though I still need the script. Because if I drag more than one folder at a time (otherwise too time consuming) they will all be dropped into one playlist, with the name of the first folder.
    No problem though, the srcipts work great.

  • Hello, are there many others having problems with creating Genius Playlists from their iPhone 5's

    Hello People,
    are there many others experiencing problems creating Genius Playlists from their iPhone 5's???
    I have a 64GB Black iPhone 5 and a 32GB White iPhone 5, I have recently performed a fresh install (wiped phone memory and installed Apps individually again) yet even after this and no less then several calls to Apple I am still unable to create a genius playlist on either phone. The message I receive after hitting the Genius "star" is "The operation couldn't be completed. Operation timed out" Operation timed out."
    I have tried this also on 3G and receive the same message........

    Lawrence Finch
    ShadowDancer1000 wrote:
    I wish Apple would have provided more detail on how it worked. I wouldn't have posted this if I new that SMS & Mac Calling had nothing to do with Bluetooth pairing.
    You mean like this? Get help using Continuity with iOS 8 and OS X Yosemite
    Please note how Apple articulates this though.
    Check your settings
    Check the following settings on your iPhone, iPad, or iPod touch:
    Go to Settings > Wi-Fi and turn on Wi-Fi if necessary.
    Make sure your iOS devices are connected to the same Wi-Fi network by going to Settings > Wi-Fi and comparing the name of the network each is on.
    Go to Settings > Bluetooth and turn on Bluetooth if necessary.
    Go to Settings > General > Handoff & Suggested Apps and make sure Handoff is on.
    Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
    Sometimes things have to be explained in more detail for the general consumer who has been conditioned for decades to think about wireless  cellphone audio / light data to [anything other device else] connectivity in a certain fashion. That is to say Bluetooth dependent ...
    For the non-technical person, which overwhelmingly many Apple users are, they would see that bulleted point and think if Bluetooth is not paired and active, then they would not received the full scope of their Continuity features.
    It would have been better for the copywriter who wrote this to (*) footnote this entry and explain that while Bluetooth recognition may be necessary between Yosemite and iPhone, SMS Push to iMessage and Mac Calling does not require an actively paired connection as these functions are dependent on iCloud and both devices being registered on the same WiFi network.
    Thank you to all who helped me get my mind around and figure this out.
    It has also opened my eyes to how iCloud has become a critical link in Apple's overall walled garden  and business strategy.

  • Is it possible to create a playlist and share it with another itunes user?

    Is it possible to create a playlist and share it with another itunes user?

    try this out
    Select distinct   
    v_R_System.Netbios_Name0 AS [Computer Name],  
    v_GS_COMPUTER_SYSTEM.UserName0 AS [User Name]
     from v_R_System
    left join v_GS_COMPUTER_SYSTEM on (v_GS_COMPUTER_SYSTEM.ResourceID = v_R_System.ResourceID) 
    inner join v_fullcollectionmembership as b on (b.ResourceID = v_R_System.ResourceID) 
    left join v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP ON v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP.ResourceID = v_R_System.ResourceID
            inner join v_GS_SYSTEM e on e.resourceid = b.resourceid
     Where
    b.CollectionID = @collectionid
    Blog: http://theinfraguys.com
    Follow me at Facebook
    The Infra Guys Facebook Page
    Please remember to click Mark as Answer on the answer if it helps you in anyway

  • Creating Target Group from External File

    Hello Experts
    We need to create target group from external file. (That is to say we will have let's say txt file containing BP that belongs to specific target group and we need to assign these BPs to to specific target group in SAP CRM)
    I have searched for it on sdn and found something benefical. I have found BAPI_TARGETGROUP_CREATE, I have checked it but I don't understand how should we use it becuase as far as we understand it just creates target group, we cannot see anything related with Business Partner. How can we relate BPs with the target group we create by this BAPI.
    What should we do, is anyone have previous experience about it? or is there a way to do it without using BAPI.
    thanks it advance
    M.
    Edited by: Mehmet Ergul on Jan 22, 2009 11:19 AM

    Hi,
    You can do this from within the standard Web UI. It's straight out of the box.
    Create a profile set and in there create a target group in the target group assignment block just by entering the description of the target group. Then enter edit mode of this target group and click the button "Import Members". Remeber to mark "Change selected target group" unless you want to create a new target group.
    /Anders

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

  • How do I create a "playlist" from my list of videos?

    I have quite a number of saved videos but it appears I can only play them one at a time.  Is there a way I can create a playlist like I can with songs?  ie. pick one video, and then add more to the list so I can play back several videos in a row without having to go back and load each one separately.  HELP PLEASE!

    In addition to the DVD burner you'll also need software that is capable of authoring DVDs.
    I'm not a Windows person, but I believe Vista comes with an app called Windows DVD Maker.
    You might have more success finding people knowledable with it use at Microsofts support site.
    http://support.microsoft.com/ph/11732
    You cannot burn a DVD from iTunes.
    Matt

  • Create a playlist from a song/album

    Just curious if there is an easier, less backwards way to create a playlist in iOS 6 on the iPhone 5 rather than going to the playlist tab, clicking new playlist, typing in the name, and then adding tracks?
    Seems rather lame if that is the only way. You should have the option to start a song or album and choose "Create Playlist from Song/Album" and then have it auto-name the playlist based on the title. Am I missing an obvious step or option here?
    Sometimes these steps are buried and hard to find.
    Thanks,
    Toby

    Well that is very disappointing. Apple should take their cue from Spotify. You can create a playlist from any album or song you are listening to and not have to add song by song to a list.
    Apple always seems to be one step behind the obvious choice. They lose me more and more each day.
    Step up guys!!!

  • Is there a way to create a playlist from the now playing screen on ios7?

    Is there a way to create a playlist from the now playing screen on ios7? I want to be able to hear a song in my collection and immediately add it to an existing playlist or create a new playlist.
    Thank you in advance

    Hi Cornellius,
    From the now playing screen there's a Create button at the bottom that allows you to create a
    Genius Playlist
    New Station form Artist
    New Station from Song
    IPhone Help, Browse and play
    http://help.apple.com/iphone/7/#/iph3cf21a82
    The Now Playing screen provides playback controls and shows you what’s playing.
    For information on Genius Playlists, see
    Archived - Genius for iPod and iPhone
    http://support.apple.com/kb/HT2978
    I don't see an option to add it to an existing playlist.
    Best Regards,
    Nubz

  • How to get the file name from downloads folder with the applescript??

    Hi All..
    I am downloading an application to downloads folder, I need to install the same application after downloading programatically.
    So how do I get the filename in runtime while downloading or after downloading from downloads folder with Applescript or Java?
    Also my download URL link doesnot contain full name of the download file.
    Pls suggest.

    Hi,
    The best method is to use curl.
    Other methods are not reliable, but can work, it depends on several factors (what the script does, what the user does).
    Here is an example with the curl command:
    set tUrl to "http://sourceforge.net/projects/vlc/files/2.0.4/macosx/vlc-2.0.4.dmg/download?ac cel_key=60%3A1350656196%3Ahttp%253A//www.videolan.org/vlc/download-macosx.html%3 A7233e4e9%245818d66f39b0576e1e9c4a0f3b46b1991180bfdd&click_id=976a88ee-19f7-11e2 -9a21-0200ac1d1d8e&source=accel"
    set dFolder to path to downloads folder
    tell application "Finder" to set newFolder to (make new folder at dFolder) as string
    set f to quoted form of POSIX path of newFolder
    do shell script "cd " & f & " && curl -L " & tUrl & " -o 'vlc.dmg'" -- download  to file "vlc.dmg"
    set downloadedFile to newFolder & "vlc.dmg" --<-- HFS path
    --do something with the downloadedFile

  • How do I create a playlist from songs in other playlists?

    Before updating my iPhone 5 to iOS 7, I used to be able to create a playlist by choosing songs that were already in other playlists. Now, when I click on Create Playlist, the only options I have on the bottom of the screen are to choose from Songs, Artists, Songs and Composers. I want to create a playlist from songs that are in my other playlists, such as Purchased or Favorites, for example, instead of scrolling through a couple thousand songs to find (and remember) the ones  I want. What I can do bring that option back? I've looked in my settings and haven't found anything I can do about it. Any knowledgable people in this area, please suggest solutions.

    In list view click on the far left column which allows you to drag to desired play order.

  • Can the Itouch 4th Gen create a playlist from the device?

    Trtying to find out if the Itouch 4th gen can create  a playlist from the actual device rather than having to connect to itunes all the time.

    Yes. See chaper 5 of the Users Guide
    iPod touch User Guide iOS 6

  • How do you remove a playlist from a folder?

    Is there a way you can remove a playlist from a folder in iTunes? how do you do so? The playlists I want to remove are regular blue playlists, they're not the "smart" playlists. Please help
    iBook G4   Mac OS X (10.4.4)  

    Hi, Carina, welcome to Apple's user-to-user discussion forums.
    Grab the playlist you want to remove from the folder and push it all the way to the left. It should then move from the folder back to the list of playlists. Works for me.

  • Why can't I drag and drop music from a folder on my PC into my iTunes window?

        Why can't I drag and drop music from a folder on my PC into my iTunes window?
    I have not found any article that has answered this question. They have come up with things like open the side bar and it will work, or you are using wrong format of music. Now this all happened when I upgraded to iTunes 10 and has not worked since and it worked fine before. Music format is correct, I have even gone as far as copying a file already in iTunes and trying to add it again. As soon as the files enters the frame of iTunes the music files icon the pointer is carrying turns into a circle with a slash through it.
    ITunes Ver. is 11.1.5.5  Windows Ver. is Windows 8.1 Pro with Media Center
    Files I have tried adding are standard MP3, 256 kbps purchased AAC Audio file, MP3 converted by iTunes into a 256 or 320 kbps AAC Audio file. None can be draged and droped but all can added by going to File/Add File to Library...  or File/Add Folder to Library...
    Add items from your computer to your iTunes library
    Do either of the following:
    1. Drag a file or folder from the desktop to the iTunes window.If you add a folder, all the files it contains are added to your library.
    2. In iTunes, choose File > Add to Library, locate a file or folder, and click Open.
         I can add files and folders by doing number 2 above but can not doing number 1
    I have gone as far as uninstalling iTunes and reinstalling per apple procedures below.
    Steps
    1. Remove iTunes and its related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order or only uninstalling some of these components may have unintended effects.

    I had this problem on Windows 8.1.1 and iTunes 11.2.2.3
    To resolve it from within Itunes I did :  Edit, Preferences, Sharing.
    I took the tick out of "Share my library on my local network"
    Click OK.
    Closed iTunes/
    Reopened iTunes and I can drag and drop.
    I went back into Edit, Preferences, Sharing and put the tick back and clicked OK.
    Works fine now.

Maybe you are looking for

  • Squeaking when my HP LaserJet Pro 400 color MFP M475 feeds from Tray 1

    There is a low pitched squeaking when my HP LaserJet Pro 400 color MFP M475 feeds from Tray 1. We use this tray for printing individual envelopes. Is there a part that I should replace or clean? Trays 1 & 3 feed with no noise.

  • SRM PPS 7.0 external requirements with outlines

    Dear gurus, I have managed to get services transferred to SRM from ECC, using the standard PDP configuration. How can we replicate Purchase Requisition with outlines in them. Remember, we have PPS switched on. Any hints will be appreciated. Points aw

  • Put a checkbon with a text in alv row

    Hy everyone, I have to put a checkbon in alv with a little text. col1 | col2 | col3 | ____________________________| 10 | 00001 | ☑ text1 | 20 | 00101 | ☑ text2 | 30 | 01233 | ☑ text3 | 40 | 04539 | ☑ text4 | | thank you so much. Alvaro Tejada G...  M

  • Wad3.5 chart not support chinese

    Hi friends, When I design reports by WAD3.5, there are something wrong when displaying chinese in the chart. It can't display correctly. Please help me . Thanks! Best regards! Jackie.

  • Using a movieclip symbol as a button AS 2.0

    Juggling between AS 2.0 and 3.0 has me a bit perplexed. I need to have a movie clip on the stage acting like a button, when you rollover it the mc would be like in the over state of a button. Finally when you roll out the mc will play the over state