1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with XM Radio hme app

Discussion in 'Developers Corner' started by MikeRadio, Sep 12, 2005.

  1. MikeRadio

    MikeRadio New Member

    200
    0
    Jan 6, 2003
    evermind
     
  2. Groll

    Groll New Member

    1
    0
    Sep 15, 2005
    Was the problem you had no audio to the tivo? I'm having that problem as well. I know it's something silly, but I just can't figure it out. If you found a solution, hook me up. Thanks.
     
  3. markneill

    markneill New Member

    12
    0
    May 27, 2003
    Jax, FL
    The XM app doesn't do audio to the Tivo - I asked about this problem a while ago to the author over on HMEBlog.

    All the XMRadio app does is control the tuner app that runs on your computer. To get that audio to your Tivo, you need to have a Shoutcast server running to rebroadcast the stream.

    If I had time, I'd figure out how to build a single package with HMERadio and Shoutcast all set up, so you could just make the configuration changes with your IP addresses and go.
     
  4. manielse

    manielse New Member

    132
    0
    Mar 6, 2003
    Ok, I just got freaked out but the person's username above but anyways...

    I'm having an issue with getting this app to see my XMPCR. It worked in the past and I'm having no luck doing it again. All other XM-related apps seem to find my device without any issues. Does ANYONE have any ideas?

    BTW- I like the other Mark's idea about a wrapper but I was thinking of making it even smarter. If there was a way to only load the shoutcast services when requested by the HME app and then close down when the user no longer is listening.

    --Mark
     
  5. markneill

    markneill New Member

    12
    0
    May 27, 2003
    Jax, FL
    On a UNIX flavored OS, you'd run Shoutcast through xinetd...let it manage the listen socket and pass it off to Shoutcast when called.

    On windows? No idea :)
     
  6. watty0

    watty0 New Member

    9
    0
    Oct 23, 2005
    As of today, the HmeSatRadio program sends audio to the Tivo without need for Shoutcast.
     
  7. jon01

    jon01 New Member

    113
    0
    Jan 4, 2005
    long...
    please tell me there's a way to make this app work for sirius. or another app just like this to stream sirius instead of XM.

    - Jon
     
  8. Nov 4, 2005 #8 of 31
    manielse

    manielse New Member

    132
    0
    Mar 6, 2003
    Adam, you're new version is awesome. I've had it crash on me a few times but it really is a huge improvement not needing Shoutcast! Still can't see my XMPCR but Online is good enough for me besides the slowness switching channels.
     
  9. Nov 5, 2005 #9 of 31
    Alpinemaps

    Alpinemaps New Member

    335
    0
    Jul 25, 2004
    San Diego, CA
    Okay, I'm still stuck. I downloaded the new version last weekend, and it shows up on my TiVo. Controls the stations, but, doesn't send any music over.

    Any quick suggestions on the set up?
     
  10. watty0

    watty0 New Member

    9
    0
    Oct 23, 2005
    The trick is that the program just records whatever is playing on the record source of the sound card on the fly and encodes it in MP3 so the Tivo can play it.
    So, most likely you will here it play on the computer as well as the Tivo.
    Couple tips:
    1. Make sure the SatRadioAddress in the config file is a real ip address (not 127.0.0.1 or localhost) and StreamLocation=builtin

    2. You need to select the correct recording source on your soundcard. For XMPCR, this will usually be "Line In" or "Aux". For XMROnline, this will be something like "Wave", or "Stereo Mix"
    On Windows XP, you can set this from:
    Start->Control Panel->Sound and Audio Devices
    Under Sound Recording, click on Volume.
    Then "Select" the source you want to record and make sure it has some volume.
    If the source you are looking for does not show up in the list, go to Option->Properties to make sure all volume controls are selected.
     
  11. watty0

    watty0 New Member

    9
    0
    Oct 23, 2005
    Thanks, you definitely want to use the XMPCR if you have it.
    You said that JavaXM works with your XMPCR? If so, make sure that the Java JRE that launches runSocket is the same JRE as the one that launches JavaXM. Remember, the javax.comm.properties needs to be in the lib folder of the JRE that is running the program.
     
  12. Alpinemaps

    Alpinemaps New Member

    335
    0
    Jul 25, 2004
    San Diego, CA
    Okay, thanks for the tips! I'm running XMRO. I had a correct config file set up. The problem was with the Line Out. I didn't have that set up correct. Thanks for giving me the leads to fix that.

    <edited to delete *dumb* question>

    Never mind!

    Thanks for the help. That got me going!
     
  13. scott816

    scott816 New Member

    30
    0
    Feb 6, 2005
    I have tried setting up XMradio online but have run in to a problem. The batch file launches just fine and i can even here music playing on my PC when adjusting the the onlineconfig file to start playing the stream immediately. However when i select Hme SatRadio via my Tivo the Please wait... screen pops up and hangs until it times out. Anyone have any ideas?

    Thanks,
    Scott
     
  14. watty0

    watty0 New Member

    9
    0
    Oct 23, 2005
    Sounds like it could be the SatRadioAddress configuration in config.txt
    Make sure the it points to the computer that is running the backend script and port number 48490.

    For example, my backend is running on a computer with ip address 192.168.1.5. My confg.txt looks like:

    SatRadioAddress=192.168.1.5:48490
     
  15. digiactive

    digiactive New Member

    1
    0
    Nov 16, 2002
    OK I'm new to this stuff. I've downloaded Watty's stuff and I've changed the config. and here's what I get when I run the cmd's :

    Exception in thread "main" java.lang.NoClassDefFoundError: com/watty/hmesatradio/SatRadioOnline
    Press any jey to continue ...


    Help!

    no clue what I'm doing lol

    Thanks in advance.

    This is my first time messing with the HME
     
  16. watty0

    watty0 New Member

    9
    0
    Oct 23, 2005
    Be sure to keep the directory structure intact as how it is in the zip file.
    With a /lib folder and a /conf folder.
     
  17. manielse

    manielse New Member

    132
    0
    Mar 6, 2003
    Scott, did you ever get this working? Make sure you have the correct IP address in the config.txt. Throws me off every time upgrade to new version as well. Finally got my XMPCR to work (very long story) and the record feature in v0.09 is a very nice touch Adam!
     
  18. tmj

    tmj New Member

    14
    0
    Oct 2, 2005
    Jacksonville...
    Alright, call me VERY stupid. I got everything working great with XM online. My PCR arrives in a few days, thanks to Ebay.

    The stream is playing on the Tivo (on the TV) and also the computer. How can I get it to NOT play on the computer while listening on the TV?
     
  19. xStainDx

    xStainDx New Member

    17
    0
    Jan 9, 2005
    HME SDK 1.4 (TiVo, Inc.)
    LOG: added factory
    MDNS: http://192.168.1.104:7288/hmesatradio/
    LOG: 192.168.1.111 icon.png HTTP GET - to factory /hmesatradio/
    Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at com.watty.hmesatradio.HmeSatRadioScreen.initChannelList(HmeSatRadioSc
    reen.java:453)
    at com.watty.hmesatradio.HmeSatRadioScreen.<init>(HmeSatRadioScreen.java
    :103)
    at com.watty.hmesatradio.HmeSatRadioApp.init(HmeSatRadioApp.java:51)
    at com.tivo.hme.sdk.Application.open(Application.java:428)
    at com.tivo.hme.host.sample.Listener.handleHME(Listener.java:280)
    at com.tivo.hme.host.sample.Listener.handle(Listener.java:381)
    at com.tivo.hme.host.http.server.HttpConnection.run(HttpConnection.java:
    123)
    at java.lang.Thread.run(Unknown Source)
    LOG: Unexpected error: java.lang.NullPointerException
    LOG: 192.168.1.111 icon.png HTTP GET - to factory /hmesatradio/
     
  20. tmj

    tmj New Member

    14
    0
    Oct 2, 2005
    Jacksonville...
    Well I guess it doesn't matter if I can get the sound on the PC adjusted as I found out from XM that they refuse to activate the PCR I received. Apparently it was reported as lost/stolen. Guess I'm out that money I paid for it on eBay. I'm tempted to resell it and let some other sucker take a loss, much like I have. But not feeling that mean.
     

Share This Page