This commit has no recorded session.
diff
commit 7d3f615ed7cb0e99a36deea780de52f639635418Author: Colin Powell <colin@unbl.ink>Date: Mon Jun 15 14:37:20 2026 -0400 [longplay] Make sure they're marked status is correct@@ -1504,6 +1504,9 @@ class Scrobble(TimeStampedModel): if media.calories: scrobble_data["log"] = FoodLogData(calories=media.calories).asdict + if mtype not in LONG_PLAY_MEDIA.values():+ scrobble_data.pop("long_play_complete", None)+ scrobble = cls.create(scrobble_data) if mtype in LONG_PLAY_MEDIA.values():@@ -20,7 +20,7 @@ <td><a href="{{obj.get_absolute_url}}">{{obj}}</a></td> {% if request.user.is_authenticated %} <td>{{obj.scrobble_count}}</td>- <td>{% if obj.scrobble_set.last.long_play_complete == True %}Yes{% endif %}</td>+ <td>{% if obj.scrobble_set.last.long_play_complete == True %}Yes{% else %}No{% endif %}</td> <td><a type="button" class="btn btn-sm btn-primary" href="{{obj.start_url}}">Scrobble</a></td> <td><a type="button" class="btn btn-sm btn-warning" href="{{obj.get_longplay_finish_url}}">Finish</a></td> {% endif %}@@ -62,7 +62,7 @@ {% for scrobble in scrobbles.all|dictsortreversed:"timestamp" %} <tr> <td><a href="{{scrobble.get_absolute_url}}">{{scrobble.local_timestamp}}</a></td>- <td>{% if scrobble.long_play_complete == True %}Yes{% endif %}</td>+ <td>{% if scrobble.long_play_complete == True %}Yes{% else %}No{% endif %}</td> <td>{% if scrobble.in_progress %}Now reading{% else %}{{scrobble.session_pages_read}}{% endif %}</td> <td>{% for author in scrobble.book.authors.all %}<a href="{{author.get_absolute_url}}">{{author}}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</td> </tr>@@ -45,7 +45,7 @@ {% for scrobble in scrobbles.all|dictsortreversed:"timestamp" %} <tr> <td><a href="{{scrobble.get_absolute_url}}">{{scrobble.local_timestamp}}</a></td>- <td>{% if scrobble.long_play_complete == True %}Yes{% endif %}</td>+ <td>{% if scrobble.long_play_complete == True %}Yes{% else %}No{% endif %}</td> <td>{% if scrobble.in_progress %}Now reading{% else %}{{scrobble.session_pages_read}}{% endif %}</td> </tr> {% endfor %}