PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Software (http://forum.ppcgeeks.com/forumdisplay.php?f=23)
-   -   C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC) (http://forum.ppcgeeks.com/showthread.php?t=26310)

R-Capi 05-12-2008 02:13 AM

C-ApiSRO - Sirius/XM Satellite Radio for PocketPC (PPC)
 
1 Attachment(s)
October 13, 2008: FYI, I've archived all of the pre-October 12, posts (those posted before the latest update). This was done so that folks didn't have to weed through 20 pages of old posts. Coz

The C-ApiSRO (C-Api Satellite Radio Online) application was written to stream online Satellite Radio feeds to a Windows Mobile device. The latest version now streams both XM and/or Sirius music to your PPC. You will need a subscription to play music from either service.

I am publishing to the community because I couldn't find an XM Radio app that I didn't have to pay atleast $15 for. I'm also considering publishing the source for others to enhance, but we'll see how things go.

I'm not asking for money, so feel free to download and enjoy.

SCREENSHOT
http://img520.imageshack.us/img520/7...isrouu6.th.pnghttp://img520.imageshack.us/images/thpix.gif


REQUIREMENTS
Windows Mobile 5+ (PPC)
.NET 2.0+

INSTALLATION
Simply copy the C-ApiSRO_Setup.cab file to your PPC and install. Should be that easy.

NOTES
  • I do not know if it will work on a Smart Phone.
  • Please DO NOT nag me for features. I developed this in my free time, which I have little of. You may ask for a feature or submit bugs/defects, but I am in no way obligated to implement/fix them.
  • I have seen this app work on Sprints HTC Mogul and Touch phones with the latest ROMs.
  • The list box control (KListControl) was actually written by DOSFAN, a member of the xda-developers.com forums. It's a decent kinetic control, but lacks some functionality such as D-Pad up/down and focus. I want to make sure I give him his props. You can begin streaming a channel by double tapping an item.
  • Props to SomeGuyMMS for allowing me to use a small portion of his Http Client code so that I didn't have to reinvent the wheel.
  • I own a Sprint HTC Mogul and I've streamed continuous audio for 3 hours straight. In that timeframe I went from 100% to 10% battery. It is a killer on power, but that is just streaming data in general.
If you find value in C-ApiSRO then please rate this thread using the "Rating" option at the top. This may help others become aware of it. Thanks.

********* UPDATES ************
v1.0.1 (May 13th)
A small oversight on my part was the fact that some Windows Mobile phones do not have a touch screen for navigation. I built this app to work with the Mogul, which is touch screen, and never considered how the lack of D-pad functionality for the KListControl listbox may affect non-touchscreen phones. I made necessary changes so that the app can be completely controlled by all navigation buttons as well as using the touch screen.
  • Clicking the left/right D-pad will switch focus between the list box and volume bar.
  • Clicking the middle D-pad button will play the selected channel
  • Up/Down on the D-pad will move 1 item up/down in the list or adjust the volume, depending on which control has focus.
v1.0.2 (May 13th Again!)
I know, it's yet another release. Hey, what can I say; I'm finding things that really need to be taken care of. I'm hoping this is it for a while :mrgreen:
  • Controls now resize for landscape/portrait mode
  • Fixed a few bugs with KListControl
v2.0.0 (October 2nd, 2008 )
Yes, it's been an extremely long time since you've heard or seen from me and I apologize for this. I've been really busy and haven't had time to work on this app at all. Fortunately for all of you, Sirius & XM have decided to make things difficult for me and changed a few things up, which broke the app. I had to go in and finish what I was doing or none of us would be happy :-). So, without further ado, I would like to introduce you to C-ApiSRO Satellite Radio Player v2.0.0. Here is what you will find in this version:
  • Sirius implementation - You now have the ability to log into either Sirius and/or XM, depending on which service you subscribe to. Does this mean I now have the 1st Sirius/XM satellite radio? :mrgreen: There is one drawback at the moment, which is I haven't been able to get the song information from the Sirius stream. The player will stream just fine, however you will not have song info. This is a technical limitation with how Sirius streams their data and the Windows Mobile Media player. I may have to actually write my own player to handle this :(.
  • Updated Channel Lineups - You should now see all of the latest channels offered through the internet from both satellite providers. Some channels may not play and that is probably due to one of two things: 1) You don't have the proper subscription to play them, such as the XM channels on Sirius, or Sirius channels on XM. 2) You may have to play the channel in "low speed." Some channels appear to only be available in low speed, so give that a try.
  • Fixed some small issues - I don't want to get into details here, but let's just say I fixed some bugs that where, well, bugging me.
  • Changed the colors - I do not have themes done yet, but I changed the colors to give you all a different flavor. Just mixing it up a bit.
