Active Topics

 



Notices


Reply
Thread Tools
pety's Avatar
Posts: 10 | Thanked: 12 times | Joined on Apr 2010 @ Cyprus
#1
I released a few days ago in extras-devel repo a wifi remote control application for the latest xbmc (dharma). App is called xbmc potato and my intent is to control just the Audioplayer of XBMC. For anyone who finds it useful; Enjoy!

Cheers.

Released a new version (0.3). The previous version did not create an application launcher and icon when installed. Appreciate testing and feedback from anyone interested.

Instructions:
1. The app will only work with xbmc dharma and latest (it works with JSON RPC over tcp).
2. In XBMC settings:
a) Enable webserver
b) Allow External Control of XBMC" for localhost control and "Allow Control from other computers"
3. The first time the app is launched it will prompt for configuration settings. You will need to enter the ip address and port of xbmc.
(NOTE: port is not the one shown in XBMC. Thats the HTTP port. My TCP port is 9090 not 8080.)
4. Do not enable password on xbmc. It is not currently supported.

More to come...

Last edited by pety; 2011-01-21 at 17:43. Reason: New update and Instructions for use
 

The Following 7 Users Say Thank You to pety For This Useful Post:
elie-7's Avatar
Posts: 968 | Thanked: 663 times | Joined on Jun 2010 @ Australia (Melbourne/vic) / Lebanon (Zgharta/north)
#2
Originally Posted by pety View Post
I released a few days ago in extras-devel repo a wifi remote control application for the latest xbmc (dharma). App is called xbmc potato and my intent is to control just the Audioplayer of XBMC. For anyone who finds it useful; Enjoy!

Cheers.
hey man i think you should rename the title to :
[announce] XBMC Audioplayer Remote .
thanks for the app.
__________________
rolling down the street, smoking ENDO, sipping on gin and juice
laid back, with my mind on my money and my money on my mind .
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#3
Could you please post your source code in case it might be possible to port this to Diablo?

Thanks!
 

The Following User Says Thank You to Addison For This Useful Post:
Posts: 89 | Thanked: 27 times | Joined on Dec 2009 @ The Netherlands
#4
Thanks! I was looking forward to something like this. I'll give it a try!

Edit: Can you explain how I can run it?

Last edited by Trestry; 2010-12-30 at 00:11.
 
pety's Avatar
Posts: 10 | Thanked: 12 times | Joined on Apr 2010 @ Cyprus
#5
Originally Posted by Addison View Post
Could you please post your source code in case it might be possible to port this to Diablo?

Thanks!
You can get the source from http://maemo.org/packages/source/vie...cpotato/0.2-1/
 

The Following User Says Thank You to pety For This Useful Post:
pety's Avatar
Posts: 10 | Thanked: 12 times | Joined on Apr 2010 @ Cyprus
#6
Originally Posted by Trestry View Post
Thanks! I was looking forward to something like this. I'll give it a try!

Edit: Can you explain how I can run it?
Hi Trestry, I'll try to put together some instructions later on tonight.

Cheers
 

The Following 2 Users Say Thank You to pety For This Useful Post:
Posts: 89 | Thanked: 27 times | Joined on Dec 2009 @ The Netherlands
#7
Launching the app from the app-menu won't work...

Edit: Launching the app from the command-line gives the following output:

Code:
Nokia-N900:/opt/xbmcpot# sh xbmcpot
Traceback (most recent call last):
  File "xpot_main.py", line 9, in <module>
    from xpot_mainwindow import XPotMainWindow
  File "/opt/xbmcpot/xpot_mainwindow.py", line 4, in <module>
    import tools_dialog
  File "/opt/xbmcpot/tools_dialog.py", line 19, in <module>
    (Ui_XPotToolsDialog, QDialog) = uic.loadUiType('xpot_toolsdialog.ui')
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/__init__.py", line 158, in loadUiType
    winfo = compiler.UICompiler().compileUi(uifile, code_string)
TypeError: compileUi() takes exactly 4 arguments (3 given)

Last edited by Trestry; 2011-01-20 at 16:55.
 
pety's Avatar
Posts: 10 | Thanked: 12 times | Joined on Apr 2010 @ Cyprus
#8
Originally Posted by Trestry View Post
Launching the app from the app-menu won't work...

Edit: Launching the app from the command-line gives the following output:

Code:
Nokia-N900:/opt/xbmcpot# sh xbmcpot
Traceback (most recent call last):
  File "xpot_main.py", line 9, in <module>
    from xpot_mainwindow import XPotMainWindow
  File "/opt/xbmcpot/xpot_mainwindow.py", line 4, in <module>
    import tools_dialog
  File "/opt/xbmcpot/tools_dialog.py", line 19, in <module>
    (Ui_XPotToolsDialog, QDialog) = uic.loadUiType('xpot_toolsdialog.ui')
  File "/usr/lib/python2.5/site-packages/PyQt4/uic/__init__.py", line 158, in loadUiType
    winfo = compiler.UICompiler().compileUi(uifile, code_string)
TypeError: compileUi() takes exactly 4 arguments (3 given)
Hi Trestry,
I think there is a bug with the python bindings for qt. You can fix the error by editing file:
/usr/lib/python2.5/site-packages/PyQt4/uic/__init__.py

Find line 158, it should read:
winfo = compiler.UICompiler().compileUi(uifile, code_string)

change it to:
winfo = compiler.UICompiler().compileUi(uifile, code_string, None)

Save the file and try to start the app.
I appreciate your feedback.

Cheers.

P.S. Keep in mind that a future update of the qt bindings for python (PyQt) may break the app again, in which case you will need to reapply the change.
Thanks.
 

The Following User Says Thank You to pety For This Useful Post:
Posts: 575 | Thanked: 621 times | Joined on May 2010
#9
hey thing are working with the file __init__.py changed
but permission are denied when trying to regster the sbmc server for the 1st time xbmcpot is launched.

I think we got to modify the cfg file directly nop ?

also tryed launching in in sudo mode but it's crashing before configuration screen.
 
pety's Avatar
Posts: 10 | Thanked: 12 times | Joined on Apr 2010 @ Cyprus
#10
Originally Posted by clovis86 View Post
hey thing are working with the file __init__.py changed
but permission are denied when trying to regster the sbmc server for the 1st time xbmcpot is launched.

I think we got to modify the cfg file directly nop ?

also tryed launching in in sudo mode but it's crashing before configuration screen.
Hi,
You must not launch in sudo mode. Have you enabled the relevant settings in XBMC as shown on the top post? Maybe I forgot to mention that the port is not the one shown in XBMC settings. That's the HTTP port. The app. is using TCP port. For example, on my XBMC it shows port 8080 for HTTP but I configured port 9090 in xbmc potato. Also you need to restart the app. after you configure/change any settings. Also take care to enter the IP address of xbmc not the hostname. It won't work if you set the hostname, Also, please don't set a password in xbmc because I think I haven't implemented that feature yet.

Let me know how it goes so I can improve the app.

Thanks man.
 

The Following User Says Thank You to pety For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:37.