TiVo Community Forum banner
221 - 240 of 2630 Posts

·
Registered
Joined
·
411 Posts
No problem. One question: Does your version change the timing that was done from pyTivo itself? Just curious - as wmcbrine's pyTivo (using the tivodecode @moyekj patched for windows) has no problems. If that works with no timing issues, did the timing of the call change in this version of pyTivo?
 

·
Super Moderator
Joined
·
59,954 Posts
Discussion Starter · #222 ·
Mine changes the way the decryption is done. The original uses a pipe to feeds the data directly into tivodecode, so it's actually decoded as the data is downloaded. tivolibre doesn't support that method of input so I had to make it a two step process where the data is written to disk first, then that's fed into tivolibre as a file after it completes. My theory here is that python uses an asyncronous close call after the file completes. Which means that the code after the call to close is executed immediately, even if the file hasn't actually been released yet. This can lead to weird timing issues where if tivolibre tries to open it before it's ready it will be denied access, which it apparenly treats as if the file isn't there at all.

If the sleep doesn't work then I'm going to add an option to enable the old tivodecode method and allow the user to choose. I added the tivolibre one because tivodecode does not work with TS files and tivolibre does, but if tivolibre is causing issues then I don't want to force people to use it. I can add another option so the user can choose which one to use.
 

·
Registered
Joined
·
12,357 Posts

·
Super Moderator
Joined
·
59,954 Posts
Discussion Starter · #226 ·
Dan, not sure what gave you the impression tivolibre doesn't support stdin/stdout.
From the the web page:
GitHub - fflewddur/tivolibre: Java app and library for decoding TiVo files to standard MPEG files.
You're right, it does work! :up: When me and wmcbrine were discussing this via PM he said he didn't think tivolibre worked that way and I just assumed he was correct. But I just ran some tests and it works fine using the pipe method. I'm going to switch the code over to using that method for the next release.
 

·
Super Moderator
Joined
·
59,954 Posts
Discussion Starter · #228 ·
I thinking about possible feature enhancements going forward and I'm wondering if there is anything you guys wish this did that it doesn't do now?

One idea I had was automatic downloads. So you could set up a series to automatically download new episodes to your PC when they completed. Not sure how useful that would be to people, but I think it would be relatively easy to do.

Any other ideas you guys have?
 

·
Registered
Joined
·
411 Posts
A new build has been posted. This one removes the two step decryption process and reverts to the old decrypt as it downloads option it had before, but using tivolibre instead of tivodecode.
And .... (pause for dramatic impact) ... Success!

All transfer tests I've tried have been successful. Tried using Transport Stream and a successful decoded .ts file left in it's place. Tried using Program Stream and a successful decoded .mpg file left in it's place.

That seems to have solved whatever was going on with my machine. :)

Thanks for all of the work on it!
 

·
TDL shepherd
Joined
·
17,538 Posts
I thinking about possible feature enhancements going forward and I'm wondering if there is anything you guys wish this did that it doesn't do now?
I haven't yet started using pieTivo (easy-as-pie pyTivo ;)), but one thing I would find handy, as a laptop user jumping between houses and TiVo accounts, is the ability to quickly switch the account-specific settings. Being able to automatically recognize which network I'm on would be nice, but just being able to select a different configuration and restart would be handy.

As I said, I haven't used the product, so what I'm requesting may make zero sense, or already exist.
 

·
TDL shepherd
Joined
·
17,538 Posts
One thought I've had is if pyTivo is always running in the background, I was wondering if there was some way it could detect rebooted DVRs and send out an alert -- with an added bonus if the alert could identify any recordings that were disrupted and likely truncated.
 

·
Registered
Joined
·
27,636 Posts
I thinking about possible feature enhancements going forward and I'm wondering if there is anything you guys wish this did that it doesn't do now?

One idea I had was automatic downloads. So you could set up a series to automatically download new episodes to your PC when they completed. Not sure how useful that would be to people, but I think it would be relatively easy to do.
And so, that would be the equivalent of an auto-archive, which could be handy for shows that you know you want to archive. Would be handy.
Another: automatic commercial edit?
 

·
Registered
Joined
·
313 Posts
Dan203, thank you very much for making this! I'm new to pyTivo, but with your version from a few days ago, 1.5.5, I was able to get it installed, and working, without fuss or incident. Both on a Win7 laptop, and a Win10 laptop.

I don't know if this is the right place to ask questions, please tell me if I should ask somewhere else. I just ordered a Bolt to replace my pair of Series 2s.

Before it arrives, I'm trying to copy my recorded shows off the Series 2s, so that I can transfer them to the new Bolt. I have 2 different units, both with upgraded storage, so there are several hundred recordings total.

I have successfully copied some shows to my computer so far. I want to start getting them pulled off the old machines, which will be deactivated 10 days after setting up the Bolt. I have two basic pyTivo questions, I'm hoping someone can help:
- Is it possible to select the recordings in-bulk, to queue them for transferring? I can go folder-by-folder, file-by-file, but if there's a good way to select groups of files all at once, that would be great. Even if I had to pull them using other software, perhaps (TiVo Desktop?).
- Can pyTiVo push them from my computer to the new Bolt, in bulk? I don't currently see any Push options, I can only share a folder using pyTivo. Then I'd have to individually select each one to be pulled, using the TiVo, which would be quite cumbersome. Will I see a Push option in pyTivo when the Bolt is available on my network? I don't know if maybe the Series 2s don't support Push, perhaps.

Please forgive the basic questions. Like I said, I'm brand new to pyTivo, which seems like a very cool program. Thank you.
 

·
Super Moderator
Joined
·
59,954 Posts
Discussion Starter · #237 ·
Yeah sorry, neither of those are currently possible. As lpwcomp pointed out push no longer works in any software. It required a function on TiVo's server to work and they disabled that function a while back. Bulk download wasn't something I really considered for my UI. But it's something I'll add to the list. However I wont be able to do it for at least a few days, so probably not going to do you any good. I think kmttg has the ability to do bulk transfers so perhaps you should look at using that instead.
 

·
Registered
Joined
·
313 Posts
Thank you guys for the replies. That's unfortunate about not being able to push things to a TiVo any more.

Shame on me if I don't at least ask the question: is there any good way to transfer lots of recordings to the new Bolt? Maybe the current TiVo UI, with faster hardware, makes it practical to select a LOT of shows to pull from a computer. But with my Series 2s, at least, that would be a pretty painful process to get started for all the recordings.

My Bolt hasn't shipped yet, there is apparently a big rush of similar orders from other people who used this Bolt promotion. So I may not even get it for a week or so, I'm not sure. If it was practical to add group-selecting to the pyTivo UI, that would be awesome. And I will try to take a look at kmttg, thanks.
 

·
Super Moderator
Joined
·
59,954 Posts
Discussion Starter · #239 ·
Not really. In fact since you're going to have to pull them one by one anyway you might be better off just waiting for the new TiVo to arrive and doing a direct TiVo to TiVo transfer instead. Those transfers are a bit faster because they don't require the same encryption to be applied as when transferring to a PC. They also retain more of the original metadata then going to the PC first.
 

·
Registered
Joined
·
245 Posts
Just be aware that sometimes queued-up copies from one TiVo to another fail without any notification (speaking from experience).

When I did my most recent bulk copying from one TiVo to another, I did them in batches of about 10 recordings at a time, and then used kmttg pointed at each TiVo to compare the file size and duration of each recording on the source and destination TiVo.
 
221 - 240 of 2630 Posts
Top