INSTALLATION - I recommend you remove the previous C-ApiSRO install to make sure old information is removed from your registry, however, I've been able to successfully install C-ApiSRO ontop of an existing installation. You will need to enter you username/password information again, so make sure you have that handy before doing the install.

ONE FINAL NOTE - i do not have a Sirius CD quality subscription, so I have no idea how that is going to work for those of you who do. I built the ability to stream in CD quality, but haven't tested it. Good Luck, and let me know how it works for you. I also do not have the premium subscriptions that allow me to play Sirius on XM and XM on Sirius. I refuse to pay that. This means I have no idea as to what will happened when those channels are actually streamed. If you have those services then let me know how it works.

I hope you all enjoy my latest work, and once again, I apologize for being on a sabbatical for the past few months.

v2.0.1 (October 6, 2008 )
This release solves the following 2 problems:
  1. Sirius streaming now displays Song & Title information - I was able to write a proxy server that runs on a separate thread, which intercepts the song information and passes it along to C-ApiSRO. It appears to work nicely.
  2. Fixed an issue with the XM logon credentials causing problems when there are special characters in either the username/password. This is in response to PSIPHI's problems in Thread #142.
I haven't had a chance to do agressive testing on this version, so it's possible that there may be some issues that I haven't found. Enjoy!!!

v2.0.2 (October 12, 2008 )
The following items have been added to v2.0.2:
  1. Logging capabilities - The Menu->Settings dialog now has an option to enable logging. THIS IS FOR DEBUGGING PURPOSES ONLY!!!! Do not enable this unless you are having difficulties and need to provide a log file for troubleshooting purposes. If you leave this enabled it WILL eat up storage space on your device.
  2. Fixed an issue with XM session timeouts. If you leave your player idle for an extended period of time then XM will log you out. The next time you try to play a channel C-ApiSRO will gracefully log you back in. I'm hoping this may fix some crash issues that others have experienced.
Log files can be found in the "Program files\C-ApiSRO\log" folder. YOU WILL NOT HAVE ACCESS TO THIS FILE if C-ApiSRO is running or you have logging enabled. Either shut C-ApiSRO down or disable logging to read or delete the log file.

v2.0.3 (October 22, 2008 )
***CRITICAL UPDATE FOR XM SUBSCRIBERS ****
The following items have been added/fixed to v2.0.3:
  1. Fixed a break with loading XM Channel lists. XM had decided to use secure HTTP to display the channel list, which caused a slight problem for C-ApiSRO. All appears to be working fine again.
  2. Added a Battery meter to the UI. If your phone supports the system level calls then the highlight bar for a selected channel in the list box now shows as a battery meter, otherwise it will show as it always has.
  3. Added support to disable the Sirius Streaming Proxy in the settings page. If you are experiencing problems streaming from Sirius then disable the proxy. It may play without it. NOTE: Disabling the proxy will mean you do not get Song/Artist information. The proxy is responsible for getting this data from the stream.
All in all, this release was forced upon us because XM had changed their channel lineup URL. I apologize for the fact that you have to re-install the application, but it's necessary to get some of my other changes.

v2.0.4 (November 16, 2008 )
For many of you this release is nothing more than better channel support and power management. For others, I hope it resolves some of your XM connectivity issues, but no guarantee. A select few will enjoy the Canadian support for Sirius. Release notes are as follows:
  1. Power Management - Allows you do disable the screen either manually or at a set interval. The backlight is a huge battery killer, so this will improve battery life.
  2. Fixed issue with the Sirius Proxy server that in some instances would cause you not to connect with Sirius. This may fix some peoples problems with Sirius.
  3. Canadian Sirius is now supported - Before logging in you must go to the settings and enable the "Canadian Subscriber" option.
  4. Sirius has better channel support. It seems Sirius' channel lineup page isn't in sync with their media player. The media player is actually the correct list of up to date channels. C-ApiSRO now uses the latest channel information.
  5. Since the latest XM channel page updates many of you are experiencing problems immediately after login. This is when I attempt to retrieve the channel lineup. I believe it's either a DNS or HTTPS issue that has caused problems. The following two items are an attempt to correct this:
    1. Added a configuration option to use the physical IP address of the channel list HTML page rather than the host name. The IP address will fix any DNS issues people are experiencing.
    2. Both Sirius and XM now use a local config/cache file to load channels. If the config file is missing, C-ApiSRO will retrieve the channels from the web. The cache file should improve load time, and possibly resolve some of the XM channel issues.
