pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't Transfer Files Transfered Before?!?

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Wed Mar 26, 2008 1:07 am    Post subject: Can't Transfer Files Transfered Before?!? Reply with quote

I had good luck getting pyTiVo going this weekend, thanks to help from this forum. However, in the past couple of days, I cannot transfer 50%+ of the files I attempt, including ones that transfered fine this weekend!

I tried three ~30 minute avi files just now... I can select the video, request a transfer and get the "start playing" confirmation, but when I go look for the video in Now Playing, it is there for about 30-60 seconds before it dissappears. I checked the To Do List History and the transfers have all failed with: "This program was not transferred onto this DVR because the file was larger than expected or because the file was corrupted." I gave up on my soaps for today and then tried a ~90 minute movie and that started transferring fine. So, I do not think it is a free space issue. (Although, I do only have one item in my Recently Deleted folder, but 89 items in my Suggestions.)

I have pre-caching and hack83 turned on. Once the trouble started, I turned on debugging and here's what might be the relevant part of the debug log:

Code:
video.47 [hack]  new request ------------------------
video.48 [hack]  TiVo request is:
 {'Container': ['PC Downloads/Soaps'], 'AnchorOffset': ['-1'], 'Filter': ['x-tivo-container/tivo-videos,x-tivo-container/folder,video/x-tivo-mpeg,video/*'], 'Command': ['QueryContainer'], 'SortOrder': ['!CaptureDate'], 'AnchorItem': ['/PC%20DownloadsSoaps/EastEnders/EE%20Revealed%20-%20The%20Fowlers.avi'], 'ItemCount': ['1']}
video.70 [hack]  queryAnchor:  PC DownloadsSoaps/EastEnders/EE Revealed - The Fowlers.avi  leftAnchor:  PC DownloadsSoaps/EastEnders  rightAnchor:  EE Revealed - The Fowlers.avi
video.85 [hack]  our saved request is:
 {'Filter': ['x-tivo-container/tivo-videos,x-tivo-container/folder,video/x-tivo-mpeg,video/*'], 'Container': ['PC Downloads/Soaps/EastEnders'], 'ItemCount': ['8'], 'Command': ['QueryContainer'], 'SortOrder': ['!CaptureDate']}
video.127 [hack]  requested a file
video.336 [QueryContainer]  Tivo said:  PC Downloads/Soaps  || Hack said:  PC Downloads/Soaps/EastEnders
transcode.288 [video_info]  CACHE HIT! H:\Soaps\EastEnders\EE Revealed - The Fowlers.avi
transcode.288 [video_info]  CACHE HIT! H:\Soaps\EastEnders\EE Revealed - The Fowlers.avi
transcode.288 [video_info]  CACHE HIT! H:\Soaps\EastEnders\EE Revealed - The Fowlers.avi
transcode.252 [tivo_compatable]  FALSE, type mpeg4 not mpeg2video. H:\Soaps\EastEnders\EE Revealed - The Fowlers.avi
transcode.288 [video_info]  CACHE HIT! H:\Soaps\EastEnders\EE Revealed - The Fowlers.avi
transcode.311 [video_info]  ffmpeg output= FFmpeg version SVN-r11870, Copyright (c) 2000-2008 Fabrice Bellard, et al.

  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static

  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb  5 2008 23:46:38, gcc: 4.2.3

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, avi, from 'H:\Soaps/EastEnders/EE Revealed - The Fowlers.avi':
  Duration: 00:26:54.3, start: 0.000000, bitrate: 585 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 29.97 tb(r)
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Must supply at least one output file

transcode.401 [video_info]  Codec= mpeg4  width= 320  height= 240  fps= 29.97  millisecs= 1614300  kbps= 585  akbps= 128  acodec= mp3  afreq= 44100
transcode.288 [video_info]  CACHE HIT! H:\Soaps/EastEnders/EE Revealed - The Fowlers.avi
transcode.288 [video_info]  CACHE HIT! H:\Soaps/EastEnders/EE Revealed - The Fowlers.avi
transcode.252 [tivo_compatable]  FALSE, type mpeg4 not mpeg2video. H:\Soaps/EastEnders/EE Revealed - The Fowlers.avi
transcode.288 [video_info]  CACHE HIT! H:\Soaps/EastEnders/EE Revealed - The Fowlers.avi




debug.txt
 Description:
Full debug log for transfer attempt.

Download
 Filename:  debug.txt
 Filesize:  14.6 KB
 Downloaded:  62 Time(s)


EE Revealed - The Fowlers.txt
 Description:
GSpot info for troublesome file.

Download
 Filename:  EE Revealed - The Fowlers.txt
 Filesize:  4.83 KB
 Downloaded:  73 Time(s)

Back to top
View user's profile Send private message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Wed Mar 26, 2008 1:17 am    Post subject: One more thing... Reply with quote

