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:
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:
The batch file is opened from a vbs script file (simply save the following lines as startbatch.vbs):
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:
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:
- Server
As server I am using UltraVNC. 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: "Free bVNC" - 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: Chessware Virtual Keyboard. This fine peace of software lets you design your own touchkeyboard which overlays any application. The Pro Version with keyboard designer is USD 19.95, but there is a free demo. To avoid any confusion: The keyboard application is running on the HTPC/Windows - Keyboard-Design: With the Chessware keyboard designer i designed my own touch inputs, here is a screenshot from my android-phone connected to the htpc:
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 ;-)
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:
- 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)
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
Some hints:
- If you don't have an english OS, you have to translate "ESTABLISHED" (eg german: HERGESTELLT)
- Change the port to your VNC-port (standard: 5900)
- the command timeout only works on windows vista and above
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
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:
- Mediaportal (a really great mediacenter software )
- UltraVNC (VNC server)
- Chessware Virtual Keyboard
- Free bVNC (Android VNC Client)
Last edited: