TiVo Community Forum banner
1721 - 1740 of 2640 Posts

· in the other Alabama
Joined
·
20,956 Posts
Maybe I should look into adding artificial throttling to the pyTivo code. I wonder if simply adding a short sleep to the code between reads would make a difference?
Please don't or at least make it optional. You're trying to fix a problem that is not your fault. My PC is using WiFi. My basic Roamio is using a wireless bridge. I like having 100Mbps transfers.

This reminds of way back when I had to put code into programs to flush the pre-fetch cache.
 

· tivo_xml developer
Joined
·
1,817 Posts
Please don't or at least make it optional. You're trying to fix a problem that is not your fault. My PC is using WiFi. My basic Roamio is using a wireless bridge. I like having 100Mbps transfers.

This reminds of way back when I had to put code into programs to flush the pre-fetch cache.
IMO, Dan should take a crack at it if he wants to, but it should absolutely be an optional feature. It might not be his fault, but you do what you gotta do to workaround things when it's a closed system, as TiVo transfers are.

Some people will want the fastest transfers possible, and will be perfectly ok with occasional glitches(or perhaps don't suffer much from glitching even with fast transfers). Some will want 'perfect', glitch-free transfers(and perhaps can't even achieve watchable transfers without the intentional slowing). And some might want to switch between both modes, depending on the specific content (e.g. just some repeat episodes of some tv series I want to bring on vacation vs. a live special that is unlikely ever to be aired again).
 

· Registered
Joined
·
20 Posts
Do you have TiVo Desktop or another version of pyTivo installed? If you do you need to remove them as the can conflict. (or at least make sure they are completely shut down)

If not it's likely a network or firewall issue.
Any ideas what I should try? My setup is a Roamio OTA and two minis all wired directly to my Netgear R6250 router. No idea why I get no tivos found. Thanks.
 

· Super Moderator
Joined
·
55,679 Posts
Discussion Starter · #1,727 ·
Any ideas what I should try? My setup is a Roamio OTA and two minis all wired directly to my Netgear R6250 router. No idea why I get no tivos found. Thanks.
First thing I would try is go to settings, turn off Zeroconf, then close desktop, exit pytivo and reboot the PC. If that doesn't work try temporarily disabling the firewall. Then exit pyTivo completely and restart it. If that still doesn't work then I'm stumped. You don't have any weird network settings do you? Like the PC is on a different subnet then the TiVos?
 

· Been around the block a few times
Joined
·
27 Posts
If I were to do it it would absolutely be an option, off by default, so don't worry.

One thing I thought about is having an automatic option tied to the retry option. Have it slow the transfer more and more until it gets a clean copy.
Not sure if pyTivo Desktop uses curl or wget, but there are command line options for both to limit speed.

curl curl - How To Use
--limit-rate <speed>
Specify the maximum transfer rate you want curl to use - for both downloads and uploads. This feature is useful if you have a limited pipe and you'd like your transfer not to use your entire bandwidth. To make it slower than it otherwise would be. The given speed is measured in bytes/second, unless a suffix is appended. Appending 'k' or 'K' will count the number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it gigabytes. Examples: 200K, 3m and 1G. If this option is used several times, the last one will be used.

wget - GNU Project - Free Software Foundation
--limit-rate=amount
Limit the download speed to amount bytes per second. Amount maybe expressed in bytes, kilobytes with the k suffix, or megabytes with the m suffix. For example, --limit-rate=20k will limit the retrieval rate to 20KB/s. This is useful when, for whatever reason, you don't want Wget to consume the entire available bandwidth. This option allows the use of decimal numbers, usually in conjunction with power suffixes; for example, --limit-rate=2.5k is a legal value. Note that Wget implements the limiting by sleeping the appropriate amount of time after a network read that took less time than specified by the rate. Eventually this strategy causes the TCP transfer to slow down to approximately the specified rate. However, it may take some time for this balance to be achieved, so don't be surprised if limiting the rate doesn't work well with very small files.
 

