[Android] aMPdroid 0.8 - Streaming and more (1 Viewer)

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    That is supposed to work. But wake-on-lan does, like the name says, not work over a WAN. So you need your HTPC to be turned on beforehand.
     

    olli14

    Portal Pro
    December 17, 2008
    740
    35
    Home Country
    Germany Germany
    AW: Re: [Android] aMPdroid 0.8 - Streaming and more

    That is supposed to work. But wake-on-lan does, like the name says, not work over a WAN. So you need your HTPC to be turned on beforehand.

    Hi Oxan,
    is your comment related to my thread?
    I wake up my htpc via WAN with an android app called "WOL" from bubble.
    So you mean all my settings are right?

    olli14
     

    hofi

    MP Donator
  • Premium Supporter
  • February 19, 2009
    301
    46
    Ardagger Markt
    Home Country
    Austria Austria
    AW: aMPdroid 0.8 - Streaming and more

    I have a singleseat installation and I installed aMPDroid a few days ago. I get access to my htpc via WLAN. That's working now. But I do not get access to my htpc via WAN. Can someone tell me the configuration in aMPDroid for WAN:
    e.g. my domain is "myhtpc.homeip.net" at dyndns what do I have to write down in the section "Hostname or IP Adress".
    In field MAC adress I write down my MAC adress. Right?
    The port is 4321. Right?

    What port do I have to forward in my router and what protocol do I have to use? AT the moment I forward port 4321 and protocol ist TCP. Is this right?

    You see need a little help.

    olli14

    Hi,

    in aMPdroid you take the same settings than local, only in "Hostname or IP Adress" write your dyndns, the MAC is using for WOL and that may be a problem on some Routers - in my Pirelli av4202 its not possible to forward WOL.
    In your Router you have to forward tcp-port 8017 to the IP of your MP-Client and tcp-port 4321 to the IP of your MP-Server, in your installation the same IP.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Re: AW: Re: [Android] aMPdroid 0.8 - Streaming and more

    Hi Oxan,
    is your comment related to my thread?
    I wake up my htpc via WAN with an android app called "WOL" from bubble.
    So you mean all my settings are right?

    olli14
    Ah, forgot to quote, was indeed a reply to your problem :) If your wakeup over WAN does work then it should work indeed.
     

    Momboner

    Portal Pro
    September 17, 2009
    60
    2
    Alright here is what I have done so far(having troubles) - Ive installed Net 4.0 full from your link installed gmawebservices and installed WiFiRemote. I did not install TV4Home because I dont use the tv server.

    In wifiremote I installed bonjour made a username and password admin/admin for now to make it easy. I tried to make a QR code but it errors.
    On my router I forwarded ports 8080 8017 to the ip of my htpc.
    I turned off the firewall on my htpc just to make sure that wasnt causing a problem.

    In aMPdroid I created a host named it htpc I put in my ip address and mac address and put admin/admin in there.

    Side note I also tried this with 2 different ips my private network on 10.1.10.13 and my public one neither worked.

    On my desktop I typed in the gmaservice test address and the came back as the troubleshooter said they would so I think thats working.
    On my desktop I installed the wifiremote demo-client. My htpc shows up on the list but when I hit connect it just says authenticating constantly.

    When I try and connect with aMPdroid it says remote cant connect and when I click on videos or anything nothing happens. Which I dont get cause it seems like the gmaservice is working.

    What do I do to help yall help me I have been sitting in front of the htpc for a better part of the day.

    Also I noticed somewhere it was saying in the config file for the gmaservice there is a username and password thats set to admin/admin am I suppose to change that to something specific or what does that control.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    On my router I forwarded ports 8080 8017 to the ip of my htpc.
    That should be 4321 and 8017, 8080 is not used by anything aMPdroid-related.

    When I try and connect with aMPdroid it says remote cant connect and when I click on videos or anything nothing happens. Which I dont get cause it seems like the gmaservice is working.
    Can you try to disable the password in WifiRemote and also disable authentication in aMPdroid?

    Also I noticed somewhere it was saying in the config file for the gmaservice there is a username and password thats set to admin/admin am I suppose to change that to something specific or what does that control.
    If you're not too paranoid you don't have to change that, just enter the same in the aMPdroid configuration.
     

    Momboner

    Portal Pro
    September 17, 2009
    60
    2
    Thanks Oxan for those pointers I will change them here in a bit a report back. Is port 4321 needed always or only required if you use the tv-server? Should I installed TV4Home anyways? I use the TV-Series plugin but I get all my episodes from elsewhere and load them into it I dont record any tv on my htpc or watch live tv for that matter.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    GMA also uses port 4321. TV4Home isn't needed if you don't watch TV.
     

    Momboner

    Portal Pro
    September 17, 2009
    60
    2
    Alright im making some prpgress now i forwarded 4321 and took off the authentication in wifiremote.

    Currently when i open ampdroid and hit connect it comes up and the little guy glows yellow. When i click on remote it does not control anything though still.

    Also when i clicked on video it did seem to login (i went to advanced config and down to gmaservice and put in admin/admin thats what you meant by the ampdroid config correct?)

    But when i click series it just does the loading sign endlessly well atleast 5 min so far unless it suppose to take a while its first time.

    Edit: ok well i closed mediaportal and the music and video section started working much quicker in the music section i was able to download a song and listen to it. Couldnt find a stream option though not sure if there is suppose to be. I loaded mp backup but when i held it down and selected play on pc it didnt work i assume this has something to do with the remote still not working.

    For videos i got them to load and what not i couldnt get any to stream but im not to worried about that still couldnt get them to play on pc prob same reason as above.

    On a side note has any of the stuff you install for this ever reported for messing up mp? Currently my tv series plugin no longer works and the controls are all wonky like i have to hit plugins twice to actually open plugins and then tv series twice to open that plus clicking to the right no longer brings up the menu to close or shutdown.... Lol so many problems might need to format the whole thing and give up on this one

    Edit2 disabled wifiremote and it fixed my control problems and tvseries went back to normal
     

    lar282

    Portal Pro
    July 11, 2004
    414
    2
    Possible bug
    HTC Desire:
    TV streams works perfectly -:)

    Galaxy tab 10.1:
    When I start a stream it creates 2 streams on the tvserver. This is probably why I can't see live tv on the galaxy.
    Also when I back out of the internal player it only stops 1 stream leaving the other one to hang there for ever. Also one instance of ffmpeg is still running.

    Note that it is the same version on the ampdroid on both phones and I connect to the same backend with both phones. This way I know the backend is working properly.
    Oxan has looked at this and think the bug is in ampdroid. He also has a bunch of log files and screenshots of this. I know the dev is busy but thought it might help if I write it
    down.

    Regards
    Lasse
     

    Users who are viewing this thread

    Top Bottom