[mythtv] [PATCH] mythweb Profile Groups
Edward Wildgoose
Edward.Wildgoose at FRMHedge.com
Tue Nov 4 04:32:16 EST 2003
I guess it's the line which now says:
// Load the recording profiles
$Profiles = array("Default", "Live TV", "High Quality", "Low Quality");
Is this satisfactory instead of the suggested query?
-----Original Message-----
From: Chris Petersen [mailto:lists at forevermore.net]
Sent: 04 November 2003 05:24
To: Development of mythtv
Subject: Re: [mythtv] [PATCH] mythweb Profile Groups
finally getting around to clearing out (committing) submitted patches.
I can't find where this one goes. Was it made against an old version of
mythweb?
-Chris
On Fri, 2003-09-26 at 08:00, Jason Schloer wrote:
> This is just a quick patch to give the recording profiles more
> meaningful names. It also weeds out the unused groups based on whether
> they have a videocodec defined. Should be applied to the
> program_details.php in the main web directory, not the themes.
>
> --- program_detail.php 25 Aug 2003 05:31:22 -0000 1.4
> +++ program_detail.php 26 Sep 2003 14:55:49 -0000
> @@ -70,7 +70,7 @@
>
> // Load the recording profiles
> $Profiles = array();
> - $profileresult = mysql_query("select id, name from
> recordingprofiles");
> + $profileresult = mysql_query('SELECT recordingprofiles.id AS id,
> concat( profilegroups.name, \':\', recordingprofiles.name ) AS name
> FROM recordingprofiles INNER JOIN profilegroups ON
> recordingprofiles.profilegroup = profilegroups.id WHERE NOT
> isnull(recordingprofiles.videocodec)');
> while ($row = mysql_fetch_assoc($profileresult)){
> $Profiles[] = $row;
> }
>
>
>
> Jason Schloer
>
>
>
>
> ______________________________________________________________________
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list