LinHES Forums
http://forum.linhes.org/

Problem with Sipie in R5F27 (Solved)
http://forum.linhes.org/viewtopic.php?f=6&t=16456
Page 1 of 1

Author:  rsay [ Tue Sep 11, 2007 9:54 pm ]
Post subject:  Problem with Sipie in R5F27 (Solved)

I am using R5F27 and get the following error when running sipie from the command line as user mythtv before the captcha is displayed. I give my sirius user name, sirius password, subscriber status and Canada=False before the error occurs.

Code:
Traceback (most recent call last):
  File "/usr/bin/sipie", line 5, in ?
    pkg_resources.run_script('Sipie==0.1181072404', 'sipie')
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
line 1091, in run_script
    exec script_code in namespace, namespace
  File "/usr/bin/sipie", line 22, in ?
   
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/cliPlayer.py",
line 71, in cliPlayer
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/Factory.py",
line 372, in getStreams
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/Factory.py",
line 303, in tryGetStreams
Sipie.Factory.AuthError


My config file looks like this when the error occurs:

Code:
[sipie]
username = ******
login_type = subscriber
canada = False
bitrate = low
cryptpass = *************


My cookies.txt looks like this when the error occurs:

Code:
   # Netscape HTTP Cookie File
    # http://www.netscape.com/newsref/std/cookie_spec.html
    # This is a generated file!  Do not edit.

www.sirius.com   FALSE   /   FALSE      captcha_timestamp   1189561893459
www.sirius.com   FALSE   /   FALSE      sirius_campain_code   null
www.sirius.com   FALSE   /   FALSE      sirius_promocode   null
www.sirius.com   FALSE   /sirius   FALSE      JSESSIONID   AocFcHc-0Zl5VA4uhjx7AgWqut7iQJ64x4CAmN_w


Has anybody else got this working?

Author:  rsay [ Tue Sep 11, 2007 11:56 pm ]
Post subject: 

I have made some minor progress on this problem. I found a forum posting on the sipie sourceforge site that indicated that there has been a change in the way that captcha works requiring a sipie update:

Code:
mkdir /home/mythtv/sipie
cd /home/mythtv/sipie
svn co https://sipie.svn.sourceforge.net/svnroot/sipie sipie
python -m easy_install /home/mythtv/sipie/sipie/
cp /usr/bin/cliSipie /usr/bin/sipie


Last, I edited /usr/bin/sipie_kill changing the line that reads:

Code:
killall python


to

Code:
killall /usr/bin/python


After these changes, sipie begins to work with one caveat. I have to run sipie_kill from the command line because I don't know how to send the sipie_kill command from the remote. I have the streamzap remote so I would like to get /usr/bin/sipie_kill mapped to the exit button.

Author:  rsay [ Wed Sep 12, 2007 9:46 am ]
Post subject: 

I solved this problem by adding the following lines to my /home/mythtv/.lircrc

Code:
### Mute button in sirius/sipie
begin
   prog = irexec
   button = MUTE
   config = amixer -c 0 -- sset Master playback toggle
end

### increase volume in sirius/sipie
begin
   prog = irexec
   button = VOL_UP
   config = amixer -c 0 -- sset Master playback 10%+
end

### decrease volume in sirius/sipie
begin
   prog = irexec
   button = VOL_DOWN
   config = amixer -c 0 -- sset Master playback 10%-
END

# Stop sirius/sipie
begin
   prog = irexec
   button = EXIT
   config = /usr/bin/sipie_kill
end


Now I have volume controls and mute for sirius :D

Author:  rsay [ Mon Apr 28, 2008 9:06 am ]
Post subject: 

With the latest updates I have had to change the way sipie_kill works but otherwise things are running again.

Here is my new /usr/bin/sipie_kill

Code:
#!/bin/bash
# Kill sipie from Myth

killall /usr/bin/python
killall /usr/bin/mplayer

Author:  jbm2131 [ Sun May 25, 2008 1:33 am ]
Post subject: 

I have been using sipie and it has been working well, except that I was a little a bummed that the pop-up feature wasn't working for me. I had switched from using cliSipie to mythPlayer.py in the sipie_myth script, but still no luck. Well, after doing some research, I was able to get the pop-ups to work by installing the notification-daemon package with apt-get. Not sure if anyone else had the same problem. Maybe future releases will have the notification-daemon package?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/