View Single Post
Posts: 203 | Thanked: 375 times | Joined on Nov 2009
#117
Originally Posted by thorin View Post
Hello and thank you for this excellent application!

I really like the NFC feature, however I only got it to work when Xbmcremote was already running. I wanted the application to launch when reading an xbmc: tag and automatically connect to the specified server. I solved it by creating another .desktop file telling the system what to do with xbmc: URI's and writing my own NFC tag of the type URI instead of text.

And now it works the way I want!

This will open the application for any xbmc: URI but it won't make it connect to the specified server. I only use one XBMC server and the application automatically connects to it, so for me it's not a problem.


Just thought I'd let you know

/usr/share/applications/xbmcremote_harmattan_interface.desktop
Code:
[Desktop Entry]
Type=Application
Name=Xbmcremote
Icon=/usr/share/icons/hicolor/80x80/apps/xbmcremote_harmattan.png
Type=Application
Terminal=false
Exec=/usr/bin/single-instance /opt/usr/bin/xbmcremote
MimeType=x-maemo-urischeme/xbmc;
NotShowIn=X-MeeGo;
Awesome! I'll add this to the desktop file and see how to get the complete uri to connect to the correct one.

Thanks a lot

EDIT: Btw. nice to know someone is actually using the NFC feature. I really thought I did that one for nothing