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
my android remote solution for playing music/radio without screen
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="KuLuYuk" data-source="post: 982276" data-attributes="member: 121403"><p>Update: After testing a lot I finally found the best solution for a remote solution for playing music/radio with mediaportal: Just don't use mediaportal ;-)</p><p></p><p>Since I have a Qnap NAS in my network i installed the logitech squeezebox app on the NAS which acts as a music server. Furthermore I have two logitech Squeezebox radios with build-in speakers and batteries. On my htpc i installed the client-software squeezeslave which runs as a background service.</p><p></p><p>And the best: with the free logitech squeezebox-app for android i can control every client with my tablet.</p><p></p><p></p><p>Original post:</p><p>Hi there</p><p></p><p>I want to share with you my experience with trying to get a working and easy to handle android remote control for my HTPC. The goal is to play music or radio without(!) seeing the htpc-monitor. First I tried the app AmpDroid. The app is really great, thats why I also paid for it, but it has some disadvantages: It is not possible to browse the music collection like on the HTPC (eg. genre-->albumartist-->artist-->album-->tracks). Another disadvantege is the lack of radio support. I hope these features will be integrated in the next version of ampdroid, but until then I have my own custom solution:</p><p></p><p>The main idea is to access the HTPC via VNC client:</p><ul> <li data-xf-list-type="ul">Server<br /> As server I am using <strong>UltraVNC</strong>. It is really fast (maybe the fastest?), free and easy to install.</li> <li data-xf-list-type="ul">Client<br /> Any Android VNC client could be used, but for me there where two demands:<br /> 1. Fullscreen scaled view of the remote desktop<br /> 2. Easy mouse input, which means: The click is executed exactly on the pixel/button where i click (no touchpad-like behavior)<br /> My recomandation: "<strong>Free bVNC</strong>"</li> <li data-xf-list-type="ul">Keyboard for touch-input<br /> Because Mediaportal can not be controled very good with only a mouse or touch-input I need a screen-overlay with additional buttons: <strong>Chessware Virtual Keyboard</strong>. This fine peace of software lets you design your own touchkeyboard which overlays any application. The Pro Version with keyboard designer is <strong>USD 19.95, but there is a free demo</strong>. To avoid any confusion: <strong>The keyboard application is running on the HTPC</strong>/<strong>Windows</strong></li> <li data-xf-list-type="ul"><p style="text-align: left">Keyboard-Design: With the Chessware keyboard designer i designed my own touch inputs, here is a <span style="font-size: 12px"><strong>screenshot from my android-phone</strong></span> connected to the htpc:[ATTACH=full]125649[/ATTACH]<br /> The buttons are very dominant, I know, but my phone is quite small and I want to have an easy-to-use interface. With a big fancy Android-tablet the design could be probably optimized ;-)</p> </li> </ul><p>Ok, so now I have my working VNC-connection with touch-support, great! Just to warn you:If you think: "What the f*** is this guy doing, who needs this sh**?!?!" you should probably stop reading right now ;-)</p><p>And for the others:</p><p>The touch-keyboard overlay works well, but of course I want it to disappear automatically when it is not needed. So i wrote a batch file, which does exactly the above. Here is what the batch-file is doing:</p><ol> <li data-xf-list-type="ol">check if there is an open connection on the VNC-port</li> <li data-xf-list-type="ol">yes: open touch keyboard</li> <li data-xf-list-type="ol">no: close touch keyboard (For closing the touch-keyboard there is an exe "killIT.exe", it does exactly what the name suggests)</li> </ol><p>So here is my batch-file:</p><p>[CODE]@echo off</p><p></p><p>set keyboard=off</p><p></p><p>:start</p><p></p><p>cls</p><p></p><p>set var=</p><p></p><p>FOR /F "tokens=*" %%A IN ('netstat -an ^| FIND "ESTABLISHED" ^|FIND ":45900"') DO SET var=%%A</p><p></p><p>if "%var%"=="" (</p><p></p><p> echo No connection</p><p></p><p> if %keyboard% == on (</p><p></p><p> echo deactivating keyboard</p><p></p><p> start "test" /b /i "C:\Program Files (x86)\Chessware\TouchIt\killit.exe"</p><p></p><p> set keyboard=off </p><p></p><p> )</p><p></p><p> GOTO exit</p><p></p><p> )</p><p></p><p>echo connection established</p><p></p><p>if %keyboard%==off (</p><p></p><p> echo activating keyboard</p><p></p><p> start "test" /b /i "C:\Program Files (x86)\Chessware\TouchIt\touchit.exe"</p><p></p><p> set keyboard=on</p><p></p><p>)</p><p></p><p>:exit</p><p></p><p>TIMEOUT /T 5</p><p></p><p>GOTO start[/CODE]</p><p style="text-align: left">Some hints:</p> <ol> <li data-xf-list-type="ol">If you don't have an english OS, you have to <strong>translate</strong> "<strong>ESTABLISHED</strong>" (eg german: HERGESTELLT)</li> <li data-xf-list-type="ol">Change the <strong>port</strong> to your VNC-port (standard: 5900)</li> <li data-xf-list-type="ol">the command <strong>timeout</strong> only works on windows vista and above</li> </ol><p>OK, so now I have a nice batch file, but I don't want to have any opened cmd window on my htpc. The solution:</p><p>The batch file is opened from a vbs script file (simply save the following lines as startbatch.vbs):</p><p>[CODE]Set WshShell = CreateObject("WScript.Shell")</p><p>WshShell.Run chr(34) & "C:\keyboard.bat" & Chr(34), 0</p><p>Set WshShell = Nothing[/CODE]</p><p></p><p>Yeah, thats finally it! The touch-interface disappears when i don't need it, and automaticaly starts when a VNC connection is established</p><p></p><p>Here is a list of all the needed software:</p><ul> <li data-xf-list-type="ul"><a href="https://www.team-mediaportal.com/" target="_blank">Mediaportal (a really great mediacenter software <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />) </a></li> <li data-xf-list-type="ul"><a href="http://www.uvnc.com/" target="_blank">UltraVNC </a>(VNC server)</li> <li data-xf-list-type="ul"><a href="http://www.chessware.ch/virtual-keyboard/" target="_blank">Chessware Virtual Keyboard</a></li> <li data-xf-list-type="ul"><a href="https://play.google.com/store/apps/details?id=com.iiordanov.freebVNC&hl=de" target="_blank">Free bVNC</a> (Android VNC Client)</li> </ul><p>Thank you for reading!</p></blockquote><p></p>
[QUOTE="KuLuYuk, post: 982276, member: 121403"] Update: After testing a lot I finally found the best solution for a remote solution for playing music/radio with mediaportal: Just don't use mediaportal ;-) Since I have a Qnap NAS in my network i installed the logitech squeezebox app on the NAS which acts as a music server. Furthermore I have two logitech Squeezebox radios with build-in speakers and batteries. On my htpc i installed the client-software squeezeslave which runs as a background service. And the best: with the free logitech squeezebox-app for android i can control every client with my tablet. Original post: Hi there I want to share with you my experience with trying to get a working and easy to handle android remote control for my HTPC. The goal is to play music or radio without(!) seeing the htpc-monitor. First I tried the app AmpDroid. The app is really great, thats why I also paid for it, but it has some disadvantages: It is not possible to browse the music collection like on the HTPC (eg. genre-->albumartist-->artist-->album-->tracks). Another disadvantege is the lack of radio support. I hope these features will be integrated in the next version of ampdroid, but until then I have my own custom solution: The main idea is to access the HTPC via VNC client: [LIST] [*]Server As server I am using [B]UltraVNC[/B]. It is really fast (maybe the fastest?), free and easy to install. [*]Client Any Android VNC client could be used, but for me there where two demands: 1. Fullscreen scaled view of the remote desktop 2. Easy mouse input, which means: The click is executed exactly on the pixel/button where i click (no touchpad-like behavior) My recomandation: "[B]Free bVNC[/B]" [*]Keyboard for touch-input Because Mediaportal can not be controled very good with only a mouse or touch-input I need a screen-overlay with additional buttons: [B]Chessware Virtual Keyboard[/B]. This fine peace of software lets you design your own touchkeyboard which overlays any application. The Pro Version with keyboard designer is [B]USD 19.95, but there is a free demo[/B]. To avoid any confusion: [B]The keyboard application is running on the HTPC[/B]/[B]Windows[/B] [*][LEFT]Keyboard-Design: With the Chessware keyboard designer i designed my own touch inputs, here is a [SIZE=3][B]screenshot from my android-phone[/B][/SIZE] connected to the htpc:[ATTACH=full]125649[/ATTACH] The buttons are very dominant, I know, but my phone is quite small and I want to have an easy-to-use interface. With a big fancy Android-tablet the design could be probably optimized ;-)[/LEFT] [/LIST] Ok, so now I have my working VNC-connection with touch-support, great! Just to warn you:If you think: "What the f*** is this guy doing, who needs this sh**?!?!" you should probably stop reading right now ;-) And for the others: The touch-keyboard overlay works well, but of course I want it to disappear automatically when it is not needed. So i wrote a batch file, which does exactly the above. Here is what the batch-file is doing: [LIST=1] [*]check if there is an open connection on the VNC-port [*]yes: open touch keyboard [*]no: close touch keyboard (For closing the touch-keyboard there is an exe "killIT.exe", it does exactly what the name suggests) [/LIST] So here is my batch-file: [CODE]@echo off set keyboard=off :start cls set var= FOR /F "tokens=*" %%A IN ('netstat -an ^| FIND "ESTABLISHED" ^|FIND ":45900"') DO SET var=%%A if "%var%"=="" ( echo No connection if %keyboard% == on ( echo deactivating keyboard start "test" /b /i "C:\Program Files (x86)\Chessware\TouchIt\killit.exe" set keyboard=off ) GOTO exit ) echo connection established if %keyboard%==off ( echo activating keyboard start "test" /b /i "C:\Program Files (x86)\Chessware\TouchIt\touchit.exe" set keyboard=on ) :exit TIMEOUT /T 5 GOTO start[/CODE] [LEFT]Some hints:[/LEFT] [LIST=1] [*]If you don't have an english OS, you have to [B]translate[/B] "[B]ESTABLISHED[/B]" (eg german: HERGESTELLT) [*]Change the [B]port[/B] to your VNC-port (standard: 5900) [*]the command [B]timeout[/B] only works on windows vista and above [/LIST] OK, so now I have a nice batch file, but I don't want to have any opened cmd window on my htpc. The solution: The batch file is opened from a vbs script file (simply save the following lines as startbatch.vbs): [CODE]Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "C:\keyboard.bat" & Chr(34), 0 Set WshShell = Nothing[/CODE] Yeah, thats finally it! The touch-interface disappears when i don't need it, and automaticaly starts when a VNC connection is established Here is a list of all the needed software: [LIST] [*][URL='https://www.team-mediaportal.com/']Mediaportal (a really great mediacenter software ;)) [/URL] [*][URL='http://www.uvnc.com/']UltraVNC [/URL](VNC server) [*][URL='http://www.chessware.ch/virtual-keyboard/']Chessware Virtual Keyboard[/URL] [*][URL='https://play.google.com/store/apps/details?id=com.iiordanov.freebVNC&hl=de']Free bVNC[/URL] (Android VNC Client) [/LIST] Thank you for reading! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
my android remote solution for playing music/radio without screen
Contact us
RSS
Top
Bottom