Permalink
Browse files

Merge pull request #85 from N3MIS15/currently_files

add files compatability to currently playing
  • Loading branch information...
2 parents 8570d42 + 40f037e commit cf05294c74a6da6a6a7d4be61c0750eb2f3f7051 @mrkipling mrkipling committed Feb 25, 2012
Showing with 11 additions and 3 deletions.
  1. +11 −3 templates/currently_playing.html
@@ -16,6 +16,14 @@
<p class="item_info">
{% endif %}
+ {% elif currently_playing.title == '' %}
+ {% if currently_playing.thumbnail%}
+ <img class="episodeart" src="{{ itemart }}">
+ <p class="item_info_show">
+ {% else %}
+ <p class="item_info">
+ {% endif %}
+
{% else %}
{% if currently_playing.thumbnail%}
<img class="posterart" src="{{ itemart }}">
@@ -33,14 +41,14 @@
<span class="season" data-season="{{ currently_playing.season }}">Season {{ currently_playing.season }}</span>,
<span class="episode">Episode {{ currently_playing.episode }}</span>
<span class="separator">-</span>
- "{{ currently_playing.title }}"
+ "{{ currently_playing.label }}"
{% elif currently_playing.artist %}
<span class="artist" data-artist="{{ currently_playing.artistid }}">{{ currently_playing.artist }}</span>
<span class="separator">-</span>
<span class="album" data-album="{{ currently_playing.albumid }}">{{ currently_playing.album }} ({{ currently_playing.year }})</span>
- <br>{% if currently_playing.track < 10 %}0{% endif %}{{ currently_playing.track }}. {{ currently_playing.title }}
+ <br>{% if currently_playing.track < 10 %}0{% endif %}{{ currently_playing.track }}. {{ currently_playing.label }}
{% else %}
- {{ currently_playing.title }}
+ {{ currently_playing.label }}
{% endif %}
</p>

0 comments on commit cf05294

Please sign in to comment.