As with all of the previous builds, this release will require a full install. This release also incorporates a tighter integration with the Windows Mobile environment to provide power management functionality. I have only been able to test on the HTC Mogul. I really do not know how this will perform on other phones. Enjoy!!!

v2.0.5 (March 19, 2009 )
The entire purpose for this release is to get Alltel users past a bug with captcha text not being recognized correctly. If you are not an Alltel customer then there is no need to update to version 2.0.5, however, things will work just fine if you do.

R-Capi 10-12-2008 11:54 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by RefAshe (Post 452595)
Anyone else having problems with XM? I keep getting "unable to load channel" while trying to listen any channel. Checked xmradio.com and when I log into "Listen Online Now" I get a "Sorry, an application error has occurred. Please try again later." error message.

Problem with XM I'm assuming, but just wanted to doublecheck.

Quote:

Originally Posted by StunnaMan (Post 452657)
i am also having the same issue just started today... tried xmstream said the same thing

Quote:

Originally Posted by synn21588 (Post 455124)
Hey c-api, i got it installed on my mogul and successfully logged in and everything but whenever i go to load any channel it says Unable to Load channel...


idears?

Quote:

Originally Posted by nhstunner (Post 455437)
I have a Verizon xv6700, .net 2.0, can connect to Sirius, but get the unable to load channel. loaded .net 2.0, then deleted it & went to .net 1.0, then back to .net 2.0 & still nothing.

I just uploaded a new version (v2.0.2), which has logging capabilities. Read my release notes in the original post on how to enable and access the log file.

Start C-ApiSRO, enable the logging, do what it is you do to create this problem and then post the log file for me to look at. Hopefully I will have meaningful data to work with :mrgreen:

synn21588 10-13-2008 01:36 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
here is my log file

http://www.mediafire.com/?wdk5hjdmgnm

R-Capi 10-13-2008 09:18 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by synn21588 (Post 456347)

Please do me a favor and go to the Sirius website and try to log in using their online application.

http://www.sirius.com/sirius/servlet...layer?stream=&

I think there may be something wrong with your account that is causing this failure, but I'm not sure. The best way to find out is to see if you can play music directly from the source.

nhstunner 10-13-2008 11:44 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
OK! I can tell you my experience that it was (for me anyway) a SIRIUS problem! Even though the program was telling me I was logged in, it wouldn't play. So I called Sirius & they reset my online account & now works PERFECT! btw, this program takes SiriusWM5's lunch money, if you know what I mean! :)

synn21588 10-13-2008 02:22 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by R-Capi (Post 456519)
Please do me a favor and go to the Sirius website and try to log in using their online application.

http://www.sirius.com/sirius/servlet...layer?stream=&

I think there may be something wrong with your account that is causing this failure, but I'm not sure. The best way to find out is to see if you can play music directly from the source.

Ok i called Sirius and they had to change a few things on my account but now it works great!!! C-Api you are the motha f#@#n MAN!!!

R-Capi 10-13-2008 03:14 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by nhstunner (Post 456721)
OK! I can tell you my experience that it was (for me anyway) a SIRIUS problem! Even though the program was telling me I was logged in, it wouldn't play. So I called Sirius & they reset my online account & now works PERFECT! btw, this program takes SiriusWM5's lunch money, if you know what I mean! :)

Quote:

Originally Posted by synn21588 (Post 456948)
Ok i called Sirius and they had to change a few things on my account but now it works great!!! C-Api you are the motha f#@#n MAN!!!

This is great news. I'm glad you are now running and enjoying the app.

