Project

General

Profile

Sort recordings according to xmltv category entry.

Added by Olli Nase almost 9 years ago

Hi,

im looking for a way to put recordings automated into separate folders for movies or series according to the xmltv category entry.

example:

<programme start="20160205190000 +0100" stop="20160205200000 +0100" channel="atlantic.sky.de">
    <title>Supernatural</title>
    <sub-title>Was sie trugen</sub-title>
    <desc>Eine Soldatin wurde bestialisch getötet. Sam und Dean vermuten, dass sie es mit einem Dämonen zu tun haben, doch ein anderer Soldat war involviert, der sich vor der Tat merkwürdig verhalten hat.</desc>
    <credits>
      <director>John Badham</director>
      <actor>Jared Padalecki</actor>
      <actor>Jensen Ackles</actor>
      <actor>J. Alex Brinson</actor>
      <actor>Travis Aaron Wade</actor>
      <actor>Richard de Klerk</actor>
      <actor>Michelle Morgan</actor>
      <actor>Helena Marie</actor>
      <actor>Peter Anderson</actor>
      <actor>Ian Collins</actor>
      <actor>Christopher Patrick Dwyer</actor>
      <actor>Russell Thomas</actor>
      <actor>Crystal Mudry</actor>
    </credits>
    <date>2014</date>
    <category>series</category>
    <category>Mystery + Horror</category>
    <length units="hours">1</length>
    <country>USA</country>
    <episode-num system="onscreen">15</episode-num>
    <video>
      <colour>yes</colour>
      <aspect>16:9</aspect>
    </video>
    <audio>
      <stereo>dolby digital</stereo>
    </audio>
    <rating>
      <value>16</value>
    </rating>
  </programme>

So this show has "<category>series</category>" and should me moved to the series folder.
When recording a movie it should be moved to another folder.

I want to do this because i use a rename script which need to know if the file is a serie or movie.

Anyone has a idea?