LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-18-2010, 07:26 PM   #2926
redseventyseven
LQ Newbie
 
Registered: May 2008
Posts: 16

Rep: Reputation: 0

ok, now I'm having problems viewing the listings, using the latest svn revision (252).

If I run mlbviewer.py with debug turned off I get "There was a parser problem with the listings" and then the program quits out. With debug on, I get the following message:

Code:
Traceback (most recent call last):
  File "mlbviewer.py", line 1545, in <module>
    curses.wrapper(mainloop, mycfg.data)
  File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "mlbviewer.py", line 207, in mainloop
    raise Exception, detail
anyone able to shed some light as to what's happening? I can't even get to the listings page.
 
Old 05-18-2010, 07:42 PM   #2927
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
Quote:
Originally Posted by redseventyseven View Post
ok, now I'm having problems viewing the listings, using the latest svn revision (252).

If I run mlbviewer.py with debug turned off I get "There was a parser problem with the listings" and then the program quits out. With debug on, I get the following message:

Code:
Traceback (most recent call last):
  File "mlbviewer.py", line 1545, in <module>
    curses.wrapper(mainloop, mycfg.data)
  File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "mlbviewer.py", line 207, in mainloop
    raise Exception, detail
anyone able to shed some light as to what's happening? I can't even get to the listings page.
Is that the entire Traceback? There seems to be something missing, namely the actual Exception that was thrown.

If that's the entire error message, try changing line 207 in mlbviewer.py from:

Code:
raise Exception,detail
to:

Code:
raise
 
Old 05-18-2010, 07:44 PM   #2928
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
Quote:
Originally Posted by poorboywilly View Post
Live games working fine for me now, but archived games are saying
Code:
Requested stream not available.
Requested coverage association: (number)
Available content list =
[]
I'm guessing that means the game isn't actually archived yet. What does the website say for that game?
 
Old 05-18-2010, 07:48 PM   #2929
kweisen
Member
 
Registered: May 2006
Location: Stewartsville, NJ
Distribution: fedora 14 & MInt 15
Posts: 50

Rep: Reputation: 0
I was about to report that problems, but all of sudden it WORKS? Thanks to daftcat and also cktb for their assistance.
 
Old 05-18-2010, 08:29 PM   #2930
kaput
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
Thanks again, daftcat!
 
Old 05-18-2010, 08:32 PM   #2931
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
I'm guessing that means the game isn't actually archived yet. What does the website say for that game?
Oops, my bad, I forgot the 1800k's aren't getting archived. It's good .
 
Old 05-18-2010, 09:14 PM   #2932
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
I am trying to get this working via a http server so I can watch it from other machines....

video_player = vlc --intf=dummy --rc-fake-tty %sv stream/ts:///dev/stdin --sout '#standard{access=http,dst=0.0.0.0:8080/baseball.mp4}'

It almost works, not quite. VLC gives a message about mp4 only being valid in file mode, then complains about an invalid ts stream....

Any other way to do what I am trying? I wanna run this on a headless box, then be able to use VLC or XBMC to connect to the stream... ideally I wanna do this over the internet, not just on the LAN
 
Old 05-18-2010, 11:30 PM   #2933
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
if anybody cares.... I've made a bit of progress as the following now gives me audio (but no video yet):
Code:
video_player = vlc --intf=dummy --rc-fake-tty file:///dev/stdin %s-sout '#standard{access=http,dst=0.0.0.0:8080/baseball,mux=ts}'
This one gives me really cool looking ascii art baseball on the putty terminal:
Code:
video_player = vlc --intf=dummy --rc-fake-tty file:///dev/stdin %sv
 
Old 05-19-2010, 11:35 AM   #2934
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by kdz13 View Post
I am trying to get this working via a http server so I can watch it from other machines....

...

It almost works, not quite. VLC gives a message about mp4 only being valid in file mode, then complains about an invalid ts stream....

