<br><br><div class="gmail_quote">On Nov 23, 2007 4:32 PM, Adam Branaugh &lt;<a href="mailto:abranaugh@gmail.com">abranaugh@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a question on a way to order the videos in MythVideo. &nbsp;Right<br>now I have 3 tv shows in their own folder, with each season in a<br>seperate folder. &nbsp;Then each episode is names in this fashion:<br>EpisodeNumber EpisdoeName.
<br><br>I don&#39;t like the episode number there though. &nbsp;I have edited the<br>database where all the metadata is stored and added a boolean field,<br>and a int field. &nbsp;The boolean is a true of false that would be checked
<br>if it is a TV show or not. &nbsp;The int field would be for the episdoe<br>number. &nbsp;Now what I would like to do but do not know of a way to do<br>it, would be to set each Episode of the tv show in a category named TV<br>shows. &nbsp;Then if the TV shows cateogry is applied, I would like it to
<br>sort by this int field episodeNumber, otherwise sort by the title.<br><br>I dont&#39; know if the boolean field is necessary or not. &nbsp;I was thinking<br>about not having any category but decided the category idea might be
<br>simpler. &nbsp;I added that without thinking everything through completely<br>but that can be changed easily. &nbsp;I think there is a way to do this but<br>I do not know how to program in C++, I only have experince in PHP and<br>
Java. &nbsp;I was looking at the videofilter.cpp that came with the<br>MythPlugins package. &nbsp; What would be the best way to do this? &nbsp;I<br>probably could figure out what to code if someone could help me figure<br>out what exactly it needs to do and where it should be placed.
<br><br>I am currently using MythDora by the way, don&#39;t know if anything was<br>changed when MythDora was created in that script. &nbsp;I want all the<br>videos to show, the movies and the TV shows at the same time, not just
<br>one or the other.<br><br>If you need any information please feel free to ask.<br><br>Thanks,<br>Adam<br><font color="#888888">--<br>You have just recieved a message from Adam Branaugh<br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a></font></blockquote><div><br>The videometadata row&#39;s last variable is the category.&nbsp; This is an integer I believe.&nbsp; Then there is videocategory table that has two values : intid and category where category is a string.&nbsp; If you sort your videos such that specific groups would have the same category in the videometadata, you can use Mythvideo&#39;s filter option to list the videos when you select the stringname&nbsp; for the category (specified in the videocategory table).
<br><br>.&nbsp; <br></div></div><br>