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

edterbak

Portal Pro
March 4, 2008
2,114
1,176
Home Country
Netherlands Netherlands
Hi Diebagger,

A question. I own a galaxy tab 10.1. And I too am having difficulties running the ampdroid app stable. Especially when trying toplay a movie through streaming, it kind of lock up most of the time. Forced closes etc... BUT.. most of it you heared already.

My question is regarding possible solutions. Over at the XDA developers forum, there are a couple of devs cooking up ROM's for the tab. Is there anything they can do to help with the problem or anwser questions regarding the streaming problem? things like creating patches or something. Maybe you could describe what aMPdroid requires which is in previous android OSversions, but not quite stable or mature in the 3.2 android version. Im just thinking out of the box here...trying to find solutions :) If this idea is rubbish thats OK as well. . . . .

Anyway, curious to your opinion on this.
 

este22

MP Donator
  • Premium Supporter
  • February 13, 2007
    1,753
    120
    Home Country
    Austria Austria
    AW: [Android] aMPdroid 0.8 - Streaming and more

    hi,

    now i have tested the app a few weeks and it works very well, also over internet. there would be one feature to make it perfect:

    would it be possible to implement wol over udp? for example over this webpage it works:
    WoL: Wake-on-LAN über das Internet ("MagicPaket" an Router, mit einstellbarer Port-Nummer)

    there are also sam android apps that can do this. i know the router have to support it, but it would be fine if you can implement it.

    thx , este
     

    skandy

    MP Donator
  • Premium Supporter
  • September 23, 2006
    67
    7
    Home Country
    Spain Spain
    Hi!!

    I am using now Ipimp.

    I want to try this plugin as android doesn't support m3u8 playlist directly: I am using Daroon Player in android as workaround, as Opera doesn't associate m3u8 files with Daroon Player, first i select the stream and later I open directly the URL with Daroon Player.

    Flash playback doesn't work well with Smooth Streaming in Ipimp.

    My questions about this plugin are:

    -Uses only 80 http port to communicate with mediaportal (for use it over internet)?
    -What streaming format uses the transcoder? It seems that Android will support WebM in 2.3.3, maybe this is the future format to support??...

    And finally... Is there a Desktop version with web access to EPG guide/program??

    Ipimp only uses an Apache instance, this plugins needs 3 plugins to be installed and the plugin itself, this could bring inestability to the whole system, Is it stable?

    I am asking this to know if it will be better choose this plugin as Ipimp alternative, or try to adapt Ipimp to support WebM/mp4/h.264 for streaming...
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Hi Diebagger,

    A question. I own a galaxy tab 10.1. And I too am having difficulties running the ampdroid app stable. Especially when trying toplay a movie through streaming, it kind of lock up most of the time. Forced closes etc... BUT.. most of it you heared already.

    My question is regarding possible solutions. Over at the XDA developers forum, there are a couple of devs cooking up ROM's for the tab. Is there anything they can do to help with the problem or anwser questions regarding the streaming problem? things like creating patches or something. Maybe you could describe what aMPdroid requires which is in previous android OSversions, but not quite stable or mature in the 3.2 android version. Im just thinking out of the box here...trying to find solutions :) If this idea is rubbish thats OK as well. . . . .

    Anyway, curious to your opinion on this.
    With VLC it's been reported that it works fine, but integrating VLC in GMA is a bit more work then I thought. I'm working on it, although I don't make as much process as I hoped. It'll work, and probably before the end of the year ;)


    -Uses only 80 http port to communicate with mediaportal (for use it over internet)?
    It uses port 4321 to communicate but you can change that to port 80 (or forward port 80 to 4321 in your router).
    -What streaming format uses the transcoder? It seems that Android will support WebM in 2.3.3, maybe this is the future format to support??...
    It uses H.264. WebM is a nice idea, but the encoder is horribly slow (almost 3x so slow as the x264 one) which makes it unusable.
    And finally... Is there a Desktop version with web access to EPG guide/program??
    It's in development.

    Ipimp only uses an Apache instance, this plugins needs 3 plugins to be installed and the plugin itself, this could bring inestability to the whole system, Is it stable?
    Crashing services don't make your system unstable. But no, I don't have had any reports of instabilities.
     

    Knobby

    Portal Pro
    February 21, 2007
    59
    4
    Home Country
    United Kingdom United Kingdom
    Hi everyone,

    After spending the last 5 hours trying to get aMPdroid to work I´m at the end of my tether, so I´m hoping you can help me sort it out.

    I cannot, under any circumstances, get a connection to Mediaportal from aMPdroid - when I try to use the remote I get the message "Remote Not Connected". If I try anything else I´m given the option to send WOL packets to wake up the server.

    I´ve followed the instructions to install everything and I can connect to the GMA webservice from my browser. I downloaded the WifiRemote demo client and ran it (on the same machine as Mediaportal as I don´t have another computer here) and I can connect without problems.

    Initially I tried to set up the client in aMPdroid using the QR Scan but that didn´t work, so I´ve tried configuring manually but that doesn´t work either. I´ve tried opening ports 8017 & 4321 on my router (but as the Wifiremote demo client works without the ports being open I don´t think this is the problem), using/not using authentification, disabling Bonjour (I don´t have this installed), using the computer IP address instead of "localhost", etc. but nothing seems to work.

    I´m running Windows 7, Mediaportal 1.1.3.0 and Android 2.1 on a Samsung Galaxy Portal (called a "Spica" outside the UK I believe).

    Any help would be much appreciated before my computer & phone take flying lessons!!!

    Thanks
     

    Boogieman

    Portal Member
    November 3, 2007
    12
    0
    Home Country
    Sweden Sweden
    Hi everyone,

    After spending the last 5 hours trying to get aMPdroid to work I´m at the end of my tether, so I´m hoping you can help me sort it out.

    I cannot, under any circumstances, get a connection to Mediaportal from aMPdroid - when I try to use the remote I get the message "Remote Not Connected". If I try anything else I´m given the option to send WOL packets to wake up the server.

    I´ve followed the instructions to install everything and I can connect to the GMA webservice from my browser. I downloaded the WifiRemote demo client and ran it (on the same machine as Mediaportal as I don´t have another computer here) and I can connect without problems.

    Initially I tried to set up the client in aMPdroid using the QR Scan but that didn´t work, so I´ve tried configuring manually but that doesn´t work either. I´ve tried opening ports 8017 & 4321 on my router (but as the Wifiremote demo client works without the ports being open I don´t think this is the problem), using/not using authentification, disabling Bonjour (I don´t have this installed), using the computer IP address instead of "localhost", etc. but nothing seems to work.

    I´m running Windows 7, Mediaportal 1.1.3.0 and Android 2.1 on a Samsung Galaxy Portal (called a "Spica" outside the UK I believe).

    Any help would be much appreciated before my computer & phone take flying lessons!!!

    Thanks

    I have exactly the same problem as you.

    Opened incoming and outgoing ports in Win 7 x64 firewall
    WIFI remote + GMA
    INbound rules OPEN TCP 4321, 8080, 8017 (using default port but troubleshoot said also 8080 so added that one too)
    OUTbound rules OPEN TCP 4321, 8080, 8017 (using default port but troubleshoot said also 8080 so added that one too)

    Installed GMA and is running.
    Installed WiFi remote and made sure it is enabled in MePo config.
    Did not install TV4home since i dont have a tvserver but opened
    port 4321 IN/OUT-bound in win7 firewall anyway since i saw that also GMA used it.

    Have tested with MePo running and not running.
    Neither remote nor shares can connect - keeps getting "remote connection couldnt be established" on every attempt

    Entered static IP to my wireless adapter on my HTPC
    Even entered the MAC-adress (it tries to wake up pc with WOL packs. but pc is allready on so obviously no connection there either)

    What have a missed?
    Went through entire troubleshooting.
    Didnt get the OCR-code to work even though it recognized it (after installing barcodetool)

    Even set the HTPC in DMZ-mode in the router firewall just to make sure it doesnt block local network connections which it shoudlnt in the first place.

    Tried the web-scripts from my remote pad, but got "could not find page"

    Server PC with MePo+GMA+WiFi remote: Win 7 x64 sp1
    Remote tab: Samsung Galaxy tab 7" - froyo 2.2
    Router Asus WL-500W

    Any ideas are helpful :)

    HAVE CHECKED:
    -----------
    DONE - See the background services page for a overview of the aMPdroid communication.

    THIS IS MY ISSUE -
    No connection to service
    You will get this error when you try to open the media, music or tv section and your phone cannot connect to the GmaWebservice or the Tv4Home service. aMPdroid can only access your data if the background services (GmaWebservice, Tv4Home) are working properly and can be accessed through the network
    IT SEEMS I CAN NOT ACCESS THEM THROUGH THE NETWORK

    Try to access the services from your webbrowser
    You can test the services with your webbrowser. Make sure you test the urls below from another machine (to check if the pc can be accessed remotely) and change localhost to the actual hostname/ip-address of your htpc. You can also open these urls from the webbrowser of your mobile.

    GmaWebservice
    http://localhost:4321/GmaWebService/...iceDescription
    on the machine, which should return something like:
    - LOCALHOST WORKS FINE FROM THE PC WHERE SERVICE ARE RUNNING
    - THOUGH FROM MY PAD IT DOES NOT WORK AT ALL WHEN CHANGING LOCALHOST TO FIXED IP OF SERVER - JUST GET "WEB PAGE NOT AVAILABLE"
    THIS DOES NOT WORK FROM TABLET
    http://192.168.1.9:4321/GmaWebService/MediaAccessService/json/GetServiceDescription

    view sourceprint?
    GET THE DATA BELOW FROM LOCALHOST - AS ABOVE
    01 {
    02 "MovingPicturesApiVersion":1,
    03 "MusicApiVersion":1,
    04 "MyFilmsApiVersion":0,
    05 "PicturesApiVersion":1,
    06 "ServiceVersion":"1.0.0.0",
    07 "StreamingApiVersion":0,
    08 "SupportsMovingPictures":true,
    09 "SupportsMusic":true,
    10 "SupportsMyFilms":false,
    11 "SupportsPictures":false,
    12 "SupportsTvSeries":true,
    13 "SupportsVideos":true,
    14 "TvSeriesApiVersion":1,
    15 "VideoApiVersion":1
    16 }


    Some more urls to test GmaWebservice:

    OK LOCAL •Series: http://localhost:4321/GmaWebService/...sort=0&order=0
    OK LOCAL •Movies: ]http://localhost:4321/GmaWebService/...sort=0&order=0
    OK LOCAL •Videos: http://localhost:4321/GmaWebService/...sort=0&order=0
    OK LOCAL •Video Shares: http://localhost:4321/GmaWebService/...GetVideoShares
    NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Albums: http://localhost:4321/GmaWebService/...sort=0&order=0
    NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Artists: http://localhost:4321/GmaWebService/...sort=0&order=0

    NOT USED - Tv4Home
    http://localhost:4321/TV4Home.Server...ionToTVService
    Should return true
    Further urls to test the Tv4Home service:
    •Get all Groups: http://localhost:4321/TV4Home.Server...json/GetGroups
    •Get all channels: http://localhost:4321/TV4Home.Server...asic?groupId=0 (insert group id from GetGroups)
    •Get cards: http://localhost:4321/TV4Home.Server.../json/GetCards
    •Get recordings: http://localhost:4321/TV4Home.Server.../GetRecordings
    •Get schedules: http://localhost:4321/TV4Home.Server...n/GetSchedules


    aMPdroid can only access your data if the background services (GmaWebservice, Tv4Home) are working properly and can be accessed through the network. To see if the services are running, open the services control panel on your htpc (Start -> run -> services.msc) and see if the status of GmaWebService and TV4Home Core Service is Started.
    - GMAWEBSERVICE RUNNING AND AUTOSTART

    In Windows 7 make sure you opened TV4Home-Port 4321 manually in the Windows-Firewall! If not then no connection could be made outside of the Host (where TV4Home ist running!)...
    - SEE ABOVE ABOUT RULES FOR WIN7 FW

    Make sure the background services are running
    To see if the services are running, open the services control panel on your htpc (Start -> run -> services.msc) and see if the status of GmaWebService and TV4Home Core Service is Started.
    - GMAWEBSERVICE RUNNING AND AUTOSTART AS MENTIONED ABOVE (TV4 NOT USED)

    Use ip address instead of hostname
    Android sometimes has problems when using the dhcp hostnames to connect to pcs. Try to use the ip address of your htpc instead.
    TESTED FIXED IP. TESTED HOSTNAME - NONE WORK

    You can also try to use hostname.domain (e.g. myhtpc.htpcdomain) instead of only the hostname.
    - NOT ON A DOMAIN - USE WORKGROUPS

    Database locking
    Sometimes there are problems when GmaWebservice and the MediaPortal plugins are both accessing the databases. This will result in locked databases.
    - NO SUCH ERROR MESSAGE - CAN NOT EVEN CONNECT

    You will see a lot of errors like
    [insert log files here]
    in your MediaPortal log files.
    To fix this error, makes sure there are no files in your database folder that end with journal.db (if there are, delete them), then restart GmaWebService (Start -> run -> services.msc -> GmaWebService -> Restart Service).



    Streaming/Downloading doesn't work (all files have 0 Kb)
    This most likely means that GmaWebService doesn't have access to your files. GmaWebservice is started with the Local System Account, so if this User has no access rights to your media files, it can't stream them to aMPdroid. This often happens if the files are stored on a NAS (or some other remote location).
    To fix this, you can change the user und which the service is started:
    1.go to services (start -> run -> services.msc)
    2.find GmaWebservice
    3.right-click -> properties
    4.Log On Tab
    5.and then select "This account" and enter the username/password of your account (the one that has access to your media files)
    - SINCE I CAN NOT CONNECT I DONT EVEN HAVE THE POSSIBILITY TO GET THOSE ERRORS


    Remote not working
    If the remote functions are not working (the mepo in the lower right corner should be glowing) this means that you aren't connected (Menu->Connect) to WifiRemote. Make sure that:
    CHECK •WifiRemote plugin is installed
    CHECK •MediaPortal is running
    CHECK - SE ABOVE •WifiRemote ports are not blocked by firewall (default: 8080)

    NEXT MOVE - If aMPdroid is still not working, try to connect to the plugin with the WifiRemote Demo Client. Try to connect from a different pc to make sure there are no network issues. If you have checked everything and neither the demo client, nor aMPdroid can connect, have a look at your log files or report the issue on the forum (include the log files).

    NOT USED - TV Streaming does not work
    If tv streaming doesn't work, first make sure that you have installed vPlayer (https://market.android.com/details?i...=search_result). Unfortunately at the moment vPlayer is the only known available player that can handle the tv stream.
    If streaming still does not work, you can try to change the streaming endpoint in the tv server streaming section from [Auto] to the correct ip address.
    The problem is that the tv server per default will return an url like rtsp://myhtpc:554/stream2.0 and android seems to have a few serious bugs when it comes to resolving dhcp host names. If you select the ip address directly, tv server will return an url like rtsp://10.0.0.1:554/stream2.0.
    ------------

    tried verification and -> admin/admin for GMA on tablet on ampdroid, but same result


    Otherwise it looks like an awesome app :D
    Regards
    Boogieman
     

    hey__me

    Portal Pro
    March 12, 2009
    90
    1
    I am having a problem on windows 7 64bit. If Mediaportal is running I can't access anything that gma provides. however if mediaportal shutdown I could stream and browse all my media. seems like a permission issue?
     

    IchBinsShort

    Portal Pro
    January 3, 2008
    683
    54
    Home Country
    Germany Germany
    AW: [Android] aMPdroid 0.8 - Streaming and more

    Hello is a search function planned, in the next time ? Because I have 10.000 songs in my Library and it is very difficult to find the song you will be listen. All the others is very good, but the Music Section must be better. It would be great if we can get an Status update, about the features that will came with a new version.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Re: AW: [Android] aMPdroid 0.8 - Streaming and more

    Hello is a search function planned, in the next time ? Because I have 10.000 songs in my Library and it is very difficult to find the song you will be listen. All the others is very good, but the Music Section must be better. It would be great if we can get an Status update, about the features that will came with a new version.

    This feature req. is already in.
    You can vote here :) Also add other requests

    >> LINK <<
     

    Users who are viewing this thread

    Top Bottom