Mailing List Archive

Separate mythvideo modules
Hi
Would it be possible to modify mythvideo to pass the module a directory for
it to start in?
I only ask because I would like to have three mythvideo modules on my menu
because I have music videos, tv episodes and films and I would like these on
a separate menu item?
Is there any way to do anything like this?

I was thinking one way would be to modify mythvideo to accept a directory
parameter, so if it was started like 'mythvideo /music_vids/' from the menu
then it would use this as the directory

Mark

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
RE: Separate mythvideo modules [ In reply to ]
I've been thinking the same thing..
I finally have spare time next week so if nobody else steps up, I'll
probably hack it up

-Mark


-----Original Message-----
From: mythtv-users-bounces@snowman.net
[mailto:mythtv-users-bounces@snowman.net] On Behalf Of Mark Edwards
Sent: Thursday, July 17, 2003 9:14 AM
To: Discussion about mythtv
Subject: [mythtv-users] Separate mythvideo modules

Hi
Would it be possible to modify mythvideo to pass the module a directory
for
it to start in?
I only ask because I would like to have three mythvideo modules on my
menu
because I have music videos, tv episodes and films and I would like
these on
a separate menu item?
Is there any way to do anything like this?

I was thinking one way would be to modify mythvideo to accept a
directory
parameter, so if it was started like 'mythvideo /music_vids/' from the
menu
then it would use this as the directory

Mark

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003


_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Separate mythvideo modules [ In reply to ]
On Thursday 17 July 2003 01:14 pm, Mark Edwards wrote:
> Hi
> Would it be possible to modify mythvideo to pass the module a directory for
> it to start in?

The code (as it currently stands) doesn't start from a directory, it reads
database entries. To do this properly, you would probably want to think about
a "category" column for the videometadata table (music, tv, film), and then
make mythvideo able to take a category parameter on startup.

But if you put things in directories (Music, TV, Film) and then use the Video
List button, you get basicly the same result (without needing to modify any
code). Unless I'm missing something in what you were asking for?

- thor


_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users