2006-02-13, 01:47 AM
pBS Wrote:so i thought up an alternative interface...
Thanks for your great feeback and thought-provoking ideas. Sorry about the broken link. Well caught! I've fixed it.
Can't think what's causing your command line problem:confused:. UbuStreamCmd reads the player's executable path from the xml "table" and passes it to Process.Start (which doesn't like quotes around the path. Long filenames seem to be fine (paths starting with C:\Program Files, for instance). The url and other parameters are passed to Process.Start unchanged except that the quotes are stripped off and {fullscreen} replaced with the correct argument for the player. Since I'm focussing on live streams here, I haven't used long filenames in the url parm (It should work fine - it works in my other program, Ubu Remote, but I figured that GBPVR users would use MyVideos or Video Library for playing video files). If you let me have the exact command you are trying to get UbuStreamCmd to run, maybe I'll get a clue.
Quote:just make custom plugin buttons to launch each channel and don't need the external recorder plugin...Very intriguing. I'd thought about doing something like this but decided against it for my first cut of UbuStreamCmd for two reasons:
1) I wanted (as a GBPVR user) to have streaming channels behave just like any other channels, as seamlessly as possible, so I could use my remote to switch channels without really "caring" whether it was a cable or an internet source. I didn't want to have to go to a separate sub-system off the main menu.
(btw - if you set up a couple of buttons on your remote to send "Alt-F4, Alt-F4,Ctrl-W" and "Alt-F4, Alt-F4,Home" you can go straight from watching a streaming channel to either the prev channel or to the GBPVR menu - makes the whole experience much smoother. It works when the player can't open the streaming channel too - the first Alt-F4 closes the player's error dialog window and the second closes the player.)
2) It was rather simple for me to carve off a small piece of functionality (and code) from my existing app, Ubu Remote. Whereas, to implement it as a plugin, I would have had to get my head around the GBPVR plugin framework and widget library (I admit to a modicum of laziness here - I realize that I'm going to have to bite that bullet eventually anyway).
Nonetheless, I would like to have a shot at doing the plugin approach. Mainly a matter of time/bandwidth. I imagine that the player execution & parm parsing code currently in UbuStreamCmd would be integrated into the new plugin so the current UbuStreamCmd.exe would go away. UbuStreamConfig could be implemented as a plugin config window from GBPVR config (which would be much cleaner).
It did occur to me that similar functionality is, in fact, already available simply by hanging a Custom Task on the main menu that would invoke Ubu Remote, which already has the features you would need (menu of stations, "Play" and "Kill" buttons to start and stop players, fullscreen toggle, etc.) as well as an integrated database of stations, urls and descriptions (wouldn't need UbuStreamConfig any more) and a button to bring up program listings in a web page (gives you ersatz Guide funcionality). The downside to this is that Ubu Remote has a different look and feel (and conceptual paradigm) from GBPVR. If you take a look at the screenshots on the Documentation pages of the Ubu Remote site, you'll see what I mean. Currently the Ubu Remote user interface is more mouse than keystroke oriented so I'd have to tweak it a bit to support using a remote (not too hard - handy feature anyway). Right now the Ubu Remote console window sort of is the remote control for sending commands to Ubu servers. But, if you just run the console in "local" mode, it should work fine as a Custom Task. I'll try it out tonight.
But that solution still doesn't have the GBPVR look and feel, isn't skinnable and can't take advantage of GBPVR services. Rewriting it as a plugin means maintaining two code bases - one for GBPVR, one for standalone. Not signing up for that! Ideally, (thinking as I write) Ubu Remote code components should be restructured so that they can sit in either a GBPVR wrapper or a stand-alone wrapper.
You've certainly given me something to chew on.
Quote:..and hard to select a channel when there's no listing from the guide...I'm trying to figure out how to put dummy programs into the guide for the streaming channels. They show up in the guide (right?) but there's no program to select. What would be really nice is to have the mini-guide display while watching a streaming channel. But switching focus from the player to GBPVR and then back again seems a bit tricky.
Quote: i wonder if anything can play Flash files?The only external player I know of is FLVPlayer. The author also has an interesting write up on how call the Flash external API from C# on the Code Project site. I have thought of adding Flash capability to Ubu Remote but that app is really more focussed on live streams (broadcast TV model) than on video on demand (pay per view model). I want to avoid bogging Ubu Remote down with too many extraneous features (and keep its essential stark elegance).
Quote:but will only work on streams vlc can read..Actually mplayer will do this too (and it supports some RealMedia streams which the VLC folks continue to studiously ignore).
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.