From a474b5df4849f51e05bf8d8ac35cc160399986f9 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 29 Oct 2025 21:54:18 -0400 Subject: [PATCH] [scrobbles] Refactor run time sec to be blank by default --- data/moods.json | 2 +- ...6_remove_beer_run_time_seconds_and_more.py | 26 +++++++++++++ ...ove_boardgame_run_time_seconds_and_more.py | 26 +++++++++++++ ...2_remove_book_run_time_seconds_and_more.py | 39 +++++++++++++++++++ ...move_brickset_run_time_seconds_and_more.py | 26 +++++++++++++ ...4_remove_food_run_time_seconds_and_more.py | 26 +++++++++++++ ...ove_lifeevent_run_time_seconds_and_more.py | 26 +++++++++++++ ...e_geolocation_run_time_seconds_and_more.py | 26 +++++++++++++ vrobbler/apps/moods/fixtures/moods.json | 2 +- ...4_remove_mood_run_time_seconds_and_more.py | 26 +++++++++++++ ..._remove_track_run_time_seconds_and_more.py | 26 +++++++++++++ ...odcastepisode_run_time_seconds_and_more.py | 26 +++++++++++++ ...remove_puzzle_run_time_seconds_and_more.py | 26 +++++++++++++ vrobbler/apps/scrobbles/mixins.py | 10 ++++- ...ve_sportevent_run_time_seconds_and_more.py | 26 +++++++++++++ ...5_remove_task_run_time_seconds_and_more.py | 26 +++++++++++++ ..._remove_trail_run_time_seconds_and_more.py | 26 +++++++++++++ ...ove_videogame_run_time_seconds_and_more.py | 26 +++++++++++++ vrobbler/apps/videogames/models.py | 4 +- ..._remove_video_run_time_seconds_and_more.py | 26 +++++++++++++ ...emove_webpage_run_time_seconds_and_more.py | 26 +++++++++++++ 21 files changed, 467 insertions(+), 6 deletions(-) create mode 100644 vrobbler/apps/beers/migrations/0006_remove_beer_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/boardgames/migrations/0011_remove_boardgame_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/books/migrations/0032_remove_book_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/bricksets/migrations/0003_remove_brickset_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/foods/migrations/0004_remove_food_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/lifeevents/migrations/0003_remove_lifeevent_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/locations/migrations/0008_remove_geolocation_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/moods/migrations/0004_remove_mood_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/music/migrations/0029_remove_track_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/podcasts/migrations/0018_remove_podcastepisode_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/puzzles/migrations/0004_remove_puzzle_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/sports/migrations/0016_remove_sportevent_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/tasks/migrations/0005_remove_task_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/trails/migrations/0006_remove_trail_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/videogames/migrations/0013_remove_videogame_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/videos/migrations/0024_remove_video_run_time_seconds_and_more.py create mode 100644 vrobbler/apps/webpages/migrations/0006_remove_webpage_run_time_seconds_and_more.py diff --git a/data/moods.json b/data/moods.json index 47421b6..bd6568a 100644 --- a/data/moods.json +++ b/data/moods.json @@ -1 +1 @@ -[{"model": "moods.mood", "pk": 1, "fields": {"created": "2024-08-10T20:06:25.694Z", "modified": "2024-08-10T20:06:25.694Z", "uuid": "5191fa4b-67a3-4b94-b8a5-de3e6863914d", "title": "Anxious", "run_time_seconds": 900, "run_time_ticks": null, "description": "Anxiety is an emotion which is characterized by an unpleasant state of inner turmoil and includes feelings of dread over anticipated events. Anxiety is different from fear in that fear is defined as the emotional response to a present threat, whereas anxiety is the anticipation of a future one. (Wikipedia)"}}, {"model": "moods.mood", "pk": 2, "fields": {"created": "2024-08-10T20:06:55.418Z", "modified": "2024-08-10T20:06:55.418Z", "uuid": "2c431aba-5103-444c-ad91-4fec2405a363", "title": "Fear", "run_time_seconds": 900, "run_time_ticks": null, "description": "Fear is an intensely unpleasant primal emotion in response to perceiving or recognizing a danger or threat. Fear causes psychological changes that may produce behavioral reactions such as mounting an aggressive response or fleeing the threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 3, "fields": {"created": "2024-08-10T20:07:14.035Z", "modified": "2024-08-10T20:07:14.035Z", "uuid": "696b2bf2-9ae6-43b4-8b3d-67f03c9dc48b", "title": "Sadness", "run_time_seconds": 900, "run_time_ticks": null, "description": "Sadness is an emotional pain associated with, or characterized by, feelings of disadvantage, loss, despair, grief, helplessness, disappointment and sorrow. An individual experiencing sadness may become quiet or lethargic, and withdraw themselves from others. (Wikipedia)"}}, {"model": "moods.mood", "pk": 4, "fields": {"created": "2024-08-10T20:07:38.437Z", "modified": "2024-08-10T20:07:38.437Z", "uuid": "550beff0-d673-4bb5-a87b-80c6f4a9a62a", "title": "Anger", "run_time_seconds": 900, "run_time_ticks": null, "description": "Anger, also known as wrath or rage, is an intense emotional state involving a strong uncomfortable and non-cooperative response to a perceived provocation, hurt, or threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 5, "fields": {"created": "2024-08-10T20:08:09.423Z", "modified": "2024-08-10T20:08:09.423Z", "uuid": "3b210bc1-7981-4d55-8cf3-e07b46cb15ea", "title": "Surprise", "run_time_seconds": 900, "run_time_ticks": null, "description": "Surprise is an instantaneous, instinctual reaction to something you didn't expect. (Wikipedia)"}}, {"model": "moods.mood", "pk": 6, "fields": {"created": "2024-08-10T20:09:01.056Z", "modified": "2024-08-10T20:09:01.056Z", "uuid": "865dd78e-66e6-44bb-8257-d8dc1fe5c19c", "title": "Disgust", "run_time_seconds": 900, "run_time_ticks": null, "description": "Disgust is an emotional response of rejection or revulsion to something potentially contagious or something considered offensive, distasteful or unpleasant. (Wikipedia)"}}, {"model": "moods.mood", "pk": 8, "fields": {"created": "2024-08-10T20:11:02.145Z", "modified": "2024-08-10T20:11:02.145Z", "uuid": "89e82483-c52f-4855-9bb0-cb246a0b684b", "title": "Joy", "run_time_seconds": 900, "run_time_ticks": null, "description": "Joy is the state of being that allows one to experience feelings of intense, long-lasting happiness and satisfaction of life. It is closely related to, and often evoked by, well-being, success, or good fortune. Happiness, pleasure, and gratitude are closely related to joy but are not identical to it. (Wikipedia)"}}, {"model": "moods.mood", "pk": 9, "fields": {"created": "2024-08-10T20:13:38.852Z", "modified": "2024-08-10T20:13:38.852Z", "uuid": "a0d80c03-969a-4b80-a4b6-2beb9d91687d", "title": "Admiration", "run_time_seconds": 900, "run_time_ticks": null, "description": "Admiration is a social emotion felt by observing people of competence, talent, or skill exceeding standards. Admiration facilitates social learning in groups. Admiration motivates self-improvement through learning from role-models."}}, {"model": "moods.mood", "pk": 10, "fields": {"created": "2024-08-10T20:14:06.617Z", "modified": "2024-08-10T20:14:06.617Z", "uuid": "5382f548-2a5a-4a08-b447-6470d41c1729", "title": "Adoration", "run_time_seconds": 900, "run_time_ticks": null, "description": "Adoration is a feeling of great admiration and love for someone or something. She needs and wants to be loved with overwhelming passion and adoration. Synonyms: love, honour, worship, worshipping More Synonyms of adoration."}}, {"model": "moods.mood", "pk": 11, "fields": {"created": "2024-08-10T20:14:25.964Z", "modified": "2024-08-10T20:14:25.964Z", "uuid": "e36ed925-37d8-4856-ba7c-bfce617ecab2", "title": "Aesthetic Appreciation", "run_time_seconds": 900, "run_time_ticks": null, "description": "Aesthetic appreciation or good taste is the ability to appreciate objective beauty. Aesthetic taste is influenced by many factors, such as personal or cultural background, familiarity, context, and expertise. Access to aesthetically interesting and valuable objects and environments can improve our well-being."}}, {"model": "moods.mood", "pk": 12, "fields": {"created": "2024-08-10T20:14:58.926Z", "modified": "2024-08-10T20:14:58.926Z", "uuid": "4d8c6a20-0041-4793-94ae-1d3dc12c2e95", "title": "Amusement", "run_time_seconds": 900, "run_time_ticks": null, "description": "Amusement is the state of experiencing humorous and entertaining events or situations while the person or animal actively maintains the experience, and is associated with enjoyment, happiness, laughter and pleasure. It is an emotion with positive valence and high physiological arousal."}}, {"model": "moods.mood", "pk": 13, "fields": {"created": "2024-08-10T20:17:32.001Z", "modified": "2024-08-10T20:17:32.001Z", "uuid": "460e072a-6d5b-481a-8343-cec66b9f4baa", "title": "Awe", "run_time_seconds": 900, "run_time_ticks": null, "description": "Awe is a complex emotion that occurs when we experience or witness something wonderous, vast, terrifying, inspiring, amazing or mind-blowing. Awe can be triggered by experiences as diverse as walking through an untamed natural landscape, viewing a highly complex piece of art or architecture, having a spiritual or religious experience, or witnessing a seemingly impossible athletic feat."}}, {"model": "moods.mood", "pk": 14, "fields": {"created": "2024-08-10T20:17:52.494Z", "modified": "2024-08-10T20:17:52.494Z", "uuid": "cbeefe6b-0a6e-4f91-8b1f-a272901265ff", "title": "Awkwardness", "run_time_seconds": 900, "run_time_ticks": null, "description": "Embarrassment or awkwardness is an emotional state that is associated with mild to severe levels of discomfort, and which is usually experienced when someone commits (or thinks of) a socially unacceptable or frowned-upon act that is witnessed by or revealed to others."}}, {"model": "moods.mood", "pk": 15, "fields": {"created": "2024-08-10T20:18:40.932Z", "modified": "2024-08-10T20:18:40.933Z", "uuid": "1c27b52e-aae4-4631-9bf4-21953776ef8b", "title": "Boredom", "run_time_seconds": 900, "run_time_ticks": null, "description": "In conventional usage, boredom, ennui, or tedium is an emotion characterized by uninterest in one's surrounding, often caused by a lack of distractions or occupations. Although, \"There is no universally accepted definition of boredom. But whatever it is, researchers argue, it is not simply another name for depression or apathy. It seems to be a specific mental state that people find unpleasant—a lack of stimulation that leaves them craving relief, with a host of behavioral, medical and social consequences.\""}}, {"model": "moods.mood", "pk": 16, "fields": {"created": "2024-08-10T20:19:04.661Z", "modified": "2024-08-10T20:19:04.661Z", "uuid": "6a0ea707-05d6-41a5-9e2f-92b7a9c15cdc", "title": "Calmness", "run_time_seconds": 900, "run_time_ticks": null, "description": "Calmness is the mental state of peace of mind, being free from agitation, excitement, or disturbance. It also refers being in a state of serenity, tranquillity, or peace. Calmness can most easily occur for the average person during a state of relaxation, but it can also be found during much more alert and aware states."}}, {"model": "moods.mood", "pk": 17, "fields": {"created": "2024-08-10T20:19:26.216Z", "modified": "2024-08-10T20:19:26.216Z", "uuid": "c4e5e2b2-9070-4203-857e-18b82cd62b92", "title": "Confusion", "run_time_seconds": 900, "run_time_ticks": null, "description": "The feeling when you get information that does not make sense to you, leaving you uncertain what to do with it."}}, {"model": "moods.mood", "pk": 18, "fields": {"created": "2024-08-10T20:20:32.294Z", "modified": "2024-08-10T20:20:32.294Z", "uuid": "0bffe27f-6514-4478-b9b5-0b099ea39e28", "title": "Craving/Desire", "run_time_seconds": 900, "run_time_ticks": null, "description": "Desires are states of mind that are expressed by terms like \"wanting\", \"wishing\", \"longing\" or \"craving\". A great variety of features is commonly associated with desires. They are seen as propositional attitudes towards conceivable states of affairs. They aim to change the world by representing how the world should be, unlike beliefs, which aim to represent how the world actually is."}}, {"model": "moods.mood", "pk": 19, "fields": {"created": "2024-08-10T20:21:00.225Z", "modified": "2024-08-10T20:21:00.225Z", "uuid": "2f213c97-369e-4763-ac87-7d74dc6801ae", "title": "Empathetic pain", "run_time_seconds": 900, "run_time_ticks": null, "description": "Pain empathy is a specific variety of empathy that involves recognizing and understanding another person's pain. Empathy is the mental ability that allows one person to understand another person's mental and emotional state and how to effectively respond to that person."}}, {"model": "moods.mood", "pk": 20, "fields": {"created": "2024-08-10T20:21:37.372Z", "modified": "2024-08-10T20:21:37.372Z", "uuid": "4beb8a85-16e0-4df9-b569-d29205e0fb4f", "title": "Entrancement", "run_time_seconds": 900, "run_time_ticks": null, "description": "Definitions of entrancement. noun. a feeling of delight at being filled with wonder and enchantment."}}, {"model": "moods.mood", "pk": 21, "fields": {"created": "2024-08-10T20:22:24.010Z", "modified": "2024-08-10T20:22:24.010Z", "uuid": "8f8c26e2-86cd-4c69-89ed-4ce8a4ec5029", "title": "Excitement", "run_time_seconds": 900, "run_time_ticks": null, "description": "Excitement is a feeling or situation full of activity, joy, exhilaration, or upheaval. One thing about excitement — it sure isn't boring. There are a few types of excitement, but they're all exciting — they get your attention. If you can't wait for your birthday, you're feeling a happy kind of excitement."}}, {"model": "moods.mood", "pk": 22, "fields": {"created": "2024-08-10T20:22:41.137Z", "modified": "2024-08-10T20:22:41.137Z", "uuid": "1056d48e-8615-4caf-b876-97e6e7324086", "title": "Horror", "run_time_seconds": 900, "run_time_ticks": null, "description": "Horror is the feeling of dread and anticipation that usually occurs before something frightening is seen, heard, or otherwise experienced. It is also the feeling one gets after coming to an awful realization or experiencing a hideous revelation."}}, {"model": "moods.mood", "pk": 23, "fields": {"created": "2024-08-10T20:23:10.897Z", "modified": "2024-08-10T20:23:10.897Z", "uuid": "42c1f073-3292-4cfd-8a3e-39073f6a13c1", "title": "Interest", "run_time_seconds": 900, "run_time_ticks": null, "description": "Interest is a feeling or emotion that causes attention to focus on an object, event, or process. In contemporary psychology of interest,[1] the term is used as a general concept that may encompass other more specific psychological terms, such as curiosity and to a much lesser degree surprise."}}, {"model": "moods.mood", "pk": 24, "fields": {"created": "2024-08-10T20:23:38.584Z", "modified": "2024-08-10T20:23:38.584Z", "uuid": "8a4aa6df-db88-4a85-a6b8-975ca6c588ef", "title": "Nostalgia", "run_time_seconds": 900, "run_time_ticks": null, "description": "Nostalgia is triggered by something reminding an individual of an event or item from their past. The resulting emotion can vary from happiness to sorrow. The term \"feeling nostalgic\" is more commonly used to describe pleasurable emotions associated with, or a longing to return to, a particular period of time."}}, {"model": "moods.mood", "pk": 25, "fields": {"created": "2024-08-10T20:24:19.272Z", "modified": "2024-08-10T20:24:19.272Z", "uuid": "fbe92946-988e-4e33-8eaa-f060a5a89d7f", "title": "Relief", "run_time_seconds": 900, "run_time_ticks": null, "description": "Relief is a positive emotion experienced when something unpleasant, painful or distressing has not happened or has come to an end.\r\n\r\nOften accompanied with a sigh, which signals emotional transition, relief is universally recognized, and judged as a fundamental emotion."}}, {"model": "moods.mood", "pk": 26, "fields": {"created": "2024-08-10T20:24:52.182Z", "modified": "2024-08-10T20:24:52.182Z", "uuid": "0044a42d-b75d-497d-b887-43b014db9850", "title": "Romance", "run_time_seconds": 900, "run_time_ticks": null, "description": "Romance or romantic love is a feeling of love for, or a strong attraction towards another person,and the courtship behaviors undertaken by an individual to express those overall feelings and resultant emotions."}}, {"model": "moods.mood", "pk": 27, "fields": {"created": "2024-08-10T20:25:39.705Z", "modified": "2024-08-10T20:25:39.705Z", "uuid": "185e903f-f958-4230-9604-2ce74d9adf40", "title": "Satisfaction", "run_time_seconds": 900, "run_time_ticks": null, "description": "Satisfaction is the pleasure that you feel when you do something or get something that you wanted or needed to do or get."}}] +[{"model": "moods.mood", "pk": 1, "fields": {"created": "2024-08-10T20:06:25.694Z", "modified": "2024-08-10T20:06:25.694Z", "uuid": "5191fa4b-67a3-4b94-b8a5-de3e6863914d", "title": "Anxious", "run_time_seconds": 900, "description": "Anxiety is an emotion which is characterized by an unpleasant state of inner turmoil and includes feelings of dread over anticipated events. Anxiety is different from fear in that fear is defined as the emotional response to a present threat, whereas anxiety is the anticipation of a future one. (Wikipedia)"}}, {"model": "moods.mood", "pk": 2, "fields": {"created": "2024-08-10T20:06:55.418Z", "modified": "2024-08-10T20:06:55.418Z", "uuid": "2c431aba-5103-444c-ad91-4fec2405a363", "title": "Fear", "run_time_seconds": 900, "description": "Fear is an intensely unpleasant primal emotion in response to perceiving or recognizing a danger or threat. Fear causes psychological changes that may produce behavioral reactions such as mounting an aggressive response or fleeing the threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 3, "fields": {"created": "2024-08-10T20:07:14.035Z", "modified": "2024-08-10T20:07:14.035Z", "uuid": "696b2bf2-9ae6-43b4-8b3d-67f03c9dc48b", "title": "Sadness", "run_time_seconds": 900, "description": "Sadness is an emotional pain associated with, or characterized by, feelings of disadvantage, loss, despair, grief, helplessness, disappointment and sorrow. An individual experiencing sadness may become quiet or lethargic, and withdraw themselves from others. (Wikipedia)"}}, {"model": "moods.mood", "pk": 4, "fields": {"created": "2024-08-10T20:07:38.437Z", "modified": "2024-08-10T20:07:38.437Z", "uuid": "550beff0-d673-4bb5-a87b-80c6f4a9a62a", "title": "Anger", "run_time_seconds": 900, "description": "Anger, also known as wrath or rage, is an intense emotional state involving a strong uncomfortable and non-cooperative response to a perceived provocation, hurt, or threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 5, "fields": {"created": "2024-08-10T20:08:09.423Z", "modified": "2024-08-10T20:08:09.423Z", "uuid": "3b210bc1-7981-4d55-8cf3-e07b46cb15ea", "title": "Surprise", "run_time_seconds": 900, "description": "Surprise is an instantaneous, instinctual reaction to something you didn't expect. (Wikipedia)"}}, {"model": "moods.mood", "pk": 6, "fields": {"created": "2024-08-10T20:09:01.056Z", "modified": "2024-08-10T20:09:01.056Z", "uuid": "865dd78e-66e6-44bb-8257-d8dc1fe5c19c", "title": "Disgust", "run_time_seconds": 900, "description": "Disgust is an emotional response of rejection or revulsion to something potentially contagious or something considered offensive, distasteful or unpleasant. (Wikipedia)"}}, {"model": "moods.mood", "pk": 8, "fields": {"created": "2024-08-10T20:11:02.145Z", "modified": "2024-08-10T20:11:02.145Z", "uuid": "89e82483-c52f-4855-9bb0-cb246a0b684b", "title": "Joy", "run_time_seconds": 900, "description": "Joy is the state of being that allows one to experience feelings of intense, long-lasting happiness and satisfaction of life. It is closely related to, and often evoked by, well-being, success, or good fortune. Happiness, pleasure, and gratitude are closely related to joy but are not identical to it. (Wikipedia)"}}, {"model": "moods.mood", "pk": 9, "fields": {"created": "2024-08-10T20:13:38.852Z", "modified": "2024-08-10T20:13:38.852Z", "uuid": "a0d80c03-969a-4b80-a4b6-2beb9d91687d", "title": "Admiration", "run_time_seconds": 900, "description": "Admiration is a social emotion felt by observing people of competence, talent, or skill exceeding standards. Admiration facilitates social learning in groups. Admiration motivates self-improvement through learning from role-models."}}, {"model": "moods.mood", "pk": 10, "fields": {"created": "2024-08-10T20:14:06.617Z", "modified": "2024-08-10T20:14:06.617Z", "uuid": "5382f548-2a5a-4a08-b447-6470d41c1729", "title": "Adoration", "run_time_seconds": 900, "description": "Adoration is a feeling of great admiration and love for someone or something. She needs and wants to be loved with overwhelming passion and adoration. Synonyms: love, honour, worship, worshipping More Synonyms of adoration."}}, {"model": "moods.mood", "pk": 11, "fields": {"created": "2024-08-10T20:14:25.964Z", "modified": "2024-08-10T20:14:25.964Z", "uuid": "e36ed925-37d8-4856-ba7c-bfce617ecab2", "title": "Aesthetic Appreciation", "run_time_seconds": 900, "description": "Aesthetic appreciation or good taste is the ability to appreciate objective beauty. Aesthetic taste is influenced by many factors, such as personal or cultural background, familiarity, context, and expertise. Access to aesthetically interesting and valuable objects and environments can improve our well-being."}}, {"model": "moods.mood", "pk": 12, "fields": {"created": "2024-08-10T20:14:58.926Z", "modified": "2024-08-10T20:14:58.926Z", "uuid": "4d8c6a20-0041-4793-94ae-1d3dc12c2e95", "title": "Amusement", "run_time_seconds": 900, "description": "Amusement is the state of experiencing humorous and entertaining events or situations while the person or animal actively maintains the experience, and is associated with enjoyment, happiness, laughter and pleasure. It is an emotion with positive valence and high physiological arousal."}}, {"model": "moods.mood", "pk": 13, "fields": {"created": "2024-08-10T20:17:32.001Z", "modified": "2024-08-10T20:17:32.001Z", "uuid": "460e072a-6d5b-481a-8343-cec66b9f4baa", "title": "Awe", "run_time_seconds": 900, "description": "Awe is a complex emotion that occurs when we experience or witness something wonderous, vast, terrifying, inspiring, amazing or mind-blowing. Awe can be triggered by experiences as diverse as walking through an untamed natural landscape, viewing a highly complex piece of art or architecture, having a spiritual or religious experience, or witnessing a seemingly impossible athletic feat."}}, {"model": "moods.mood", "pk": 14, "fields": {"created": "2024-08-10T20:17:52.494Z", "modified": "2024-08-10T20:17:52.494Z", "uuid": "cbeefe6b-0a6e-4f91-8b1f-a272901265ff", "title": "Awkwardness", "run_time_seconds": 900, "description": "Embarrassment or awkwardness is an emotional state that is associated with mild to severe levels of discomfort, and which is usually experienced when someone commits (or thinks of) a socially unacceptable or frowned-upon act that is witnessed by or revealed to others."}}, {"model": "moods.mood", "pk": 15, "fields": {"created": "2024-08-10T20:18:40.932Z", "modified": "2024-08-10T20:18:40.933Z", "uuid": "1c27b52e-aae4-4631-9bf4-21953776ef8b", "title": "Boredom", "run_time_seconds": 900, "description": "In conventional usage, boredom, ennui, or tedium is an emotion characterized by uninterest in one's surrounding, often caused by a lack of distractions or occupations. Although, \"There is no universally accepted definition of boredom. But whatever it is, researchers argue, it is not simply another name for depression or apathy. It seems to be a specific mental state that people find unpleasant—a lack of stimulation that leaves them craving relief, with a host of behavioral, medical and social consequences.\""}}, {"model": "moods.mood", "pk": 16, "fields": {"created": "2024-08-10T20:19:04.661Z", "modified": "2024-08-10T20:19:04.661Z", "uuid": "6a0ea707-05d6-41a5-9e2f-92b7a9c15cdc", "title": "Calmness", "run_time_seconds": 900, "description": "Calmness is the mental state of peace of mind, being free from agitation, excitement, or disturbance. It also refers being in a state of serenity, tranquillity, or peace. Calmness can most easily occur for the average person during a state of relaxation, but it can also be found during much more alert and aware states."}}, {"model": "moods.mood", "pk": 17, "fields": {"created": "2024-08-10T20:19:26.216Z", "modified": "2024-08-10T20:19:26.216Z", "uuid": "c4e5e2b2-9070-4203-857e-18b82cd62b92", "title": "Confusion", "run_time_seconds": 900, "description": "The feeling when you get information that does not make sense to you, leaving you uncertain what to do with it."}}, {"model": "moods.mood", "pk": 18, "fields": {"created": "2024-08-10T20:20:32.294Z", "modified": "2024-08-10T20:20:32.294Z", "uuid": "0bffe27f-6514-4478-b9b5-0b099ea39e28", "title": "Craving/Desire", "run_time_seconds": 900, "description": "Desires are states of mind that are expressed by terms like \"wanting\", \"wishing\", \"longing\" or \"craving\". A great variety of features is commonly associated with desires. They are seen as propositional attitudes towards conceivable states of affairs. They aim to change the world by representing how the world should be, unlike beliefs, which aim to represent how the world actually is."}}, {"model": "moods.mood", "pk": 19, "fields": {"created": "2024-08-10T20:21:00.225Z", "modified": "2024-08-10T20:21:00.225Z", "uuid": "2f213c97-369e-4763-ac87-7d74dc6801ae", "title": "Empathetic pain", "run_time_seconds": 900, "description": "Pain empathy is a specific variety of empathy that involves recognizing and understanding another person's pain. Empathy is the mental ability that allows one person to understand another person's mental and emotional state and how to effectively respond to that person."}}, {"model": "moods.mood", "pk": 20, "fields": {"created": "2024-08-10T20:21:37.372Z", "modified": "2024-08-10T20:21:37.372Z", "uuid": "4beb8a85-16e0-4df9-b569-d29205e0fb4f", "title": "Entrancement", "run_time_seconds": 900, "description": "Definitions of entrancement. noun. a feeling of delight at being filled with wonder and enchantment."}}, {"model": "moods.mood", "pk": 21, "fields": {"created": "2024-08-10T20:22:24.010Z", "modified": "2024-08-10T20:22:24.010Z", "uuid": "8f8c26e2-86cd-4c69-89ed-4ce8a4ec5029", "title": "Excitement", "run_time_seconds": 900, "description": "Excitement is a feeling or situation full of activity, joy, exhilaration, or upheaval. One thing about excitement — it sure isn't boring. There are a few types of excitement, but they're all exciting — they get your attention. If you can't wait for your birthday, you're feeling a happy kind of excitement."}}, {"model": "moods.mood", "pk": 22, "fields": {"created": "2024-08-10T20:22:41.137Z", "modified": "2024-08-10T20:22:41.137Z", "uuid": "1056d48e-8615-4caf-b876-97e6e7324086", "title": "Horror", "run_time_seconds": 900, "description": "Horror is the feeling of dread and anticipation that usually occurs before something frightening is seen, heard, or otherwise experienced. It is also the feeling one gets after coming to an awful realization or experiencing a hideous revelation."}}, {"model": "moods.mood", "pk": 23, "fields": {"created": "2024-08-10T20:23:10.897Z", "modified": "2024-08-10T20:23:10.897Z", "uuid": "42c1f073-3292-4cfd-8a3e-39073f6a13c1", "title": "Interest", "run_time_seconds": 900, "description": "Interest is a feeling or emotion that causes attention to focus on an object, event, or process. In contemporary psychology of interest,[1] the term is used as a general concept that may encompass other more specific psychological terms, such as curiosity and to a much lesser degree surprise."}}, {"model": "moods.mood", "pk": 24, "fields": {"created": "2024-08-10T20:23:38.584Z", "modified": "2024-08-10T20:23:38.584Z", "uuid": "8a4aa6df-db88-4a85-a6b8-975ca6c588ef", "title": "Nostalgia", "run_time_seconds": 900, "description": "Nostalgia is triggered by something reminding an individual of an event or item from their past. The resulting emotion can vary from happiness to sorrow. The term \"feeling nostalgic\" is more commonly used to describe pleasurable emotions associated with, or a longing to return to, a particular period of time."}}, {"model": "moods.mood", "pk": 25, "fields": {"created": "2024-08-10T20:24:19.272Z", "modified": "2024-08-10T20:24:19.272Z", "uuid": "fbe92946-988e-4e33-8eaa-f060a5a89d7f", "title": "Relief", "run_time_seconds": 900, "description": "Relief is a positive emotion experienced when something unpleasant, painful or distressing has not happened or has come to an end.\r\n\r\nOften accompanied with a sigh, which signals emotional transition, relief is universally recognized, and judged as a fundamental emotion."}}, {"model": "moods.mood", "pk": 26, "fields": {"created": "2024-08-10T20:24:52.182Z", "modified": "2024-08-10T20:24:52.182Z", "uuid": "0044a42d-b75d-497d-b887-43b014db9850", "title": "Romance", "run_time_seconds": 900, "description": "Romance or romantic love is a feeling of love for, or a strong attraction towards another person,and the courtship behaviors undertaken by an individual to express those overall feelings and resultant emotions."}}, {"model": "moods.mood", "pk": 27, "fields": {"created": "2024-08-10T20:25:39.705Z", "modified": "2024-08-10T20:25:39.705Z", "uuid": "185e903f-f958-4230-9604-2ce74d9adf40", "title": "Satisfaction", "run_time_seconds": 900, "description": "Satisfaction is the pleasure that you feel when you do something or get something that you wanted or needed to do or get."}}] diff --git a/vrobbler/apps/beers/migrations/0006_remove_beer_run_time_seconds_and_more.py b/vrobbler/apps/beers/migrations/0006_remove_beer_run_time_seconds_and_more.py new file mode 100644 index 0000000..63b3de4 --- /dev/null +++ b/vrobbler/apps/beers/migrations/0006_remove_beer_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('beers', '0005_alter_beer_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='beer', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='beer', + name='run_time_ticks', + ), + migrations.AddField( + model_name='beer', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/boardgames/migrations/0011_remove_boardgame_run_time_seconds_and_more.py b/vrobbler/apps/boardgames/migrations/0011_remove_boardgame_run_time_seconds_and_more.py new file mode 100644 index 0000000..0e3959d --- /dev/null +++ b/vrobbler/apps/boardgames/migrations/0011_remove_boardgame_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('boardgames', '0010_boardgame_published_year'), + ] + + operations = [ + migrations.RemoveField( + model_name='boardgame', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='boardgame', + name='run_time_ticks', + ), + migrations.AddField( + model_name='boardgame', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/books/migrations/0032_remove_book_run_time_seconds_and_more.py b/vrobbler/apps/books/migrations/0032_remove_book_run_time_seconds_and_more.py new file mode 100644 index 0000000..db716ee --- /dev/null +++ b/vrobbler/apps/books/migrations/0032_remove_book_run_time_seconds_and_more.py @@ -0,0 +1,39 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('books', '0031_book_next_readcomics_url'), + ] + + operations = [ + migrations.RemoveField( + model_name='book', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='book', + name='run_time_ticks', + ), + migrations.RemoveField( + model_name='paper', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='paper', + name='run_time_ticks', + ), + migrations.AddField( + model_name='book', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + migrations.AddField( + model_name='paper', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/bricksets/migrations/0003_remove_brickset_run_time_seconds_and_more.py b/vrobbler/apps/bricksets/migrations/0003_remove_brickset_run_time_seconds_and_more.py new file mode 100644 index 0000000..7a833eb --- /dev/null +++ b/vrobbler/apps/bricksets/migrations/0003_remove_brickset_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bricksets', '0002_alter_brickset_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='brickset', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='brickset', + name='run_time_ticks', + ), + migrations.AddField( + model_name='brickset', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/foods/migrations/0004_remove_food_run_time_seconds_and_more.py b/vrobbler/apps/foods/migrations/0004_remove_food_run_time_seconds_and_more.py new file mode 100644 index 0000000..8a90143 --- /dev/null +++ b/vrobbler/apps/foods/migrations/0004_remove_food_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('foods', '0003_food_calories'), + ] + + operations = [ + migrations.RemoveField( + model_name='food', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='food', + name='run_time_ticks', + ), + migrations.AddField( + model_name='food', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/lifeevents/migrations/0003_remove_lifeevent_run_time_seconds_and_more.py b/vrobbler/apps/lifeevents/migrations/0003_remove_lifeevent_run_time_seconds_and_more.py new file mode 100644 index 0000000..1cd1d66 --- /dev/null +++ b/vrobbler/apps/lifeevents/migrations/0003_remove_lifeevent_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('lifeevents', '0002_alter_lifeevent_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='lifeevent', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='lifeevent', + name='run_time_ticks', + ), + migrations.AddField( + model_name='lifeevent', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/locations/migrations/0008_remove_geolocation_run_time_seconds_and_more.py b/vrobbler/apps/locations/migrations/0008_remove_geolocation_run_time_seconds_and_more.py new file mode 100644 index 0000000..03d5334 --- /dev/null +++ b/vrobbler/apps/locations/migrations/0008_remove_geolocation_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('locations', '0007_alter_geolocation_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='geolocation', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='geolocation', + name='run_time_ticks', + ), + migrations.AddField( + model_name='geolocation', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/moods/fixtures/moods.json b/vrobbler/apps/moods/fixtures/moods.json index 36a71ed..e5a9611 100644 --- a/vrobbler/apps/moods/fixtures/moods.json +++ b/vrobbler/apps/moods/fixtures/moods.json @@ -1 +1 @@ -[{"model": "moods.mood", "pk": 1, "fields": {"created": "2024-08-10T20:06:25.694Z", "modified": "2024-08-10T20:06:25.694Z", "uuid": "5191fa4b-67a3-4b94-b8a5-de3e6863914d", "title": "Anxious", "run_time_seconds": null, "run_time_ticks": null, "description": "Anxiety is an emotion which is characterized by an unpleasant state of inner turmoil and includes feelings of dread over anticipated events. Anxiety is different from fear in that fear is defined as the emotional response to a present threat, whereas anxiety is the anticipation of a future one. (Wikipedia)"}}, {"model": "moods.mood", "pk": 2, "fields": {"created": "2024-08-10T20:06:55.418Z", "modified": "2024-08-10T20:06:55.418Z", "uuid": "2c431aba-5103-444c-ad91-4fec2405a363", "title": "Fear", "run_time_seconds": null, "run_time_ticks": null, "description": "Fear is an intensely unpleasant primal emotion in response to perceiving or recognizing a danger or threat. Fear causes psychological changes that may produce behavioral reactions such as mounting an aggressive response or fleeing the threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 3, "fields": {"created": "2024-08-10T20:07:14.035Z", "modified": "2024-08-10T20:07:14.035Z", "uuid": "696b2bf2-9ae6-43b4-8b3d-67f03c9dc48b", "title": "Sadness", "run_time_seconds": null, "run_time_ticks": null, "description": "Sadness is an emotional pain associated with, or characterized by, feelings of disadvantage, loss, despair, grief, helplessness, disappointment and sorrow. An individual experiencing sadness may become quiet or lethargic, and withdraw themselves from others. (Wikipedia)"}}, {"model": "moods.mood", "pk": 4, "fields": {"created": "2024-08-10T20:07:38.437Z", "modified": "2024-08-10T20:07:38.437Z", "uuid": "550beff0-d673-4bb5-a87b-80c6f4a9a62a", "title": "Anger", "run_time_seconds": null, "run_time_ticks": null, "description": "Anger, also known as wrath or rage, is an intense emotional state involving a strong uncomfortable and non-cooperative response to a perceived provocation, hurt, or threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 5, "fields": {"created": "2024-08-10T20:08:09.423Z", "modified": "2024-08-10T20:08:09.423Z", "uuid": "3b210bc1-7981-4d55-8cf3-e07b46cb15ea", "title": "Surprise", "run_time_seconds": null, "run_time_ticks": null, "description": "Surprise is an instantaneous, instinctual reaction to something you didn't expect. (Wikipedia)"}}, {"model": "moods.mood", "pk": 6, "fields": {"created": "2024-08-10T20:09:01.056Z", "modified": "2024-08-10T20:09:01.056Z", "uuid": "865dd78e-66e6-44bb-8257-d8dc1fe5c19c", "title": "Disgust", "run_time_seconds": null, "run_time_ticks": null, "description": "Disgust is an emotional response of rejection or revulsion to something potentially contagious or something considered offensive, distasteful or unpleasant. (Wikipedia)"}}, {"model": "moods.mood", "pk": 8, "fields": {"created": "2024-08-10T20:11:02.145Z", "modified": "2024-08-10T20:11:02.145Z", "uuid": "89e82483-c52f-4855-9bb0-cb246a0b684b", "title": "Joy", "run_time_seconds": null, "run_time_ticks": null, "description": "Joy is the state of being that allows one to experience feelings of intense, long-lasting happiness and satisfaction of life. It is closely related to, and often evoked by, well-being, success, or good fortune. Happiness, pleasure, and gratitude are closely related to joy but are not identical to it. (Wikipedia)"}}, {"model": "moods.mood", "pk": 9, "fields": {"created": "2024-08-10T20:13:38.852Z", "modified": "2024-08-10T20:13:38.852Z", "uuid": "a0d80c03-969a-4b80-a4b6-2beb9d91687d", "title": "Admiration", "run_time_seconds": null, "run_time_ticks": null, "description": "Admiration is a social emotion felt by observing people of competence, talent, or skill exceeding standards. Admiration facilitates social learning in groups. Admiration motivates self-improvement through learning from role-models."}}, {"model": "moods.mood", "pk": 10, "fields": {"created": "2024-08-10T20:14:06.617Z", "modified": "2024-08-10T20:14:06.617Z", "uuid": "5382f548-2a5a-4a08-b447-6470d41c1729", "title": "Adoration", "run_time_seconds": null, "run_time_ticks": null, "description": "Adoration is a feeling of great admiration and love for someone or something. She needs and wants to be loved with overwhelming passion and adoration. Synonyms: love, honour, worship, worshipping More Synonyms of adoration."}}, {"model": "moods.mood", "pk": 11, "fields": {"created": "2024-08-10T20:14:25.964Z", "modified": "2024-08-10T20:14:25.964Z", "uuid": "e36ed925-37d8-4856-ba7c-bfce617ecab2", "title": "Aesthetic Appreciation", "run_time_seconds": null, "run_time_ticks": null, "description": "Aesthetic appreciation or good taste is the ability to appreciate objective beauty. Aesthetic taste is influenced by many factors, such as personal or cultural background, familiarity, context, and expertise. Access to aesthetically interesting and valuable objects and environments can improve our well-being."}}, {"model": "moods.mood", "pk": 12, "fields": {"created": "2024-08-10T20:14:58.926Z", "modified": "2024-08-10T20:14:58.926Z", "uuid": "4d8c6a20-0041-4793-94ae-1d3dc12c2e95", "title": "Amusement", "run_time_seconds": null, "run_time_ticks": null, "description": "Amusement is the state of experiencing humorous and entertaining events or situations while the person or animal actively maintains the experience, and is associated with enjoyment, happiness, laughter and pleasure. It is an emotion with positive valence and high physiological arousal."}}, {"model": "moods.mood", "pk": 13, "fields": {"created": "2024-08-10T20:17:32.001Z", "modified": "2024-08-10T20:17:32.001Z", "uuid": "460e072a-6d5b-481a-8343-cec66b9f4baa", "title": "Awe", "run_time_seconds": null, "run_time_ticks": null, "description": "Awe is a complex emotion that occurs when we experience or witness something wonderous, vast, terrifying, inspiring, amazing or mind-blowing. Awe can be triggered by experiences as diverse as walking through an untamed natural landscape, viewing a highly complex piece of art or architecture, having a spiritual or religious experience, or witnessing a seemingly impossible athletic feat."}}, {"model": "moods.mood", "pk": 14, "fields": {"created": "2024-08-10T20:17:52.494Z", "modified": "2024-08-10T20:17:52.494Z", "uuid": "cbeefe6b-0a6e-4f91-8b1f-a272901265ff", "title": "Awkwardness", "run_time_seconds": null, "run_time_ticks": null, "description": "Embarrassment or awkwardness is an emotional state that is associated with mild to severe levels of discomfort, and which is usually experienced when someone commits (or thinks of) a socially unacceptable or frowned-upon act that is witnessed by or revealed to others."}}, {"model": "moods.mood", "pk": 15, "fields": {"created": "2024-08-10T20:18:40.932Z", "modified": "2024-08-10T20:18:40.933Z", "uuid": "1c27b52e-aae4-4631-9bf4-21953776ef8b", "title": "Boredom", "run_time_seconds": null, "run_time_ticks": null, "description": "In conventional usage, boredom, ennui, or tedium is an emotion characterized by uninterest in one's surrounding, often caused by a lack of distractions or occupations. Although, \"There is no universally accepted definition of boredom. But whatever it is, researchers argue, it is not simply another name for depression or apathy. It seems to be a specific mental state that people find unpleasant—a lack of stimulation that leaves them craving relief, with a host of behavioral, medical and social consequences.\""}}, {"model": "moods.mood", "pk": 16, "fields": {"created": "2024-08-10T20:19:04.661Z", "modified": "2024-08-10T20:19:04.661Z", "uuid": "6a0ea707-05d6-41a5-9e2f-92b7a9c15cdc", "title": "Calmness", "run_time_seconds": null, "run_time_ticks": null, "description": "Calmness is the mental state of peace of mind, being free from agitation, excitement, or disturbance. It also refers being in a state of serenity, tranquillity, or peace. Calmness can most easily occur for the average person during a state of relaxation, but it can also be found during much more alert and aware states."}}, {"model": "moods.mood", "pk": 17, "fields": {"created": "2024-08-10T20:19:26.216Z", "modified": "2024-08-10T20:19:26.216Z", "uuid": "c4e5e2b2-9070-4203-857e-18b82cd62b92", "title": "Confusion", "run_time_seconds": null, "run_time_ticks": null, "description": "The feeling when you get information that does not make sense to you, leaving you uncertain what to do with it."}}, {"model": "moods.mood", "pk": 18, "fields": {"created": "2024-08-10T20:20:32.294Z", "modified": "2024-08-10T20:20:32.294Z", "uuid": "0bffe27f-6514-4478-b9b5-0b099ea39e28", "title": "Craving/Desire", "run_time_seconds": null, "run_time_ticks": null, "description": "Desires are states of mind that are expressed by terms like \"wanting\", \"wishing\", \"longing\" or \"craving\". A great variety of features is commonly associated with desires. They are seen as propositional attitudes towards conceivable states of affairs. They aim to change the world by representing how the world should be, unlike beliefs, which aim to represent how the world actually is."}}, {"model": "moods.mood", "pk": 19, "fields": {"created": "2024-08-10T20:21:00.225Z", "modified": "2024-08-10T20:21:00.225Z", "uuid": "2f213c97-369e-4763-ac87-7d74dc6801ae", "title": "Empathetic pain", "run_time_seconds": null, "run_time_ticks": null, "description": "Pain empathy is a specific variety of empathy that involves recognizing and understanding another person's pain. Empathy is the mental ability that allows one person to understand another person's mental and emotional state and how to effectively respond to that person."}}, {"model": "moods.mood", "pk": 20, "fields": {"created": "2024-08-10T20:21:37.372Z", "modified": "2024-08-10T20:21:37.372Z", "uuid": "4beb8a85-16e0-4df9-b569-d29205e0fb4f", "title": "Entrancement", "run_time_seconds": null, "run_time_ticks": null, "description": "Definitions of entrancement. noun. a feeling of delight at being filled with wonder and enchantment."}}, {"model": "moods.mood", "pk": 21, "fields": {"created": "2024-08-10T20:22:24.010Z", "modified": "2024-08-10T20:22:24.010Z", "uuid": "8f8c26e2-86cd-4c69-89ed-4ce8a4ec5029", "title": "Excitement", "run_time_seconds": null, "run_time_ticks": null, "description": "Excitement is a feeling or situation full of activity, joy, exhilaration, or upheaval. One thing about excitement — it sure isn't boring. There are a few types of excitement, but they're all exciting — they get your attention. If you can't wait for your birthday, you're feeling a happy kind of excitement."}}, {"model": "moods.mood", "pk": 22, "fields": {"created": "2024-08-10T20:22:41.137Z", "modified": "2024-08-10T20:22:41.137Z", "uuid": "1056d48e-8615-4caf-b876-97e6e7324086", "title": "Horror", "run_time_seconds": null, "run_time_ticks": null, "description": "Horror is the feeling of dread and anticipation that usually occurs before something frightening is seen, heard, or otherwise experienced. It is also the feeling one gets after coming to an awful realization or experiencing a hideous revelation."}}, {"model": "moods.mood", "pk": 23, "fields": {"created": "2024-08-10T20:23:10.897Z", "modified": "2024-08-10T20:23:10.897Z", "uuid": "42c1f073-3292-4cfd-8a3e-39073f6a13c1", "title": "Interest", "run_time_seconds": null, "run_time_ticks": null, "description": "Interest is a feeling or emotion that causes attention to focus on an object, event, or process. In contemporary psychology of interest,[1] the term is used as a general concept that may encompass other more specific psychological terms, such as curiosity and to a much lesser degree surprise."}}, {"model": "moods.mood", "pk": 24, "fields": {"created": "2024-08-10T20:23:38.584Z", "modified": "2024-08-10T20:23:38.584Z", "uuid": "8a4aa6df-db88-4a85-a6b8-975ca6c588ef", "title": "Nostalgia", "run_time_seconds": null, "run_time_ticks": null, "description": "Nostalgia is triggered by something reminding an individual of an event or item from their past. The resulting emotion can vary from happiness to sorrow. The term \"feeling nostalgic\" is more commonly used to describe pleasurable emotions associated with, or a longing to return to, a particular period of time."}}, {"model": "moods.mood", "pk": 25, "fields": {"created": "2024-08-10T20:24:19.272Z", "modified": "2024-08-10T20:24:19.272Z", "uuid": "fbe92946-988e-4e33-8eaa-f060a5a89d7f", "title": "Relief", "run_time_seconds": null, "run_time_ticks": null, "description": "Relief is a positive emotion experienced when something unpleasant, painful or distressing has not happened or has come to an end.\r\n\r\nOften accompanied with a sigh, which signals emotional transition, relief is universally recognized, and judged as a fundamental emotion."}}, {"model": "moods.mood", "pk": 26, "fields": {"created": "2024-08-10T20:24:52.182Z", "modified": "2024-08-10T20:24:52.182Z", "uuid": "0044a42d-b75d-497d-b887-43b014db9850", "title": "Romance", "run_time_seconds": null, "run_time_ticks": null, "description": "Romance or romantic love is a feeling of love for, or a strong attraction towards another person,and the courtship behaviors undertaken by an individual to express those overall feelings and resultant emotions."}}, {"model": "moods.mood", "pk": 27, "fields": {"created": "2024-08-10T20:25:39.705Z", "modified": "2024-08-10T20:25:39.705Z", "uuid": "185e903f-f958-4230-9604-2ce74d9adf40", "title": "Satisfaction", "run_time_seconds": null, "run_time_ticks": null, "description": "Satisfaction is the pleasure that you feel when you do something or get something that you wanted or needed to do or get."}}] +[{"model": "moods.mood", "pk": 1, "fields": {"created": "2024-08-10T20:06:25.694Z", "modified": "2024-08-10T20:06:25.694Z", "uuid": "5191fa4b-67a3-4b94-b8a5-de3e6863914d", "title": "Anxious", "run_time_seconds": null, "description": "Anxiety is an emotion which is characterized by an unpleasant state of inner turmoil and includes feelings of dread over anticipated events. Anxiety is different from fear in that fear is defined as the emotional response to a present threat, whereas anxiety is the anticipation of a future one. (Wikipedia)"}}, {"model": "moods.mood", "pk": 2, "fields": {"created": "2024-08-10T20:06:55.418Z", "modified": "2024-08-10T20:06:55.418Z", "uuid": "2c431aba-5103-444c-ad91-4fec2405a363", "title": "Fear", "run_time_seconds": null, "description": "Fear is an intensely unpleasant primal emotion in response to perceiving or recognizing a danger or threat. Fear causes psychological changes that may produce behavioral reactions such as mounting an aggressive response or fleeing the threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 3, "fields": {"created": "2024-08-10T20:07:14.035Z", "modified": "2024-08-10T20:07:14.035Z", "uuid": "696b2bf2-9ae6-43b4-8b3d-67f03c9dc48b", "title": "Sadness", "run_time_seconds": null, "description": "Sadness is an emotional pain associated with, or characterized by, feelings of disadvantage, loss, despair, grief, helplessness, disappointment and sorrow. An individual experiencing sadness may become quiet or lethargic, and withdraw themselves from others. (Wikipedia)"}}, {"model": "moods.mood", "pk": 4, "fields": {"created": "2024-08-10T20:07:38.437Z", "modified": "2024-08-10T20:07:38.437Z", "uuid": "550beff0-d673-4bb5-a87b-80c6f4a9a62a", "title": "Anger", "run_time_seconds": null, "description": "Anger, also known as wrath or rage, is an intense emotional state involving a strong uncomfortable and non-cooperative response to a perceived provocation, hurt, or threat. (Wikipedia)"}}, {"model": "moods.mood", "pk": 5, "fields": {"created": "2024-08-10T20:08:09.423Z", "modified": "2024-08-10T20:08:09.423Z", "uuid": "3b210bc1-7981-4d55-8cf3-e07b46cb15ea", "title": "Surprise", "run_time_seconds": null, "description": "Surprise is an instantaneous, instinctual reaction to something you didn't expect. (Wikipedia)"}}, {"model": "moods.mood", "pk": 6, "fields": {"created": "2024-08-10T20:09:01.056Z", "modified": "2024-08-10T20:09:01.056Z", "uuid": "865dd78e-66e6-44bb-8257-d8dc1fe5c19c", "title": "Disgust", "run_time_seconds": null, "description": "Disgust is an emotional response of rejection or revulsion to something potentially contagious or something considered offensive, distasteful or unpleasant. (Wikipedia)"}}, {"model": "moods.mood", "pk": 8, "fields": {"created": "2024-08-10T20:11:02.145Z", "modified": "2024-08-10T20:11:02.145Z", "uuid": "89e82483-c52f-4855-9bb0-cb246a0b684b", "title": "Joy", "run_time_seconds": null, "description": "Joy is the state of being that allows one to experience feelings of intense, long-lasting happiness and satisfaction of life. It is closely related to, and often evoked by, well-being, success, or good fortune. Happiness, pleasure, and gratitude are closely related to joy but are not identical to it. (Wikipedia)"}}, {"model": "moods.mood", "pk": 9, "fields": {"created": "2024-08-10T20:13:38.852Z", "modified": "2024-08-10T20:13:38.852Z", "uuid": "a0d80c03-969a-4b80-a4b6-2beb9d91687d", "title": "Admiration", "run_time_seconds": null, "description": "Admiration is a social emotion felt by observing people of competence, talent, or skill exceeding standards. Admiration facilitates social learning in groups. Admiration motivates self-improvement through learning from role-models."}}, {"model": "moods.mood", "pk": 10, "fields": {"created": "2024-08-10T20:14:06.617Z", "modified": "2024-08-10T20:14:06.617Z", "uuid": "5382f548-2a5a-4a08-b447-6470d41c1729", "title": "Adoration", "run_time_seconds": null, "description": "Adoration is a feeling of great admiration and love for someone or something. She needs and wants to be loved with overwhelming passion and adoration. Synonyms: love, honour, worship, worshipping More Synonyms of adoration."}}, {"model": "moods.mood", "pk": 11, "fields": {"created": "2024-08-10T20:14:25.964Z", "modified": "2024-08-10T20:14:25.964Z", "uuid": "e36ed925-37d8-4856-ba7c-bfce617ecab2", "title": "Aesthetic Appreciation", "run_time_seconds": null, "description": "Aesthetic appreciation or good taste is the ability to appreciate objective beauty. Aesthetic taste is influenced by many factors, such as personal or cultural background, familiarity, context, and expertise. Access to aesthetically interesting and valuable objects and environments can improve our well-being."}}, {"model": "moods.mood", "pk": 12, "fields": {"created": "2024-08-10T20:14:58.926Z", "modified": "2024-08-10T20:14:58.926Z", "uuid": "4d8c6a20-0041-4793-94ae-1d3dc12c2e95", "title": "Amusement", "run_time_seconds": null, "description": "Amusement is the state of experiencing humorous and entertaining events or situations while the person or animal actively maintains the experience, and is associated with enjoyment, happiness, laughter and pleasure. It is an emotion with positive valence and high physiological arousal."}}, {"model": "moods.mood", "pk": 13, "fields": {"created": "2024-08-10T20:17:32.001Z", "modified": "2024-08-10T20:17:32.001Z", "uuid": "460e072a-6d5b-481a-8343-cec66b9f4baa", "title": "Awe", "run_time_seconds": null, "description": "Awe is a complex emotion that occurs when we experience or witness something wonderous, vast, terrifying, inspiring, amazing or mind-blowing. Awe can be triggered by experiences as diverse as walking through an untamed natural landscape, viewing a highly complex piece of art or architecture, having a spiritual or religious experience, or witnessing a seemingly impossible athletic feat."}}, {"model": "moods.mood", "pk": 14, "fields": {"created": "2024-08-10T20:17:52.494Z", "modified": "2024-08-10T20:17:52.494Z", "uuid": "cbeefe6b-0a6e-4f91-8b1f-a272901265ff", "title": "Awkwardness", "run_time_seconds": null, "description": "Embarrassment or awkwardness is an emotional state that is associated with mild to severe levels of discomfort, and which is usually experienced when someone commits (or thinks of) a socially unacceptable or frowned-upon act that is witnessed by or revealed to others."}}, {"model": "moods.mood", "pk": 15, "fields": {"created": "2024-08-10T20:18:40.932Z", "modified": "2024-08-10T20:18:40.933Z", "uuid": "1c27b52e-aae4-4631-9bf4-21953776ef8b", "title": "Boredom", "run_time_seconds": null, "description": "In conventional usage, boredom, ennui, or tedium is an emotion characterized by uninterest in one's surrounding, often caused by a lack of distractions or occupations. Although, \"There is no universally accepted definition of boredom. But whatever it is, researchers argue, it is not simply another name for depression or apathy. It seems to be a specific mental state that people find unpleasant—a lack of stimulation that leaves them craving relief, with a host of behavioral, medical and social consequences.\""}}, {"model": "moods.mood", "pk": 16, "fields": {"created": "2024-08-10T20:19:04.661Z", "modified": "2024-08-10T20:19:04.661Z", "uuid": "6a0ea707-05d6-41a5-9e2f-92b7a9c15cdc", "title": "Calmness", "run_time_seconds": null, "description": "Calmness is the mental state of peace of mind, being free from agitation, excitement, or disturbance. It also refers being in a state of serenity, tranquillity, or peace. Calmness can most easily occur for the average person during a state of relaxation, but it can also be found during much more alert and aware states."}}, {"model": "moods.mood", "pk": 17, "fields": {"created": "2024-08-10T20:19:26.216Z", "modified": "2024-08-10T20:19:26.216Z", "uuid": "c4e5e2b2-9070-4203-857e-18b82cd62b92", "title": "Confusion", "run_time_seconds": null, "description": "The feeling when you get information that does not make sense to you, leaving you uncertain what to do with it."}}, {"model": "moods.mood", "pk": 18, "fields": {"created": "2024-08-10T20:20:32.294Z", "modified": "2024-08-10T20:20:32.294Z", "uuid": "0bffe27f-6514-4478-b9b5-0b099ea39e28", "title": "Craving/Desire", "run_time_seconds": null, "description": "Desires are states of mind that are expressed by terms like \"wanting\", \"wishing\", \"longing\" or \"craving\". A great variety of features is commonly associated with desires. They are seen as propositional attitudes towards conceivable states of affairs. They aim to change the world by representing how the world should be, unlike beliefs, which aim to represent how the world actually is."}}, {"model": "moods.mood", "pk": 19, "fields": {"created": "2024-08-10T20:21:00.225Z", "modified": "2024-08-10T20:21:00.225Z", "uuid": "2f213c97-369e-4763-ac87-7d74dc6801ae", "title": "Empathetic pain", "run_time_seconds": null, "description": "Pain empathy is a specific variety of empathy that involves recognizing and understanding another person's pain. Empathy is the mental ability that allows one person to understand another person's mental and emotional state and how to effectively respond to that person."}}, {"model": "moods.mood", "pk": 20, "fields": {"created": "2024-08-10T20:21:37.372Z", "modified": "2024-08-10T20:21:37.372Z", "uuid": "4beb8a85-16e0-4df9-b569-d29205e0fb4f", "title": "Entrancement", "run_time_seconds": null, "description": "Definitions of entrancement. noun. a feeling of delight at being filled with wonder and enchantment."}}, {"model": "moods.mood", "pk": 21, "fields": {"created": "2024-08-10T20:22:24.010Z", "modified": "2024-08-10T20:22:24.010Z", "uuid": "8f8c26e2-86cd-4c69-89ed-4ce8a4ec5029", "title": "Excitement", "run_time_seconds": null, "description": "Excitement is a feeling or situation full of activity, joy, exhilaration, or upheaval. One thing about excitement — it sure isn't boring. There are a few types of excitement, but they're all exciting — they get your attention. If you can't wait for your birthday, you're feeling a happy kind of excitement."}}, {"model": "moods.mood", "pk": 22, "fields": {"created": "2024-08-10T20:22:41.137Z", "modified": "2024-08-10T20:22:41.137Z", "uuid": "1056d48e-8615-4caf-b876-97e6e7324086", "title": "Horror", "run_time_seconds": null, "description": "Horror is the feeling of dread and anticipation that usually occurs before something frightening is seen, heard, or otherwise experienced. It is also the feeling one gets after coming to an awful realization or experiencing a hideous revelation."}}, {"model": "moods.mood", "pk": 23, "fields": {"created": "2024-08-10T20:23:10.897Z", "modified": "2024-08-10T20:23:10.897Z", "uuid": "42c1f073-3292-4cfd-8a3e-39073f6a13c1", "title": "Interest", "run_time_seconds": null, "description": "Interest is a feeling or emotion that causes attention to focus on an object, event, or process. In contemporary psychology of interest,[1] the term is used as a general concept that may encompass other more specific psychological terms, such as curiosity and to a much lesser degree surprise."}}, {"model": "moods.mood", "pk": 24, "fields": {"created": "2024-08-10T20:23:38.584Z", "modified": "2024-08-10T20:23:38.584Z", "uuid": "8a4aa6df-db88-4a85-a6b8-975ca6c588ef", "title": "Nostalgia", "run_time_seconds": null, "description": "Nostalgia is triggered by something reminding an individual of an event or item from their past. The resulting emotion can vary from happiness to sorrow. The term \"feeling nostalgic\" is more commonly used to describe pleasurable emotions associated with, or a longing to return to, a particular period of time."}}, {"model": "moods.mood", "pk": 25, "fields": {"created": "2024-08-10T20:24:19.272Z", "modified": "2024-08-10T20:24:19.272Z", "uuid": "fbe92946-988e-4e33-8eaa-f060a5a89d7f", "title": "Relief", "run_time_seconds": null, "description": "Relief is a positive emotion experienced when something unpleasant, painful or distressing has not happened or has come to an end.\r\n\r\nOften accompanied with a sigh, which signals emotional transition, relief is universally recognized, and judged as a fundamental emotion."}}, {"model": "moods.mood", "pk": 26, "fields": {"created": "2024-08-10T20:24:52.182Z", "modified": "2024-08-10T20:24:52.182Z", "uuid": "0044a42d-b75d-497d-b887-43b014db9850", "title": "Romance", "run_time_seconds": null, "description": "Romance or romantic love is a feeling of love for, or a strong attraction towards another person,and the courtship behaviors undertaken by an individual to express those overall feelings and resultant emotions."}}, {"model": "moods.mood", "pk": 27, "fields": {"created": "2024-08-10T20:25:39.705Z", "modified": "2024-08-10T20:25:39.705Z", "uuid": "185e903f-f958-4230-9604-2ce74d9adf40", "title": "Satisfaction", "run_time_seconds": null, "description": "Satisfaction is the pleasure that you feel when you do something or get something that you wanted or needed to do or get."}}] diff --git a/vrobbler/apps/moods/migrations/0004_remove_mood_run_time_seconds_and_more.py b/vrobbler/apps/moods/migrations/0004_remove_mood_run_time_seconds_and_more.py new file mode 100644 index 0000000..d8bfdfb --- /dev/null +++ b/vrobbler/apps/moods/migrations/0004_remove_mood_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('moods', '0003_alter_mood_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='mood', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='mood', + name='run_time_ticks', + ), + migrations.AddField( + model_name='mood', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/music/migrations/0029_remove_track_run_time_seconds_and_more.py b/vrobbler/apps/music/migrations/0029_remove_track_run_time_seconds_and_more.py new file mode 100644 index 0000000..8166f76 --- /dev/null +++ b/vrobbler/apps/music/migrations/0029_remove_track_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('music', '0028_alter_track_albums'), + ] + + operations = [ + migrations.RemoveField( + model_name='track', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='track', + name='run_time_ticks', + ), + migrations.AddField( + model_name='track', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/podcasts/migrations/0018_remove_podcastepisode_run_time_seconds_and_more.py b/vrobbler/apps/podcasts/migrations/0018_remove_podcastepisode_run_time_seconds_and_more.py new file mode 100644 index 0000000..91b63a2 --- /dev/null +++ b/vrobbler/apps/podcasts/migrations/0018_remove_podcastepisode_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('podcasts', '0017_podcast_podcastindex_id'), + ] + + operations = [ + migrations.RemoveField( + model_name='podcastepisode', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='podcastepisode', + name='run_time_ticks', + ), + migrations.AddField( + model_name='podcastepisode', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/puzzles/migrations/0004_remove_puzzle_run_time_seconds_and_more.py b/vrobbler/apps/puzzles/migrations/0004_remove_puzzle_run_time_seconds_and_more.py new file mode 100644 index 0000000..891fa74 --- /dev/null +++ b/vrobbler/apps/puzzles/migrations/0004_remove_puzzle_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('puzzles', '0003_rename_igdb_id_puzzle_ipdb_id_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='puzzle', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='puzzle', + name='run_time_ticks', + ), + migrations.AddField( + model_name='puzzle', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/scrobbles/mixins.py b/vrobbler/apps/scrobbles/mixins.py index 31a9150..2e94793 100644 --- a/vrobbler/apps/scrobbles/mixins.py +++ b/vrobbler/apps/scrobbles/mixins.py @@ -57,14 +57,20 @@ class ScrobblableMixin(TimeStampedModel): uuid = models.UUIDField(default=uuid4, editable=False, **BNULL) title = models.CharField(max_length=255, **BNULL) - run_time_seconds = models.IntegerField(default=900) - run_time_ticks = models.PositiveBigIntegerField(**BNULL) + base_run_time_seconds = models.IntegerField(**BNULL) genre = TaggableManager(through=ObjectWithGenres, blank=True) class Meta: abstract = True + @property + def run_time_seconds(self) -> int: + run_time = 900 + if self.base_run_time_seconds: + run_time = self.base_run_time_seconds + return run_time + @classmethod def is_long_play_media(cls) -> bool: return False diff --git a/vrobbler/apps/sports/migrations/0016_remove_sportevent_run_time_seconds_and_more.py b/vrobbler/apps/sports/migrations/0016_remove_sportevent_run_time_seconds_and_more.py new file mode 100644 index 0000000..8e1cf3f --- /dev/null +++ b/vrobbler/apps/sports/migrations/0016_remove_sportevent_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sports', '0015_alter_sportevent_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='sportevent', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='sportevent', + name='run_time_ticks', + ), + migrations.AddField( + model_name='sportevent', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/tasks/migrations/0005_remove_task_run_time_seconds_and_more.py b/vrobbler/apps/tasks/migrations/0005_remove_task_run_time_seconds_and_more.py new file mode 100644 index 0000000..14db12e --- /dev/null +++ b/vrobbler/apps/tasks/migrations/0005_remove_task_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tasks', '0004_alter_task_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='task', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='task', + name='run_time_ticks', + ), + migrations.AddField( + model_name='task', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/trails/migrations/0006_remove_trail_run_time_seconds_and_more.py b/vrobbler/apps/trails/migrations/0006_remove_trail_run_time_seconds_and_more.py new file mode 100644 index 0000000..7959a18 --- /dev/null +++ b/vrobbler/apps/trails/migrations/0006_remove_trail_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('trails', '0005_trail_alltrails_id_trail_gaiagps_id'), + ] + + operations = [ + migrations.RemoveField( + model_name='trail', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='trail', + name='run_time_ticks', + ), + migrations.AddField( + model_name='trail', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/videogames/migrations/0013_remove_videogame_run_time_seconds_and_more.py b/vrobbler/apps/videogames/migrations/0013_remove_videogame_run_time_seconds_and_more.py new file mode 100644 index 0000000..2a5c608 --- /dev/null +++ b/vrobbler/apps/videogames/migrations/0013_remove_videogame_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('videogames', '0012_alter_videogame_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='videogame', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='videogame', + name='run_time_ticks', + ), + migrations.AddField( + model_name='videogame', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/videogames/models.py b/vrobbler/apps/videogames/models.py index e671b96..ebf45a5 100644 --- a/vrobbler/apps/videogames/models.py +++ b/vrobbler/apps/videogames/models.py @@ -205,7 +205,7 @@ class VideoGame(LongPlayScrobblableMixin): @property def seconds_for_completion(self) -> int: - completion_time = self.run_time_ticks + completion_time = self.run_time_seconds if not completion_time: # Default to 10 hours, why not completion_time = 10 * 60 * 60 @@ -237,7 +237,7 @@ class VideoGame(LongPlayScrobblableMixin): if self.igdb_id: load_game_data_from_igdb(self.id, self.igdb_id) - if (not self.run_time_ticks or force_update) and self.main_story_time: + if force_update and self.main_story_time: self.run_time_seconds = self.main_story_time self.save(update_fields=["run_time_seconds"]) diff --git a/vrobbler/apps/videos/migrations/0024_remove_video_run_time_seconds_and_more.py b/vrobbler/apps/videos/migrations/0024_remove_video_run_time_seconds_and_more.py new file mode 100644 index 0000000..d92b08d --- /dev/null +++ b/vrobbler/apps/videos/migrations/0024_remove_video_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('videos', '0023_video_tmdb_rating'), + ] + + operations = [ + migrations.RemoveField( + model_name='video', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='video', + name='run_time_ticks', + ), + migrations.AddField( + model_name='video', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ] diff --git a/vrobbler/apps/webpages/migrations/0006_remove_webpage_run_time_seconds_and_more.py b/vrobbler/apps/webpages/migrations/0006_remove_webpage_run_time_seconds_and_more.py new file mode 100644 index 0000000..08a723a --- /dev/null +++ b/vrobbler/apps/webpages/migrations/0006_remove_webpage_run_time_seconds_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.19 on 2025-10-30 01:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('webpages', '0005_alter_webpage_run_time_seconds'), + ] + + operations = [ + migrations.RemoveField( + model_name='webpage', + name='run_time_seconds', + ), + migrations.RemoveField( + model_name='webpage', + name='run_time_ticks', + ), + migrations.AddField( + model_name='webpage', + name='base_run_time_seconds', + field=models.IntegerField(blank=True, null=True), + ), + ]