Joined
·
10 Posts
Make sure you don't have a firewall that is blocking it.Yip, still same problem. Any advice on what to check network wise?
Make sure you don't have a firewall that is blocking it.Yip, still same problem. Any advice on what to check network wise?
probably. but for the purpose of debugging I would turn it off completely at first.If I have a firewall setup, do I just need to open those 2 ports?
I had a problem getting tivostream (which uses this somehow I think) after my TiVo was upgraded to v11.0.P3. Turns out that I had to turn "turbo mode" off in my wireless connection!? Very surprised.Can anyone think of any reason that I can't access it from my Tivo? It's over a wireless network - not sure if that makes any difference.
How?Finally got it to work
Thanks for reporting!I made a change to my firewall
def down(self, i):
if self.pos < self.startpos + self.pagesize - 1: #if pos != bottom of current page
if self.pos + i > self.startpos + self.pagesize - 1: #page down
self.pos = self.startpos + self.pagesize - 1 #set pos to bottom of current page
else: #increment pos
self.pos += i
else: #new page
if self.startpos + self.pagesize + self.pagesize > len(self.items) - 1: #if end of new page is beyond last item in list
self.startpos = len(self.items) - self.pagesize #set startpos to last item - pagesize
else: #increment startpos
self.startpos += self.pagesize
if self.pos + i > len(self.items) - 1: #if newpos > last item in list
self.pos = len(self.items) - 1 #set pos to last item in list
else: #increment pos
self.pos += i
self.redraw()
self.pos_update()
def up(self, i):
if self.pos > self.startpos:
if self.pos - i < self.startpos: #page up
self.pos = self.startpos
else:
self.pos -= i
else: #new page
if self.startpos - self.pagesize < 0:
self.startpos = 0
else:
self.startpos -= self.pagesize
if self.pos - i < 0:
self.pos = 0
else:
self.pos -= i
self.redraw()
self.pos_update()
import os
LENGTH = 0
BOOKMARK = 0
def save(filename, buffer, position):
if position > 5:
global LENGTH, BOOKMARK
buffer = int(round(float(buffer) / 1000))
position = int(round(float(position) / 1000))
if LENGTH < BOOKMARK + buffer: #previous play underran
LENGTH = BOOKMARK + buffer
new_bookmark = BOOKMARK + position
try:
filehandler = open(filename + ".bkm", 'w')
filehandler.writelines('%s\n' % LENGTH)
filehandler.writelines('%s' % new_bookmark)
filehandler.flush()
filehandler.close()
except IOError:
print "Error saving bookmark!"
def load(filename):
START_TIME = ''
if os.path.exists(filename + '.bkm'):
try:
filehandler = open(filename + ".bkm", 'r')
global LENGTH, BOOKMARK
LENGTH = int(filehandler.readline())
BOOKMARK = int(filehandler.readline())
if BOOKMARK >= 5:
BOOKMARK -= 5
filehandler.flush()
filehandler.close()
START_TIME = '--start-time=%s' % BOOKMARK
except IOError:
print "Error loading bookmark!"
return START_TIME
def erase(filename):
try:
if os.path.exists(filename + '.bkm'):
os.remove(filename + '.bkm')
except IOError:
print "Error erasing bookmark!"
bookmark.save(self.stream_url, self.duration, self.position)
PARAMS = '#transcode{vcodec=%(VCODEC)s,vb=%(VBITRATE)d,' + \
'acodec=%(ACODEC)s,ab=%(ABITRATE)d,audio-sync,samplerate=44100,' + \
'fps=29.97,soverlay}:std{access=http,dst=:%(SERVER)d,mux=ps}' #Added ",soverlay" to transcode options, to show subtitles from seperate subtitle files.
if client_count == 1:
start_time = bookmark.load(url) #Added by Mel Smith
pid = subprocess.Popen([vlcpath, url, '-I', 'dummy', '-V', 'dummy', start_time, '--sout', PARAMS % globals()]).pid # Added "start_time" parameter to VLC command line options.
That's pretty much correct. If you look at the __init__.py file, you'll see this:VLC as an app should be able to transcode anything to TiVo compliant video. My gut tells me there should be some built-in transcoding logic that works roughly this:
1. Display all video file types (.avi,.mp4,.m4v,wmv,etc)
2. Attempt to play selected stream as pass-through
3. If pass through fails (error reading stream), then re-attempt with transcode
I am guessing the logic currently works like this:
1. If file type = mp4 or mpg, then pass-through without transcoding
--side note: the needs_vlc variable doesn't seem to have any effect on my tests.
Live TV streams and tvants stream and transcode just fine, so my gut tells me with a little logic and error checking, just about anything should too. It's also possible that it currently works like this and I am totally missing something...
PASSTHROUGH_EXTS = ('.mpg', '.mp4')
TRANSCODE_EXTS = ('.mov', '.wmv', '.asf', '.flv', '.mkv', '.avi', '.m4v')
PARAMS = '#transcode{vcodec=%(VCODEC)s,vb=%(VBITRATE)d,' + \
'fps=29.97}:std{access=http,dst=:%(SERVER)d,mux=ps}'
<station name="Mystery Science Theater 3000" id="471002" br="128" rt="PG13" ct="" load="99" genre="Video" lc="99" />
[playlist]
numberofentries=1
File1=http://91.121.196.82:9290;stream.nsv
Title1=(#1 - 99/100) Mystery Science Theater 3000
Length1=-1
Version=2
ShoutCast TV is a website that keeps track of streaming video stations. These stations are not always streaming so ShoutCast TV keeps track of which station is streaming and what they are streaming. I want the VLC/HME program to check the URL that has a list of all active video streams and list them so I can use the Tivo to choose which I want to watch. I don't want to manually place the URLs in to the config.ini because they may not be valid when I go to watch next time plus new video stations are always popping up.Allanon, what would "this feature" be?
If VLC can play it from a URL, then just pass the URL, and set needs_vlc=true. But I know that you already know that, so there must be something I'm missing.![]()