[mythtv-users] Re: [PATCH] Mythweb -- Mythmusic playlist functionality AND Request for SQL help

Ryan Steffes rbsteffes at gmail.com
Thu Oct 28 18:18:14 UTC 2004

On Thu, 28 Oct 2004 13:51:27 -0400, wmunson at rochester.rr.com
<wmunson at rochester.rr.com> wrote:
> > Hijacking my own thread a little, but I'm kinda proud of this one.
> >
> > I adapted the MythMusic to do some very basic streaming through m3u
> > files.  If you have your mythweb correctly set up so clicking on the
> > name of the song gives you a link, and you have a player that
> > correctly understands m3u files you can stream yourself in the
> > playlists you set up.  This feature can be (shockingly) now reach
> > through the "Play this list" button I've randomly stuck in the middle
> > of the header.  I have not yet disabled the limit per page though, so
> > it'll only play {100} songs at a time where {100} is whatever limit
> > you have set.
> I subscribe to satellite tv and one of the very nice features of that service is 24/7 music channels. Would it be possible to set up mythweb to stream the audio from one of those channels over the web? Perhaps a button for each channel you want to stream. Preconfigured channels would be fine. There are only 2 or 3 that I listen to so it would not be a big deal to set it up manually.

I'm not sure where to begin thinking about that sort of thing.  The
way I do it requires there to be a file in mp3 format,  it may be
possible to write to a file and extract from that file all at the same
time and get that sort of effect.  These are actual like channels
right?  So you'd have to set a tuner card to be watching it in either
constant record mode or live tv mode, then you'd have to read from
either the file or the device while the backend writes it I would
think.  Constant recording mode would be bad because of filling your
disk, and live TV mode, as far as I know, can't be started over mythtv
so you'd have to like leave it running while you weren't home.  So
maybe it'd be possible but it'd take up a tuner card and probably need
some real coding changes in the backend to split out the audio and
write to buffer that could be read and cleaned up, as well as being
able to do it without direct access to the backend.  Mythweb
essentially acts as a faux backend/frontend hybrid and does it's work
by directly manipulating the database for the most part, which means
to pull it off there would probably be db changes.

So I guess, short answer - no.  Long answer - yes.  I'll be happy to
answer any questions you have while you work on your long solution to
this problem, unless someone comes up with an already built in
shortcut to stripping the audio from a program.

More information about the mythtv-users mailing list