I restarted my TiVo.Net service and I can successfully transfer the same file without issue. I wonder if it is something with the ffmpeg settings? Both tools are using their own copies of ffmpeg. I have not changed the settings for either from the defaults.
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Wed Mar 26, 2008 2:01 am    Post subject: Reply with quote

Can you post more info from your debug.txt file. I don't see the line starting with "transcode.56 [transcode] ffmpeg command is ". could you also post the part containing "pytivo session started" followed by the printout of your pytivo.conf file.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Wed Mar 26, 2008 2:30 am    Post subject: Reply with quote

There is nothing in the debug file about "ffmpeg command" or "session started"! The full file (with pre-cache) is 1.3 mb. I'm going to turn off pre-cache and restart the service. I'll post that smaller log in a bit.

BTW, I have the Windows Installer version of pyTiVo installed. I restarted the computer this evening, and my attempts have been the same.

My config file:

Code:
[Admin]
type = admin

[PC Downloads]
precache = true
type = video
path = H:\

[PC Movies]
precache = true
type = video
path = G:\Movies\

[PC TV Programs]
precache = true
type = video
path = G:\Programs\

[Server]
debug = True
port = 9034
hack83 = True
ffmpeg = C:\Program Files\TiVo\pyTivo\plugins\video\ffmpeg_mp2.exe
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Wed Mar 26, 2008 3:05 am    Post subject: Reply with quote

Have you always had a share pointing to the root directory H:\? I thought sharing the root used to be a problem unless I'm thinking of Tivo Desktop.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Wed Mar 26, 2008 3:08 am    Post subject: Reply with quote

wgw wrote:
Have you always had a share pointing to the root directory H:\? I thought sharing the root used to be a problem unless I'm thinking of Tivo Desktop.
I think I have... it's only been five days and I have been jumping around a lot. Like I said, I did get a movie to transfer today, but that was from another share...
Back to top
View user's profile Send private message
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Wed Mar 26, 2008 3:14 am    Post subject: Reply with quote

Just in case, try changing that share to H:\Soaps and try transferring The Fowlers again.
_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
ebf



Joined: 22 Mar 2008
Posts: 133

PostPosted: Wed Mar 26, 2008 4:01 am    Post subject: Reply with quote

wgw wrote:
Just in case, try changing that share to H:\Soaps and try transferring The Fowlers again.

Well, it looks like you are right! I changed the folders on H to each be their own share and I have transfered two "troublesome" files and have started a third. I do swear I had this same setup this weekend, but maybe I did not.

Thanks very much for your help!
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Wed Mar 26, 2008 5:28 am    Post subject: Reply with quote

Hmm odd.

wgw, do we know why root folders cause issues?
Back to top
View user's profile Send private message Visit poster's website
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Thu Mar 27, 2008 2:40 am    Post subject: Reply with quote

krkeegan wrote:
Hmm odd.

wgw, do we know why root folders cause issues?


No, I honestly don't remember. But when I changed my shares to the root directory on windows last night to see what would happen, both of my S3 tivos rebooted immediately when I tried to browse subfolders with hack83 enabled.

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Thu Mar 27, 2008 2:49 am    Post subject: Reply with quote

hmm, i don't think it is a hack83 issue. I will look into this tomorrow.
Back to top
View user's profile Send private message Visit poster's website
wgw



Joined: 06 Jan 2008
Posts: 284

PostPosted: Thu Mar 27, 2008 2:57 am    Post subject: Reply with quote

krkeegan wrote:
hmm, i don't think it is a hack83 issue. I will look into this tomorrow.


Possibly not, I only mentioned hack83 because I have it enabled all the time now and had no idea if it was related.

_________________
Download pyTivo
my pyTivo branch
Back to top
View user's profile Send private message
JonMikelV



Joined: 23 Feb 2008
Posts: 51

PostPosted: Fri Mar 28, 2008 5:17 am    Post subject: Reply with quote

I know pretty much nothing of the pyTiVo code but in my own coding the stuff I end up dealing with on root file paths in Windows includes:
- Drive root folder doesn't include "." & ".." items in Dir lists
- Checking if folder "C:" exists fails (I forget if "C:\" checks work)
- For UNC shares checking if "\\MachineName" exists fails (gotta be at least \\MachineName\ShareName)

Thanks & keep up the great work!
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Sat Mar 29, 2008 3:27 am    Post subject: Reply with quote

OK I fixed this bug and posted it in my repo. It will be included in an update of the windows installer tonight.

It took me a while but it is caused by normpath which returns the following

C:\My Videos\ => C:\My Videos
C:\ => C:\

Root folders have trailing slashes while the rest does not. pyTivo then deleted the leading slash in the part_path to the file. Now it checks for a leading slash and adds one if necessary.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.2144s ][ Queries: 14 (0.0153s) ][ GZIP on - Debug on ]