| 1 |
<!-- |
| 2 |
|
| 3 |
<name> element |
| 4 |
- This must exist, and only once |
| 5 |
|
| 6 |
<seasonEpisode> elements |
| 7 |
- This element must have a master and episode element, the season element is optional. All elements must have a pattern attribute and cannot be empty |
| 8 |
- There is no limit to the number of <seasonEpisode> elements but there must be at least one. |
| 9 |
|
| 10 |
<year> elements |
| 11 |
- This element must have a pattern attrbute. |
| 12 |
- There is no limit to the number of <year> elements but there must be at least one. |
| 13 |
|
| 14 |
<textProperty> elements |
| 15 |
- This element must have a type attribute. Supported types currently are: 'new', 'live' or 'premiere'. |
| 16 |
- This element must have a titlePattern attrbute and/or a descPattern attribute. If either match the entry will be marked as it's type. |
| 17 |
|
| 18 |
If you are creating yoru own patterns make a copy of this file in the same directory so it's not overwritten. |
| 19 |
|
| 20 |
NOTE: IF YOU MODIFY THIS FILE IT WILL BE OVERWRITTEN NEXT TIME THE ADDON IS STARTED |
| 21 |
|
| 22 |
If you have changes either create a PR containing the changes or an issue with details at: |
| 23 |
https://github.com/kodi-pvr/pvr.vuplus |
| 24 |
--> |
| 25 |
|
| 26 |
<showInfo> |
| 27 |
<name>English Show Info</name> |
| 28 |
<seasonEpisodes> |
| 29 |
<!-- (S4E37) (S04E37) (S2 Ep3/6) (S2 Ep7) (S2 Ep 3) --> |
| 30 |
<seasonEpisode> |
| 31 |
<master pattern="(?:^|.* )\(?([sS]\.?[0-9]+,? ?/?[eE][pP]?\.? ?[0-9]+/?[0-9]*)\)?[^]*$"/> |
| 32 |
<season pattern="^.*[sS]\.?([0-9][0-9]*).*$"/> |
| 33 |
<episode pattern="^.*[eE][pP]?\.? ?([0-9][0-9]*).*$"/> |
| 34 |
</seasonEpisode> |
| 35 |
<!-- (E130) (Ep10) (E7/9) (Ep7/10) (Ep.25) (Ep 11)--> |
| 36 |
<seasonEpisode> |
| 37 |
<master pattern="(?:^|.* )\(?([eE][pP]?\.? ?[0-9]+/?[0-9]*)\)?[^]*$"/> |
| 38 |
<episode pattern="^.*[eE][pP]?\.? ?([0-9][0-9]*).*$"/> |
| 39 |
</seasonEpisode> |
| 40 |
<!-- (2015E22) (2007E3) (2007E3/6) --> |
| 41 |
<seasonEpisode> |
| 42 |
<master pattern="(?:^|.* )\(?([12][0-9][0-9][0-9][eE][pP]?\.?[0-9]+\.?/?[0-9]*)\)?[^]*$"/> |
| 43 |
<episode pattern="^.*[eE][pP]?\.?([0-9][0-9]*).*$"/> |
| 44 |
</seasonEpisode> |
| 45 |
<!-- 2/4. 6/6, no prefix --> |
| 46 |
<seasonEpisode> |
| 47 |
<master pattern="(?:^|.* )([0-9]+/[0-9]+)(?:(?:\.| )[^]*|$)"/> |
| 48 |
<episode pattern="^([0-9]+)/[0-9]+"/> |
| 49 |
</seasonEpisode> |
| 50 |
</seasonEpisodes> |
| 51 |
<years> |
| 52 |
<!-- (2018) --> |
| 53 |
<year pattern="^.*\(([12][0-9][0-9][0-9])\)[^]*$"/> |
| 54 |
<!-- (2018E25) --> |
| 55 |
<year pattern="^.*\(([12][0-9][0-9][0-9])[eE][pP]?\.?[0-9]+/?[0-9]*\)[^]*$"/> |
| 56 |
</years> |
| 57 |
<textProperties> |
| 58 |
<!-- New: --> |
| 59 |
<textProperty type="new" titlePattern="^ *New: ?([^]*)$"/> |
| 60 |
<!-- Live: --> |
| 61 |
<textProperty type="live" titlePattern="^ *Live: ?([^]*)$"/> |
| 62 |
<!-- Premiere: --> |
| 63 |
<textProperty type="premiere" titlePattern="^ *Premiere: ?([^]*)$"/> |
| 64 |
<!-- Finale: --> |
| 65 |
<textProperty type="finale" titlePattern="^ *Finale: ?([^]*)$"/> |
| 66 |
</textProperties> |
| 67 |
</showInfo> |