Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Awe!

Pages: 1
1
Plugins / Re: iPod & iPhone Driver Plugin 2.0
« on: October 23, 2024, 11:08:53 PM »
I just registered to thank you for your effort and continuous testing and improvement of the plugin.
Is there a GitHub repo of the plugin? I don't have experience with C#, but I do with other programming languages, and I'm curious about how this is working

Thank you again !

This is an older version - iPhone_Driver_2.0_Source.zip

If you're just after the functionality for talking to iTunes it should give you enough info. Boroda actually wrote the plugin originally and I just altered his code a bit.

One thing that is big issue with later versions of iTunes is you can't delete a track in a for each loop like this
Code
foreach (IITTrack track in playlist.Tracks)
{
    track.delete
}

You will eventually get an object doesn't exist error because playlist.Tracks gets updated when you delete the track and it screws up the loop. That didn't happen with older versions.

You need to iterate through all the tracks and store the id of any you want to delete in a separate list and the iterate through that list to delete them , outside of the original loop.

Thank you very much for the reply and all the info provided !

2
Plugins / Re: iPod & iPhone Driver Plugin 2.0
« on: October 06, 2024, 09:20:01 PM »
I just registered to thank you for your effort and continuous testing and improvement of the plugin.
Is there a GitHub repo of the plugin? I don't have experience with C#, but I do with other programming languages, and I'm curious about how this is working

Thank you again !

Pages: 1