473,466 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

iTunes Events Problems

2 New Member
I'm using the iTunes SDK in Visual C#, and it's going great except for the event handling.

I've seen the following code a million times:

Expand|Select|Wrap|Line Numbers
  1. using iTunesLib;
  2. ...
  3. iTunesApp app = new iTunesAppClass();
  4. app.OnPlayerPlayEvent += new _IiTunesEvents_OnPlayerPlayEventEventHandler(app_OnPlayerPlayEvent);
  5. ...
  6. public void app_OnPlayerPlayEvent(object iTrack)
  7. {
  8.    ...
  9. }
  10.  
And no matter how I work with it, it's still not working. At least not most of the time. It will work if I put a breakpoint on app_OnPlayerPlayEvent and then execute it up to the breakpoint. At this point, I get an error saying that all these various member functions have been disabled because another method timed out. I continue execution and it works, but only about 20% of the time. It likes to get to the breakpoint and then not execute any of the code inside of the function.

Is anyone else having similar problems?
Dec 10 '06 #1
1 1706
sowiebinich
2 New Member
Just an extra note:

For added weirdness, I had downloaded both a compiled version and the source for a "Now Playing"-type dock widget, and the compiled version works fine, but when I compile the source, no dice. I even tried compiling it doing nothing but opening the project file they provided, and still nothing.

Is this a problem with my environment? I know there are a number of other people who are having similar problems.
Dec 10 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Richard Rudie | last post by:
Have any other Windows iTunes users looked at the XML file iTunes uses as its database? (Does iTunes for Mac use an XML file, too?) When I noticed that it was XML, I thought it might be useful, or...
4
by: Luis Ferrao | last post by:
Comming from Windows Forms development, I never had problems with this issue before. What i'm trying to achieve is an iTunes like incremental search. For those who never used iTunes, it's...
1
by: Cursief | last post by:
Hello, I've been playing around a little bit with the iTunes SDK. Doing the following: iTunesApp app = new iTunesAppClass(); app.OnPlayerPlayEvent += new...
0
by: hardikmehta | last post by:
Hello All, :) I m using xml file for itunes. When i gives .php url from itunes then control back to my php page and creates .xml file and return to itunes. Itunes habdle some types of...
0
by: bar10dr | last post by:
What I want to do is get song info from iTunes if the application is running, using the ituneslib API (from Apple). One of the problem is that to check if iTunes is playing any songs I need to...
2
by: jenann50 | last post by:
hi all, i know this is probably a silly question but i dont know how to move my limewire tunes to my itunes folder so that i can download them onto my ipod. also if i have a music cd and load it...
3
by: Denrael | last post by:
I've been playing with the iTunes sdk on windows, and have come across a strange problem. With the following code: import win32com.client iTunes =...
2
by: Maj | last post by:
Hy! This is not a post for asking something.. is more like a remark.. But I would really appreciate some explanations if possible.. I am now building an application with C# from MS Visual...
16
by: william tanksley | last post by:
I'm trying to convert the URLs contained in iTunes' XML file into a form comparable with the filenames returned by iTunes' COM interface. I'm writing a podcast sorter in Python; I'm using iTunes...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.