Uploaded image for project: 'SongKong'
  1. SongKong
  2. SONGKONG-863

OSX:Error when unable to find track in iTunes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.15
    • Fix Version/s: 3.16
    • Component/s: iTunes
    • Labels:
      None
    • Forum Username:
      GrampsAudio

      Description

      10/06/2015 01.52.51:ChST:com.jthink.songkong.ituneshelper.OSXUpdateItunesWithChanges:addEditedTrack:WARNING: Unable to add edited tracks:iTunes got an error: Can’t get track 1 of playlist 1 whose persistent ID = "F1A68AD90AA66648".
      javax.script.ScriptException: iTunes got an error: Can’t get track 1 of playlist 1 whose persistent ID = "F1A68AD90AA66648".
      at apple.applescript.AppleScriptEngine.evalScript(Native Method)
      at apple.applescript.AppleScriptEngine.eval(AppleScriptEngine.java:368)
      at apple.applescript.AppleScriptEngine.eval(AppleScriptEngine.java:339)
      at com.jthink.songkong.ituneshelper.OSXUpdateItunesWithChanges.addEditedTrack(OSXUpdateItunesWithChanges.java:312)
      at com.jthink.songkong.ituneshelper.OSXUpdateItunesWithChanges.analyseFiles(OSXUpdateItunesWithChanges.java:253)
      at com.jthink.songkong.ituneshelper.OSXUpdateItunesWithChanges.updateItunes(OSXUpdateItunesWithChanges.java:178)
      at com.jthink.songkong.ituneshelper.UpdateItunesWithChanges.call(UpdateItunesWithChanges.java:193)
      at com.jthink.songkong.ituneshelper.UpdateItunesWithChanges.call(UpdateItunesWithChanges.java:26)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      10/06/2015 01.52.51:ChST:com.jthink.songkong.ituneshelper.OSXUpdateItunesWithChanges:addEditedTrack:SEVERE: Script Is:tell application "iTunes"
      set output to ""
      set new_playlist to get first user playlist whose id is 371
      set matchtrack to get first track in playlist 1 whose persistent ID is "F1A68AD90AA66648"
      if matchtrack is not {} then
      duplicate matchtrack to new_playlist
      else
      set nexttrack to (add(POSIX file ( get "/Users/gramps/Musicalia/Bob Dylan/Shot of Love/08 - In the Summertime.m4a") as alias) to new_playlist)
      end if
      return output
      end tell

        Attachments

          Activity

            People

            • Reporter:
              paul Paul Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: