|
| Author |
Message |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Mon Apr 14, 2008 1:27 pm Post subject: pyTivo Manager, need a couple of beta testers |
|
|
So I have written a little .NET application that acts something like a manager for pyTivo.
I did this because for some reason the service never worked for me so I always had to run the Command line. I hated that thing running on my machine so I wanted to hide it.
Basically the program asks you if you are running a service or from command line. If it's running from a service, it allows you to stop, start, and restart the service.
If you are running from the command line, you can do the same, but the command line doesn't show. When you minimize the app, it goes to the task bar.
It's probably buggy. It works for me, but there is a lot of other set ups out there.
Would anyone be willing to give this a look through before I publish it to everyone? _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Tue Apr 15, 2008 1:21 pm Post subject: |
|
|
Is no one interested in something like this?
If not, I will continue testing it internally and when I am confident, I will just release to who ever wants to try it...
I think it's pretty nifty, but maybe it's not... _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 458 Location: Los Angeles, CA
|
Posted: Wed Apr 16, 2008 12:39 am Post subject: |
|
|
| I think the service with the windows installer is a little more stable than the older version that used pyWin32. I don't know maybe that is why people are jumping on?? |
|
| Back to top |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 219 Location: St. Pete, FL
|
Posted: Wed Apr 16, 2008 6:41 pm Post subject: |
|
|
I'd help, but I'm on Linux.  _________________ pyTiVo on Ubuntu 11.10 (Oneiric) |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Thu Apr 17, 2008 3:32 pm Post subject: Beta Version Release |
|
|
Well, if anyone wants to look at it...
I like it, and it really works for me. When you first run it, it will tell you that you don't have a settings file. Go through the options (really just 3 items: asking if you run pyTivo as a service, where is your pyTivo directory, and what is the port for the Admin stuff).
Let me know if you find anything really wrong...
pyTivo Manager
http://pytivo.krkeegan.com/download/MasterCephus/MetaGenerator.zip _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
windracer

Joined: 04 Jan 2008 Posts: 219 Location: St. Pete, FL
|
Posted: Thu Apr 17, 2008 3:39 pm Post subject: |
|
|
Just for fun, I grabbed it to run on my XP laptop (no pyTiVo installed).
Your Cancel button on the initial pyTivo Manager Options dialog doesn't work. When I click it, it loops back to "you don't have a settings file" and then opens the dialog again. Red X doesn't work either, so I had to kill it via Task Manager. _________________ pyTiVo on Ubuntu 11.10 (Oneiric) |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Thu Apr 17, 2008 7:13 pm Post subject: |
|
|
Yeah, I will change that....you HAVE to have a settings file for it to run...
I might just let you see the form, but still not let you do anything... _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Thu Apr 17, 2008 10:29 pm Post subject: |
|
|
Ok Fixed that problem...
Now what happens, when you close the options form, it checks to see if you have settings file and if you don't, it just makes a file that has no meaningful settings... _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
|
| Back to top |
|
 |
rjmitche
Joined: 05 Jan 2008 Posts: 47
|
Posted: Sat May 03, 2008 6:08 pm Post subject: |
|
|
I tried this out today and couldn't seem to get it to work for me. I'm running in console mode (for now) but, when I run your Manager application, it doesn't recognize the pyTivo is running. If I run it when pyTivo isn't running, it allows me to use the "Start pyTivo" button, appears to try and start but, ends up not running. At that point, only the "Restart pyTivo" button is available. Clicking "Restart pyTivo" results in an attempt to start but, ultimately, nothing seems to happen (as far as I can tell).
Any ideas? |
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Sat May 03, 2008 10:52 pm Post subject: |
|
|
Yeah I don't think it will be able to "find" pyTivo running in console mode if it didn't start it.
When you start pyTivo from the manager in console mode, can you look at your process list and see if python is running?
Also, are you running pyTivo as a service also? _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
rjmitche
Joined: 05 Jan 2008 Posts: 47
|
Posted: Sun May 04, 2008 1:34 am Post subject: |
|
|
I have run pyTivo as a service so, it is installed but, while I've been working with pyTivo Manager, the service is not running.
Here's what's happening:
With pyTivo not running, I run the pyTivo Manager app.
It shows "pyTivo Status: Stopped" and "pyTivo is set to run from commandline"... [Start pyTivo] button is available.
When I click the [Start pyTivo] button, I briefly see the progress indicator (and "pyTivo Status: running" behind it) but, it quickly turns to "pyTivo Status: Stopped:...... only [Restart pyTivo] button is available. Watching the Processes in Task Manager does not show python running.
At this point, clicking [Restart pyTivo] appears to attempt to stop/start pyTivo (i.e. I see the progress bar) but nothing starts.
For completeness, here is what the settings.xml file contains:
| Code: | <?xml version="1.0" encoding="utf-8"?>
<settings>
<pyTivoDirectory>C:\Program Files\pyTivo\</pyTivoDirectory>
<isService>FALSE</isService>
<AdminPort>9032</AdminPort>
</settings> |
|
|
| Back to top |
|
 |
MasterCephus

Joined: 05 Jan 2008 Posts: 195 Location: Hueytown, AL
|
Posted: Wed May 07, 2008 2:25 am Post subject: |
|
|
can you try this:
open up your process list and sort the processes by name. Look around the "P"s and then try to start pyTivo through the manager while watching the process list. See if when it tries to start that python process starts...
Also, just for kicks, copy your pyTivo folder to your C:\ directory and change your settings...
I am wondering if the python process dies, or for some reason the blank space in the Program Files is killing it...
Can you try those things... _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
rjmitche
Joined: 05 Jan 2008 Posts: 47
|
Posted: Wed May 07, 2008 3:12 am Post subject: |
|
|
| MasterCephus wrote: | open up your process list and sort the processes by name. Look around the "P"s and then try to start pyTivo through the manager while watching the process list. See if when it tries to start that python process starts... |
I did see python start briefly... once... I couldn't seem to get it to appear after that first time though.
| MasterCephus wrote: | Also, just for kicks, copy your pyTivo folder to your C:\ directory and change your settings...
I am wondering if the python process dies, or for some reason the blank space in the Program Files is killing it... |
This worked so you may be onto something with the space in the directory name... |
|
| Back to top |
|
 |
rjmitche
Joined: 05 Jan 2008 Posts: 47
|
Posted: Wed May 07, 2008 11:51 pm Post subject: |
|
|
| Any chance of being able to use this to start pyTivo (command line) at Windows startup and have it be hidden/minimized? |
|
| Back to top |
|
 |
|