RefAshe 10-13-2008 06:49 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
I signed up for a trial online account with XM and it worked fine, so I emailed XM tech support and told them that I get an error everytime I log in thru my paid account... below is their response:

Quote:

Dear Mr. ---,

Thank you for contacting XM.

We appreciate your correspondence and we are sorry for the difficulties that you have encountered with accessing XM Radio Online as a result of the error message.

XM Radio Online is currently undergoing a scheduled maintenance as a result the service is unavailable. Our Technicians are working assiduously to have the upgrades completed in a timely manner. We apologize for any inconvenience that this might have cause. Your patience is much appreciated as we work to improve the service.

If we can be of further assistance, please feel free to send an additional email or you may contact a Listener Care Representative directly at 1-800-XM RADIO (800-967-2346). Our Listener Care Center's hours of operation are as follows:
Monday - Saturday: 8AM - 11PM EST
Sunday: 8AM - 8PM EST

Thank you,
---
So they're upgrading their online service and some accounts don't work?

CozBoogie 10-13-2008 06:59 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
FYI, I've archived all of the pre-October 12, posts (those posted before the latest update). This was done so that folks didn't have to weed through 20 pages of old posts.

This process will not impact your post count.

If you have any questions feel free to shoot me a pm.

late,
Coz

R-Capi 10-13-2008 08:55 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by cozboogie (Post 457315)
FYI, I've archived all of the pre-October 12, posts (those posted before the latest update). This was done so that folks didn't have to weed through 20 pages of old posts.

This process will not impact your post count.

If you have any questions feel free to shoot me a pm.

late,
Coz

I appreciate you cleaning up this post, however, I may need access to that archive. There are some suggestions/issues that I will need access to so I can fix them.

Is there a way to access this archive?

DYGIT 10-13-2008 11:41 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Thanks for updating! works on sprint mogul with wm 6.1 now...no more problems with loading/playing - thanks!

CozBoogie 10-14-2008 12:46 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by R-Capi (Post 457478)
I appreciate you cleaning up this post, however, I may need access to that archive. There are some suggestions/issues that I will need access to so I can fix them.

Is there a way to access this archive?

The archive is not available to public search...but I can easily reinstate posts if needed.

Let me know.

late,
Coz

brian2j101 10-14-2008 08:58 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
I love this program!!! Only thing I have noticed (i cant remember if its been addressed) is when im streaming xm on my diamond and take a call, it attempts to reconnect to the stream and I get the recording of some dude saying "this channel isnt available please log in and try again"


Cant wait for the favorites to work :) where do I donate ??

labboypro 10-15-2008 10:44 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by nhstunner (Post 456721)
btw, this program takes SiriusWM5's lunch money, if you know what I mean! :)

What he said... sort of. I lost Sirius WM5 with my recent WM6 upgrade... this app has a much nicer look and feel. Now, if only I could get it to work :(

I can log in from my desktop and stream Sirius, but on my 700wx with WM6, it just sits at the "Retrieving song information. Please wait" I tried to stop and start it again, but got an error message (sorry, I didn't capture it) that told me to quit and restart. I did... same "Retrieving..." message. It loads the channel images fine. Just no audio (??)

R-Capi 10-16-2008 01:32 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by labboypro (Post 460391)
What he said... sort of. I lost Sirius WM5 with my recent WM6 upgrade... this app has a much nicer look and feel. Now, if only I could get it to work :(

I can log in from my desktop and stream Sirius, but on my 700wx with WM6, it just sits at the "Retrieving song information. Please wait" I tried to stop and start it again, but got an error message (sorry, I didn't capture it) that told me to quit and restart. I did... same "Retrieving..." message. It loads the channel images fine. Just no audio (??)

Send me a log file so I can see what's going on. I spawn an HTTP proxy on a different thread to intercept the Sirius stream. This provides me the ability to pull song information from the stream. Maybe the Treo has problems with threading.

640k 10-16-2008 07:50 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Hey R-Capi, I've noticed sometimes, when the app gets hung up buffering, it disappears from the "task manager" (in my case, x-button). If the app is focused, it is unresponsive, If it isn't, you can't get to it. If you try to end it while it's locked up, say with the X (x ends applications), it doesn't actually close. It will suddenly come back to life.

BTW it's pretty hard to log these incidents since I'd have to pick a point where the stream suddenly starts buffering.

SnittyKitty 10-16-2008 08:10 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
First, thank you for your program! I'm aware there is a high speed option that can be checked; but if unchecked does that imply low bandwidth? If so, is it 32K and/or less? I have T-Mobile Web and as many who are aware of this, 3G has not rolled out to most of us including myself. We do have EDGE, but prior to upgrading to this software I created a playlist with my login information and bandwidth selection that could be accessed directly from Windows Media Player Mobile from my Axim x51v via XStreamXM web site. Prior to the Sirius and XM offering their respective Best of packages, I was able to access that website but as many including here have learned, the update has rendered many of us unable to access that website. We can however access the main XMRO link via XM Radio.com and logging in. I have had no problems accessing XMRO through C-ApiSRO via Wi-Fi at home, but all I receive via my cell phone tether to my Axim is a blank channel screen and no music. At this point I can only assume the EDGE connection is not fast enough, but I'd appreciate whether this is confirmed by other users, or is there a software glitch or a setting within the program that specifically locks in the lower bandwidth; thank you!

R-Capi 10-16-2008 08:58 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by SnittyKitty (Post 460687)
First, thank you for your program! I'm aware there is a high speed option that can be checked; but if unchecked does that imply low bandwidth? If so, is it 32K and/or less? I have T-Mobile Web and as many who are aware of this, 3G has not rolled out to most of us including myself. We do have EDGE, but prior to upgrading to this software I created a playlist with my login information and bandwidth selection that could be accessed directly from Windows Media Player Mobile from my Axim x51v via XStreamXM web site. Prior to the Sirius and XM offering their respective Best of packages, I was able to access that website but as many including here have learned, the update has rendered many of us unable to access that website. We can however access the main XMRO link via XM Radio.com and logging in. I have had no problems accessing XMRO through C-ApiSRO via Wi-Fi at home, but all I receive via my cell phone tether to my Axim is a blank channel screen and no music. At this point I can only assume the EDGE connection is not fast enough, but I'd appreciate whether this is confirmed by other users, or is there a software glitch or a setting within the program that specifically locks in the lower bandwidth; thank you!

Yes, when "High Speed" is not checked the bandwith is low. I'm not 100% sure about the speeds, because that is defined by the provider. I merely enable the low/high speed option that XM or Sirius provides. However, even if your EDGE network can't handle the throughput of high speed, you should still hear sound. It would be choppy and break up alot, but still play.

It sounds like something other than stream size is your problem. My guess is that C-ApiSRO isn't finding your EDGE network when Wi-Fi is unavailable. It could simply be a configuration setting somewhere that we need to set. Please send me a log file so I can understand your problem further.

R-Capi 10-16-2008 09:21 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by 640k (Post 460683)
Hey R-Capi, I've noticed sometimes, when the app gets hung up buffering, it disappears from the "task manager" (in my case, x-button). If the app is focused, it is unresponsive, If it isn't, you can't get to it. If you try to end it while it's locked up, say with the X (x ends applications), it doesn't actually close. It will suddenly come back to life.

BTW it's pretty hard to log these incidents since I'd have to pick a point where the stream suddenly starts buffering.

Who wrote this piece of crap application? Sounds like a typical windows application doesn't it? :mrgreen:

I don't remember if you were Sirius or XM, but that information actually matters to me. I handle the streams completely different based on the provider. I can't imagine XM is causing you these problems because the implementation is fairly simple, so I'm guessing you are using Sirius.

This is relevant because I intercept the stream from Sirius and pull song information from it. Maybe something is going awry with that and causing you these headaches. It's possible there is a special situation in the stream that occurs every once in a great while that I'm not handling correctly. I may provide a build that disables this feature to see if your problem disappears.

The reason why it disappears from your Task list is because the app is unresponsive to receive notification events from the system. The system is pinging all of the apps to display them in the task list and C-ApiSRO is not responding, so it doesn't show. I need to understand why it locks up in the first place and fix that problem. All of the others will disappear.

The best thing you can do for me is take notes about your environment when this happens. Tell me things such as:
  • Time of day
  • How long it's been streaming
  • Provider
  • Channel you're listening to
  • Network strength (EVDO, 1x, Edge, etc)
  • Other programs running
  • Available RAM memory
  • How long it goes out to lunch
  • Were you doing something else on the phone (Call, SMS, etc)
As much as you can tell me about what was going on when this happens the better chance I have of reproducing the problem.

You can also enable your log file, but you MUST make sure you delete it every so often. The log will grow every time you change a channel. If you are willing to maintain the file then enable logging and hopefully we'll get lucky catching this problem. YOU MUST DELETE THAT FILE every so often or it will eat your file storage up.

Before I go I have two questions for you: how often does this happen? Is it something that is making this app unusable for you?

Holy cow, I should get this published; it's freaking huge.

640k 10-16-2008 09:31 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
XM. It happens everyday. I stream the connection all day at work.

This "freezing/locking up" happens under two situations:

1. Random internet hiccup. Suddenly the app will need to buffer and I'll lose music. If I try to exit, disconnect or anything within the app, it's unresponsive.

2. When I try to change a channel. If the channel takes a long time to change, the app is basically frozen. Telling you this is the best way I can describe what is happening. If you change the channel after listening for an extended period of time and it seems to hang while "tuning" in to the next channel, that is the same behavior I face when it randomly hangs.

3. Related or not, yesterday I noticed that while it was trying to reconnect or buffer or something, the EXIT option was grayed out on the Menu.

640k 10-16-2008 10:04 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
ok i just got bumped from my xm channel ("we're sorry, the xm channel.. blah blah blah"), so i turned on logging and reconnected to see if i can catch something...

it reconnected right away... but i'll leave the log going for a minute or two.

eve6er69 10-16-2008 05:50 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
i just had to re download the program cause i got an error for the first time. but it works fine now

labboypro 10-16-2008 08:53 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
1 Attachment(s)
Quote:

Originally Posted by R-Capi (Post 460562)
Send me a log file so I can see what's going on. I spawn an HTTP proxy on a different thread to intercept the Sirius stream. This provides me the ability to pull song information from the stream. Maybe the Treo has problems with threading.

Loggie attached. I x'd out my username. If it's a problem, PM me an email address and I can send you the unredacted log privately.

R-Capi 10-16-2008 11:22 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by 640k (Post 460744)
XM. It happens everyday. I stream the connection all day at work.

This "freezing/locking up" happens under two situations:

1. Random internet hiccup. Suddenly the app will need to buffer and I'll lose music. If I try to exit, disconnect or anything within the app, it's unresponsive.

2. When I try to change a channel. If the channel takes a long time to change, the app is basically frozen. Telling you this is the best way I can describe what is happening. If you change the channel after listening for an extended period of time and it seems to hang while "tuning" in to the next channel, that is the same behavior I face when it randomly hangs.

3. Related or not, yesterday I noticed that while it was trying to reconnect or buffer or something, the EXIT option was grayed out on the Menu.

Thanks for the info. I'm going to start testing the XM stream in more detail. My concern is that this might be a Windows Media Player issue, because I simply fetch the URL from XM and pass it to the embedded player. Why it locks up my application is yet to be determined.

It could take a few days of testing before I can reproduce this with enough regularity to fix it.

R-Capi 10-17-2008 12:21 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by labboypro (Post 461573)
Loggie attached. I x'd out my username. If it's a problem, PM me an email address and I can send you the unredacted log privately.

After going through your log file it seems the media player isn't connecting to my HTTP proxy. It's possible there is a port conflict with something else installed on your machine.

Attached is a DEBUG ONLY version of C-ApiSRO. This is just the executable, so please copy this file to your "Program Files\C-ApiSRO" folder. Make sure you make a backup of the original C-ApiSRO.exe file before doing the copy. I would like you to execute the DEBUG version of C-ApiSRO, with logging enabled, and let me know what happens. If it fails, send me the log again.

640k 10-17-2008 08:29 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by R-Capi (Post 461752)
Thanks for the info. I'm going to start testing the XM stream in more detail. My concern is that this might be a Windows Media Player issue, because I simply fetch the URL from XM and pass it to the embedded player. Why it locks up my application is yet to be determined.

It could take a few days of testing before I can reproduce this with enough regularity to fix it.

I'm kind of agreeing with you on the WM part. It must be in the way that you're incorporating it with your code, instead of sending a URL to the player itself.

I've also noticed that with this version, it can take a good 30 seconds to respond to a command sometimes. I said before that I stream all day. By streaming all day, I risk draining my battery really fast, so I keep it on the USB charger (USB to PC, with USB connections disabled in Activesync). This keeps me charged and listening to music while at work.

When I'm ready to leave for the day, I do one of two things. I either hit stop and then disconnect the cable, or I disconnect the cable and then hit stop. Either way, it doesn't seem to respond to my command.

Yesterday, because it wasn't responding from me hitting stop, I hit the X to close the application (x-button feature, close applications on x). The player closed, but the music continued to play.

Whenever this happens, I tend to later see that the program is still running in the background, but no music is playing.

Now that I think about it, it's almost as if the media player part is "taking over" it's application presence in the task manager. Kind of like a shell or something. So when I hit x, it's only closing the media player.

jdpohl 10-19-2008 01:59 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Was using XstreamXM to launch Media Player. It worked a few times, then always returned a Media Player stream stating channel selected was unavailable. This is SIMPLY awesome .... great sound as well

labboypro 10-20-2008 02:29 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
1 Attachment(s)
Quote:

Originally Posted by R-Capi (Post 461785)
Attached is a DEBUG ONLY version of C-ApiSRO. This is just the executable, so please copy this file to your "Program Files\C-ApiSRO" folder. Make sure you make a backup of the original C-ApiSRO.exe file before doing the copy. I would like you to execute the DEBUG version of C-ApiSRO, with logging enabled, and let me know what happens. If it fails, send me the log again.

Done, and attached. Thanks! The app wouldn't free up the log file for me to copy... even after killing the exe, so I had to hard reset the phone. I don't know what I'm looking at, but if you see cruft on the end of this log, keep the above in mind.

sp0nge 10-21-2008 09:00 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Program is awesome.. Great job!! Thank You

jblade 10-21-2008 12:07 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Thanks, love it

Once it gets stable I look forward to some GUI implementations;)

ixl247 10-21-2008 04:31 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Anyone get a "captcha" error when logging in to Sirius account? What could I be doing wrong/

ixl247 10-21-2008 04:51 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
All are welcome to call me SH@#$ head... a simple reinstall fixed my "captcha" issue!

NOW this C-ApiSRO is rock'in my socks off... a definite field goal !!!!!

lrivera2000 10-21-2008 07:57 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
I install C-APISRO AND ASK ME FOR USER NAME AND PASSWORD PLEASE LET ME KNOW WHAT WRONG

vince22sh 10-21-2008 08:45 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Thanks!!! works great much better interface and show the song title and artist too... than Sirius WM5.:)

dap325 10-21-2008 08:58 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by lrivera2000 (Post 468063)
I install C-APISRO AND ASK ME FOR USER NAME AND PASSWORD PLEASE LET ME KNOW WHAT WRONG


You need to be a Sirius or XM subscriber (12.95 a month). That is where you get your user name and password.

robthehillbilly 10-21-2008 09:00 PM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Works great for me!:headbang: THANKS!!!=D>=D> Now if I could just get out from behind that @$*^$@%$ firewall at work to where I could listen.

640k 10-22-2008 08:42 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
My XM isn't getting a station listing today.

640k 10-22-2008 08:55 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Man... I can't get music to play from Sirius either.

ruckstande 10-22-2008 09:33 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Nope, tried it on two phones. Its a no go. XSiriusM keeps messing with us.

R-Capi 10-22-2008 10:25 AM

Re: ****UPDATED**** C-ApiSRO - XM & Sirius Satellite Radio for PocketPC (PPC)
 
Quote:

Originally Posted by 640k (Post 468683)
My XM isn't getting a station listing today.

Quote:

Originally Posted by 640k (Post 468701)
Man... I can't get music to play from Sirius either.

Quote:

Originally Posted by ruckstande (Post 468739)
Nope, tried it on two phones. Its a no go. XSiriusM keeps messing with us.

Okay, everybody stay calm. It appears they've decided to change their protocol to HTTPS (which is secure HTTP). This is throwing C-ApiSRO for a loop. It could take a day or two to get it back up and running, but I will get it back. It all depends on how deep this problem goes.

I will look into it further when I am done with my real work today, (A.K.A. my job).


All times are GMT -4. The time now is 04:05 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0