diff --git a/music_publisher/templates/raw_cwr.html b/music_publisher/templates/raw_cwr.html index ac5d460b..b297bcb4 100644 --- a/music_publisher/templates/raw_cwr.html +++ b/music_publisher/templates/raw_cwr.html @@ -47,6 +47,7 @@ .cwr div.WRI span.ipnumber, .cwr div.SWR span.ipnumber, .cwr div.SWT span.ipnumber, + .cwr div.MAN span.ipnumber, .cwr div.OWR span.ipnumber, .cwr div.OWT span.ipnumber, .cwr div.PWR span.ipnumber:last-of-type, @@ -95,20 +96,26 @@
{% for line in lines %}{% with line|slice:'0:3' as rt %} {% if version == '30' or version == '31' %} - {% if rt == 'HDR' or rt == 'TRL' or rt == 'GRH' or rt == 'GRT' %} -
{{ rt }}{{ line|slice:'3:' }}
+ {% if rt == 'HDR' %} +
{{ rt }}{{ line|slice:'3:5' }}{{ line|slice:'5:9' }}{{ line|slice:'9:54' }}{{ line|slice:'54:' }}
+ {% elif rt == 'GRH' %} +
{{ rt }}{{ line|slice:'3:6' }}{{ line|slice:'6:' }}
+ {% elif rt == 'TRL' or rt == 'GRT' %} +
{{ rt }}{{ line|slice:'3:' }}
{% elif rt == 'WRK' or rt == 'ISR' %} -
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:79' }}{{ line|slice:'79:' }}
+
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:79' }}{{ line|slice:'79:93' }}{{ line|slice:'93:95' }}{{ line|slice:'95:106' }}{{ line|slice:'106:129' }}{{ line|slice:'129:135' }}{{ line|slice:'135:136' }}{{ line|slice:'136:142' }}{{ line|slice:'142:145' }}{{ line|slice:'145:' }}
{% elif rt == 'SPU' or rt == 'OPU' %} -
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:21' }}{{ line|slice:'21:30' }}{{ line|slice:'30:75' }}{{ line|slice:'75:76' }}{{ line|slice:'76:78' }}{{ line|slice:'78:' }}
+
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:21' }}{{ line|slice:'21:30' }}{{ line|slice:'30:75' }}{{ line|slice:'75:76' }}{{ line|slice:'76:78' }}{{ line|slice:'78:87' }}{{ line|slice:'87:98' }}{{ line|slice:'98:' }}
{% elif rt == 'SWR' or rt == 'OWR' %} -
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:28' }}{{ line|slice:'28:103' }}{{ line|slice:'103:104' }}{{ line|slice:'104:106' }}{{ line|slice:'106:' }}
+
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:28' }}{{ line|slice:'28:103' }}{{ line|slice:'103:104' }}{{ line|slice:'104:106' }}{{ line|slice:'106:115' }}{{ line|slice:'115:126' }}{{ line|slice:'126:' }}
{% elif rt == 'WRI' %}
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:28' }}{{ line|slice:'28:39' }}{{ line|slice:'39:114' }}{{ line|slice:'114:116' }}{{ line|slice:'116:' }}
{% elif rt == 'SPT' or rt == 'OPT' %}
{{ rt }}{{ line|slice:'3:22' }}{{ line|slice:'22:31' }}{{ line|slice:'31:36' }}{{ line|slice:'36:41' }}{{ line|slice:'41:46' }}{{ line|slice:'46:51' }}{{ line|slice:'51:55' }}{{ line|slice:'55:59' }}{{ line|slice:'59:63' }}{{ line|slice:'63:' }}
{% elif rt == 'SWT' or rt == 'OWT'%}
{{ rt }}{{ line|slice:'3:22' }}{{ line|slice:'22:31' }}{{ line|slice:'31:36' }}{{ line|slice:'36:41' }}{{ line|slice:'41:46' }}{{ line|slice:'46:51' }}{{ line|slice:'51:55' }}{{ line|slice:'55:59' }}{{ line|slice:'59:63' }}{{ line|slice:'63:' }}
+ {% elif rt == 'MAN' %} +
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:28' }}{{ line|slice:'28:33' }}{{ line|slice:'33:38' }}{{ line|slice:'38:43' }}{{ line|slice:'43:' }}
{% elif rt == 'PWR' %}
{{ rt }}{{ line|slice:'3:19' }}{{ line|slice:'19:21' }}{{ line|slice:'21:30' }}{{ line|slice:'30:39' }}{{ line|slice:'39:71' }}{{ line|slice:'71:73' }}{{ line|slice:'73:' }}
{% elif rt == 'ALT' %} diff --git a/setup.py b/setup.py index acf69f58..09c00b09 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='django-music-publisher', - version='21.1rc1', + version='21.1', author='Matija Kolarić', author_email='matijakolaric@users.noreply.github.com', license='MIT License', @@ -32,15 +32,16 @@ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', - 'Framework :: Django :: 3.0', 'Framework :: Django :: 3.1', 'Intended Audience :: Developers', + 'Intended Audience :: Other Audience', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], zip_safe=False, )