home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
aMPdroid
[Android] aMPdroid 0.8 - Streaming and more
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Boogieman" data-source="post: 789315" data-attributes="member: 59549"><p>I have exactly the same problem as you.</p><p></p><p>Opened incoming and outgoing ports in Win 7 x64 firewall</p><p><strong>WIFI remote + GMA</strong></p><p>INbound rules OPEN TCP 4321, 8080, 8017 (using default port but troubleshoot said also 8080 so added that one too)</p><p>OUTbound rules OPEN TCP 4321, 8080, 8017 (using default port but troubleshoot said also 8080 so added that one too)</p><p></p><p>Installed GMA and is running.</p><p>Installed WiFi remote and made sure it is enabled in MePo config.</p><p>Did not install TV4home since i dont have a tvserver but opened </p><p>port 4321 IN/OUT-bound in win7 firewall anyway since i saw that also GMA used it.</p><p></p><p>Have tested with MePo running and not running.</p><p>Neither remote nor shares can connect - keeps getting "remote connection couldnt be established" on every attempt</p><p></p><p>Entered static IP to my wireless adapter on my HTPC</p><p>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)</p><p></p><p>What have a missed?</p><p>Went through entire troubleshooting.</p><p>Didnt get the OCR-code to work even though it recognized it (after installing barcodetool)</p><p></p><p>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.</p><p></p><p>Tried the web-scripts from my remote pad, but got "could not find page"</p><p></p><p>Server PC with MePo+GMA+WiFi remote: Win 7 x64 sp1</p><p>Remote tab: Samsung Galaxy tab 7" - froyo 2.2</p><p>Router Asus WL-500W</p><p></p><p>Any ideas are helpful <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>HAVE CHECKED:</p><p>-----------</p><p>DONE - See the background services page for a overview of the aMPdroid communication.</p><p></p><p>THIS IS MY ISSUE - </p><p>No connection to service</p><p>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</p><p>IT SEEMS I CAN NOT ACCESS THEM THROUGH THE NETWORK</p><p></p><p>Try to access the services from your webbrowser</p><p>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.</p><p></p><p>GmaWebservice</p><p><a href="http://localhost:4321/GmaWebService/...iceDescription" target="_blank">http://localhost:4321/GmaWebService/...iceDescription</a></p><p>on the machine, which should return something like:</p><p>- LOCALHOST WORKS FINE FROM THE PC WHERE SERVICE ARE RUNNING</p><p>- THOUGH FROM MY PAD IT DOES NOT WORK AT ALL WHEN CHANGING LOCALHOST TO FIXED IP OF SERVER - JUST GET "WEB PAGE NOT AVAILABLE"</p><p>THIS DOES NOT WORK FROM TABLET </p><p><a href="http://192.168.1.9:4321/GmaWebService/MediaAccessService/json/GetServiceDescription" target="_blank">http://192.168.1.9:4321/GmaWebService/MediaAccessService/json/GetServiceDescription</a></p><p></p><p>view sourceprint?</p><p>GET THE DATA BELOW FROM LOCALHOST - AS ABOVE</p><p>01 { </p><p>02 "MovingPicturesApiVersion":1, </p><p>03 "MusicApiVersion":1, </p><p>04 "MyFilmsApiVersion":0, </p><p>05 "PicturesApiVersion":1, </p><p>06 "ServiceVersion":"1.0.0.0", </p><p>07 "StreamingApiVersion":0, </p><p>08 "SupportsMovingPictures":true, </p><p>09 "SupportsMusic":true, </p><p>10 "SupportsMyFilms":false, </p><p>11 "SupportsPictures":false, </p><p>12 "SupportsTvSeries":true, </p><p>13 "SupportsVideos":true, </p><p>14 "TvSeriesApiVersion":1, </p><p>15 "VideoApiVersion":1 </p><p>16 } </p><p></p><p></p><p>Some more urls to test GmaWebservice:</p><p></p><p>OK LOCAL •Series: <a href="http://localhost:4321/GmaWebService/...sort=0&order=0" target="_blank">http://localhost:4321/GmaWebService/...sort=0&order=0</a></p><p>OK LOCAL •Movies: ]http://localhost:4321/GmaWebService/...sort=0&order=0</p><p>OK LOCAL •Videos: <a href="http://localhost:4321/GmaWebService/...sort=0&order=0" target="_blank">http://localhost:4321/GmaWebService/...sort=0&order=0</a></p><p>OK LOCAL •Video Shares: <a href="http://localhost:4321/GmaWebService/...GetVideoShares" target="_blank">http://localhost:4321/GmaWebService/...GetVideoShares</a></p><p>NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Albums: <a href="http://localhost:4321/GmaWebService/...sort=0&order=0" target="_blank">http://localhost:4321/GmaWebService/...sort=0&order=0</a></p><p>NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Artists: <a href="http://localhost:4321/GmaWebService/...sort=0&order=0" target="_blank">http://localhost:4321/GmaWebService/...sort=0&order=0</a></p><p></p><p>NOT USED - Tv4Home</p><p><a href="http://localhost:4321/TV4Home.Server...ionToTVService" target="_blank">http://localhost:4321/TV4Home.Server...ionToTVService</a></p><p>Should return true</p><p>Further urls to test the Tv4Home service:</p><p>•Get all Groups: <a href="http://localhost:4321/TV4Home.Server...json/GetGroups" target="_blank">http://localhost:4321/TV4Home.Server...json/GetGroups</a></p><p>•Get all channels: <a href="http://localhost:4321/TV4Home.Server...asic?groupId=0" target="_blank">http://localhost:4321/TV4Home.Server...asic?groupId=0</a> (insert group id from GetGroups)</p><p>•Get cards: <a href="http://localhost:4321/TV4Home.Server.../json/GetCards" target="_blank">http://localhost:4321/TV4Home.Server.../json/GetCards</a></p><p>•Get recordings: <a href="http://localhost:4321/TV4Home.Server.../GetRecordings" target="_blank">http://localhost:4321/TV4Home.Server.../GetRecordings</a></p><p>•Get schedules: <a href="http://localhost:4321/TV4Home.Server...n/GetSchedules" target="_blank">http://localhost:4321/TV4Home.Server...n/GetSchedules</a></p><p> </p><p></p><p>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.</p><p>- GMAWEBSERVICE RUNNING AND AUTOSTART</p><p> </p><p>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!)...</p><p>- SEE ABOVE ABOUT RULES FOR WIN7 FW</p><p></p><p>Make sure the background services are running</p><p>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.</p><p>- GMAWEBSERVICE RUNNING AND AUTOSTART AS MENTIONED ABOVE (TV4 NOT USED)</p><p></p><p>Use ip address instead of hostname</p><p>Android sometimes has problems when using the dhcp hostnames to connect to pcs. Try to use the ip address of your htpc instead.</p><p>TESTED FIXED IP. TESTED HOSTNAME - NONE WORK</p><p></p><p>You can also try to use hostname.domain (e.g. myhtpc.htpcdomain) instead of only the hostname.</p><p>- NOT ON A DOMAIN - USE WORKGROUPS</p><p></p><p>Database locking</p><p>Sometimes there are problems when GmaWebservice and the MediaPortal plugins are both accessing the databases. This will result in locked databases.</p><p>- NO SUCH ERROR MESSAGE - CAN NOT EVEN CONNECT</p><p></p><p>You will see a lot of errors like</p><p>[insert log files here]</p><p>in your MediaPortal log files.</p><p>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).</p><p></p><p> </p><p></p><p>Streaming/Downloading doesn't work (all files have 0 Kb)</p><p>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).</p><p>To fix this, you can change the user und which the service is started:</p><p>1.go to services (start -> run -> services.msc)</p><p>2.find GmaWebservice</p><p>3.right-click -> properties</p><p>4.Log On Tab</p><p>5.and then select "This account" and enter the username/password of your account (the one that has access to your media files)</p><p>- SINCE I CAN NOT CONNECT I DONT EVEN HAVE THE POSSIBILITY TO GET THOSE ERRORS</p><p> </p><p></p><p>Remote not working</p><p>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:</p><p>CHECK •WifiRemote plugin is installed</p><p>CHECK •MediaPortal is running</p><p>CHECK - SE ABOVE •WifiRemote ports are not blocked by firewall (default: 8080)</p><p></p><p>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).</p><p></p><p>NOT USED - TV Streaming does not work</p><p>If tv streaming doesn't work, first make sure that you have installed vPlayer (<a href="https://market.android.com/details?i...=search_result" target="_blank">https://market.android.com/details?i...=search_result</a>). Unfortunately at the moment vPlayer is the only known available player that can handle the tv stream.</p><p>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.</p><p>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.</p><p>------------</p><p></p><p>tried verification and -> admin/admin for GMA on tablet on ampdroid, but same result</p><p></p><p></p><p>Otherwise it looks like an awesome app <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p>Regards</p><p>Boogieman</p></blockquote><p></p>
[QUOTE="Boogieman, post: 789315, member: 59549"] I have exactly the same problem as you. Opened incoming and outgoing ports in Win 7 x64 firewall [B]WIFI remote + GMA[/B] 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 [url]http://localhost:4321/GmaWebService/...iceDescription[/url] 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 [url]http://192.168.1.9:4321/GmaWebService/MediaAccessService/json/GetServiceDescription[/url] 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: [url]http://localhost:4321/GmaWebService/...sort=0&order=0[/url] OK LOCAL •Movies: ]http://localhost:4321/GmaWebService/...sort=0&order=0 OK LOCAL •Videos: [url]http://localhost:4321/GmaWebService/...sort=0&order=0[/url] OK LOCAL •Video Shares: [url]http://localhost:4321/GmaWebService/...GetVideoShares[/url] NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Albums: [url]http://localhost:4321/GmaWebService/...sort=0&order=0[/url] NOT OK LOCAL - UNABLE TO OPEN THE INTERNET SITE •Music Artists: [url]http://localhost:4321/GmaWebService/...sort=0&order=0[/url] NOT USED - Tv4Home [url]http://localhost:4321/TV4Home.Server...ionToTVService[/url] Should return true Further urls to test the Tv4Home service: •Get all Groups: [url]http://localhost:4321/TV4Home.Server...json/GetGroups[/url] •Get all channels: [url]http://localhost:4321/TV4Home.Server...asic?groupId=0[/url] (insert group id from GetGroups) •Get cards: [url]http://localhost:4321/TV4Home.Server.../json/GetCards[/url] •Get recordings: [url]http://localhost:4321/TV4Home.Server.../GetRecordings[/url] •Get schedules: [url]http://localhost:4321/TV4Home.Server...n/GetSchedules[/url] 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 ([url]https://market.android.com/details?i...=search_result[/url]). 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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
aMPdroid
[Android] aMPdroid 0.8 - Streaming and more
Contact us
RSS
Top
Bottom