<br><br><div><span class="gmail_quote">On 23/11/2007, <b class="gmail_sendername">Adam Branaugh</b> &lt;<a href="mailto:abranaugh@gmail.com">abranaugh@gmail.com</a>&gt; wrote:</span><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;&nbsp;Right<br>now I have 3 tv shows in their own folder, with each season in a<br>seperate folder.&nbsp;&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;&nbsp;I have edited the<br>database where all the metadata is stored and added a boolean field,<br>and a int field.&nbsp;&nbsp;The boolean is a true of false that would be checked
<br>if it is a TV show or not.&nbsp;&nbsp;The int field would be for the episdoe<br>number.&nbsp;&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;&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;&nbsp;I was thinking<br>about not having any category but decided the category idea might be
<br>simpler.&nbsp;&nbsp;I added that without thinking everything through completely<br>but that can be changed easily.&nbsp;&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;&nbsp;I was looking at the videofilter.cpp that came with the<br>MythPlugins package.&nbsp;&nbsp; What would be the best way to do this?&nbsp;&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;&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</blockquote><div><br><br>Why not sort on filename and then just make sure the filenames sort in the order you want.&nbsp; I&#39;ll bet the TV episodes already do. 
<br></div><br></div><br clear="all"><br>-- <br>Paul Mason