<br><br><div><span class="gmail_quote">On 23/11/2007, <b class="gmail_sendername">Adam Branaugh</b> <<a href="mailto:abranaugh@gmail.com">abranaugh@gmail.com</a>> 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. Right<br>now I have 3 tv shows in their own folder, with each season in a<br>seperate folder. Then each episode is names in this fashion:<br>EpisodeNumber EpisdoeName.
<br><br>I don't like the episode number there though. I have edited the<br>database where all the metadata is stored and added a boolean field,<br>and a int field. The boolean is a true of false that would be checked
<br>if it is a TV show or not. The int field would be for the episdoe<br>number. 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. 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' know if the boolean field is necessary or not. I was thinking<br>about not having any category but decided the category idea might be
<br>simpler. I added that without thinking everything through completely<br>but that can be changed easily. 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. I was looking at the videofilter.cpp that came with the<br>MythPlugins package. What would be the best way to do this? 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't know if anything was<br>changed when MythDora was created in that script. 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. I'll bet the TV episodes already do.
<br></div><br></div><br clear="all"><br>-- <br>Paul Mason