· Registered
Joined
·
20 Posts
First thing I would try is go to settings, turn off Zeroconf, then close desktop, exit pytivo and reboot the PC. If that doesn't work try temporarily disabling the firewall. Then exit pyTivo completely and restart it. If that still doesn't work then I'm stumped. You don't have any weird network settings do you? Like the PC is on a different subnet then the TiVos?
I think it was the firewall. Seems to be working now. Thanks for the help.
 

· Super Moderator
Joined
·
55,679 Posts
Discussion Starter · #1,731 ·
I exited pyTivo Desktop and pyTivo, then restarted and the icon does not re-appear.
You have to exit the tray app.

I know the cause of this, but fixing it is a bit difficult. Basically the program I use to "compile" the python code into an exe extracts the python code, and all it's assets (like the icons), into the temp folder. After a while if you haven't stopped/started the server Windows thinks the icon files aren't being used and auto-deletes them.

There are two potential fixes...

1) Do something in the code to access the icons periodically so Windows doesn't delete them.

2) Update the packager app as the new version has a feature to use a folder other then temp for the file so Windows wont see them as deleteable. (this is harder then it sounds because my whole build process is automated)
 

· Registered
Joined
·
139 Posts
You have to exit the tray app.

I know the cause of this, but fixing it is a bit difficult. Basically the program I use to "compile" the python code into an exe extracts the python code, and all it's assets (like the icons), into the temp folder. After a while if you haven't stopped/started the server Windows thinks the icon files aren't being used and auto-deletes them.

There are two potential fixes...

1) Do something in the code to access the icons periodically so Windows doesn't delete them.

2) Update the packager app as the new version has a feature to use a folder other then temp for the file so Windows wont see them as deleteable. (this is harder then it sounds because my whole build process is automated)
So you understood my issue and there is no fix for the "Tivo" icon/folder disappearing from the Tivo itself every now and then?
 

· Been around the block a few times
Joined
·
27 Posts
I found that by bandwidth limiting downloads from my TiVo Roamio to PC, it results in consistent, clean TS file downloads (no TS Sync Errors) on the first try from my TiVo Roamio (TCD846500).
Link to thread

P.S. That's the only TiVo I have left for testing, so not sure if it applies to Premiers, Roamio OTA, Roamio Plus, Roamio Pro or the Bolt's.
Same results with a Bolt VOX here
 

· Registered
Joined
·
7,682 Posts
How do I rename the folder/icon under "My Shows" that displays files from my computer?
I believe this name was a configuration option in pyTivo in the pytivo.conf file. I haven't installed pyTiVo Desktop yet so not sure of the best way to configure it this with Dan's version.

[Now Playing on HERRONWHS]
type=video
path=D:\shares\Videos

FYI, regarding your disappearing issue. I haven't had that issue here with TiVo Desktop and Windows 10 using Bonjour except when the PC is configured for sleep mode (I disabled that for my laptop when plugged into AC power).

Scott
 

· Registered
Joined
·
139 Posts
I believe this name was a configuration option in pyTivo in the pytivo.conf file. I haven't installed pyTiVo Desktop yet so not sure of the best way to configure it with this with Dan's version.

[Now Playing on HERRONWHS]
type=video
path=D:\shares\Videos

FYI, regarding your disappearing issue. I haven't had that issue here with TiVo Desktop and Windows 10 using Bonjour except when the PC is configured for sleep mode (I disabled that for my laptop when plugged into AC power).

Scott
Thanks, Scott. FWIW, I'm running Windows 7 on a desktop and do not have sleep mode enabled. Everyone uses Bonjour, right?
 

· Registered
Joined
·
7,682 Posts
Thanks, Scott. FWIW, I'm running Windows 7 on a desktop and do not have sleep mode enabled. Everyone uses Bonjour, right?
The older method is TiVo Beacon. I know kmttg gives you an option to use that versus Bonjour but I'm not sure about pyTivo or Dan's pyTivo Desktop.

pyTivo has this information on Beacon configuration.

Configure pyTivo - pyTivo - Wiki

I haven't had any issue with the original pyTivo on our WHS server (Windows Server 2003 so older OS) and our network so never had to mess with this.

Scott
 
1721 - 1740 of 2640 Posts
Top