![]() |
2008-06-06
, 01:56
|
Posts: 176 |
Thanked: 34 times |
Joined on Feb 2008
|
#2
|
The Following User Says Thank You to Betty Woo For This Useful Post: | ||
![]() |
2008-06-06
, 02:13
|
Posts: 176 |
Thanked: 34 times |
Joined on Feb 2008
|
#3
|
![]() |
2008-06-06
, 03:06
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#4
|
![]() |
2008-06-06
, 04:24
|
Posts: 176 |
Thanked: 34 times |
Joined on Feb 2008
|
#5
|
You do also need to have mplayer installed (the version for viewing videos on the tablet, not the microb plugin).
![]() |
2008-06-06
, 04:37
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#6
|
![]() |
2008-06-06
, 04:54
|
Posts: 176 |
Thanked: 34 times |
Joined on Feb 2008
|
#7
|
![]() |
2008-06-07
, 04:38
|
Posts: 75 |
Thanked: 19 times |
Joined on Jun 2008
@ Seattle
|
#8
|
![]() |
2008-06-07
, 06:26
|
Posts: 176 |
Thanked: 34 times |
Joined on Feb 2008
|
#9
|
![]() |
2008-06-07
, 07:06
|
Posts: 228 |
Thanked: 20 times |
Joined on Oct 2007
|
#10
|
You can find all files and source code on the garage page here.
Current Version:
mlbviewer_gui 0.1.1-2
python-mlbviewer 0.0.5-2
EDIT: Adding lists for what does and doesn't work:
What Works:
Only the mobile audio streams work for now. Make sure you have them selected in the config dialog box.
* Subscription required.
** No subscription required.
*** See first point in “What Doesn’t Work”
What Doesn't Work:
I think there is an error with the time zone offset setting.In responce to the request in this thread I've ported MLBviewer to run on maemo. It includes the original library used to populate MLBviewer, with only two commented lines to make it run, and then I created a gui to control it based on the original curses interface. I have only tested it so far with gameday audio, so I'd love it if other subscribers would test it out.
I'm ataching two debs. The first, python-simplejson is required for MLBviewer to read the information from mlb's website, and should be installed first. The second installs the application itself, with the python code used in "/usr/lib/mlbviewer_gui", a sh launch script in bin, and a .desktop file to put it on your application menu.You do also need to have mplayer installed (the version for viewing videos on the tablet, not the microb plugin).
Known issues (with I'm sure many unknown issues):
Poor error handling - you really don't see any of the errors if you're running in strict gui mode. You can see the shell output if you launch "mlbviewer" from xterm. This includes the ocasional "login error". In my experience, audio should start within ten seconds, any longer implies an error (and the gui should become responsive quicker than that). You can try pressing the button again, or just quit and reload. I really need to improve on this.Future development:
Top Plays support.
Configuration dialog support.
Statusicon for controlling the audio stream.
Threading support.
Whatever else you or I can come up with, within reason...
Score checking support (if some one can tell me how to grab the info from mlb.com).
Please, I welcome your feedback and suggestions. And if any one can tell me how to invoke those notify boxes in the upper right hand corner in python, I'd appreciate letting me know so that I can use it for error handling and other information.
Enjoy!
EDIT: I've updated the packages with new ones with bug fixes.- Top plays now show up in a tree view to the right of the launcher buttons. Double tap on the play to launch the viewer (should I make a button to launch this video?)
- On playing a stream, the game dialog is now hidden so that it does not hold focus away from mplayer (allowing the hardware resize and other input)
- Moved game label in the game dialog to allow more space and make it more clear.
- Enabled config option on the program menu
- On first start, run config dialog to ask for user name and password. This also shows options for video bitrate and audio follow, but they don't do anything.
EDIT:
You can find all files and source code on the garage page here instead of in this thread.
Last edited by hvacengi; 2009-04-30 at 04:44. Reason: updated deb package