Any other way to do what I am trying? I wanna run this on a headless box, then be able to use VLC or XBMC to connect to the stream... ideally I wanna do this over the internet, not just on the LAN
VLC means what it says: it can only mux an MPEG 4 container as a file, it cannot stream an MP4, probably because MP4 needs a "hint track" for streaming which I would guess isn't implemented by VLC.

What you are doing is dangerous. This project is currently tolerated enough to be allowed to exist. I guarantee that MLBAM would not be pleased with their content being re-streamed over the internet, and with good cause. What could it possibly be used for besides unauthorized viewing of the media? You can use mlbviewer (or the official player) anywhere that there is the internet.

I urge you for the sake of mlbviewer to not discuss re-streaming the content.
 
Old 05-19-2010, 11:38 AM   #2935
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
my apologies - My only intent is to get the content to my TV and not to get around any restrictions. I dislike plugging my laptop into the TV as it's not widescreen and hard to maintain, so I was hoping to stream to my media center (which handles http streams but is not an actual PC)
 
Old 05-19-2010, 11:43 AM   #2936
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
My only reason for saying "over the internet" is actually because I want to conserve bandwidth. I have a rather low bandwidth link between my linux machine and my living room TV/media center, and was hoping to do a direct stream as opposed to reencoding - I am not rebroadcasting at all. I hope I have not in any way endangered this excellent project.
 
Old 05-19-2010, 01:17 PM   #2937
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
I don't know if this helps any, but mlbviewer supports remote X server display through the x_display config file option.

I know it's necessary for my particular quirky setup ("headless" laptop connected to wall mount LCD) but I've not actually tested it across a network.
 
Old 05-19-2010, 01:48 PM   #2938
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by kdz13 View Post
My only reason for saying "over the internet" is actually because I want to conserve bandwidth. I have a rather low bandwidth link between my linux machine and my living room TV/media center, and was hoping to do a direct stream as opposed to reencoding - I am not rebroadcasting at all. I hope I have not in any way endangered this excellent project.
No, you are fine, I didn't mean to frighten you. It's just really best not to cross certain lines. While there are uses, such as the one you describe (viewing the content on your media center with large display) that I think can be defended as fair use, I don't know if "they" would see it this way.

The main problem with discussing it here is that if it were to engender the ire of MLBAM, it is mlbviewer that is seen as supporting it, which would not be good.
 
Old 05-19-2010, 06:51 PM   #2939
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
it's still not working for me, i have the regular non nextdef version. what do i have to do to get it working again?
 
Old 05-19-2010, 07:13 PM   #2940
redseventyseven
LQ Newbie
 
Registered: May 2008
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Is that the entire Traceback? There seems to be something missing, namely the actual Exception that was thrown.

If that's the entire error message, try changing line 207 in mlbviewer.py from:

Code:
raise Exception,detail
to:

Code:
raise
ok - here's a traceback that i get without setting debug=1 in the mlbviewer config file:

Code:
Traceback (most recent call last):
  File "mlbviewer.py", line 1545, in <module>
    curses.wrapper(mainloop, mycfg.data)
  File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "mlbviewer.py", line 405, in mainloop
    + len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
and here's what I get when I do as you suggested (debug=1, line 207 edited as instructed):

Code:
Traceback (most recent call last):
  File "mlbviewer.py", line 1545, in <module>
    curses.wrapper(mainloop, mycfg.data)
  File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "mlbviewer.py", line 203, in mainloop
    available = mysched.getListings(cfg['speed'],cfg['blackout'],cfg['audio_follow'])
  File "/home/michael/Projects/mlbviewer-svn/MLBviewer/mlbtv.py", line 870, in getListings
    return self.getXmlListings(myspeed, blackout, audiofollow)
  File "/home/michael/Projects/mlbviewer-svn/MLBviewer/mlbtv.py", line 885, in getXmlListings
    for elem in listings]
KeyError: '400'
thanks!
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration