Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Video.priority #137

Merged
merged 3 commits into from
Jan 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__pycache__/
.pytest_cache/
*.py[cod]
venv/
htmlcov/
Expand Down
111 changes: 74 additions & 37 deletions hth/jahhills.json
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,8 @@
"preview_url": "https://img.youtube.com/vi/v0wsVdRvKP8/hqdefault.jpg",
"description": "",
"credits": "",
"release": 1
"release": 1,
"priority": null
}
},
{
Expand All @@ -1804,7 +1805,8 @@
"preview_url": "https://img.youtube.com/vi/nOfHnxgtuB0/hqdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1820,7 +1822,8 @@
"preview_url": "https://img.youtube.com/vi/Tmh1zmIpZKI/hqdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1836,7 +1839,8 @@
"preview_url": "https://img.youtube.com/vi/Sl3_u51Jw8k/hqdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1852,7 +1856,8 @@
"preview_url": "https://img.youtube.com/vi/59cbFQnBLsg/hqdefault.jpg",
"description": "",
"credits": "",
"release": 3
"release": 3,
"priority": null
}
},
{
Expand All @@ -1868,7 +1873,8 @@
"preview_url": "https://i.vimeocdn.com/video/33474406_640.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1884,7 +1890,8 @@
"preview_url": "https://i.vimeocdn.com/video/26930319_640.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1900,7 +1907,8 @@
"preview_url": "https://img.youtube.com/vi/P_WLB3VsrIM/hqdefault.jpg",
"description": "",
"credits": "",
"release": 3
"release": 3,
"priority": null
}
},
{
Expand All @@ -1916,7 +1924,8 @@
"preview_url": "https://img.youtube.com/vi/tAMliN9QcP0/hqdefault.jpg",
"description": "",
"credits": "",
"release": 9
"release": 9,
"priority": null
}
},
{
Expand All @@ -1932,7 +1941,8 @@
"preview_url": "https://img.youtube.com/vi/jGPDc-R0wcE/hqdefault.jpg",
"description": "",
"credits": "",
"release": 3
"release": 3,
"priority": null
}
},
{
Expand All @@ -1948,7 +1958,8 @@
"preview_url": "https://img.youtube.com/vi/zLKaes54BPM/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 7
"release": 7,
"priority": null
}
},
{
Expand All @@ -1964,7 +1975,8 @@
"preview_url": "https://img.youtube.com/vi/lPvL_n_z1S4/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -1980,7 +1992,8 @@
"preview_url": "https://i.vimeocdn.com/video/302578255_640.jpg",
"description": "",
"credits": "",
"release": 7
"release": 7,
"priority": null
}
},
{
Expand All @@ -1996,7 +2009,8 @@
"preview_url": "https://i.vimeocdn.com/video/304545540_640.jpg",
"description": "",
"credits": "",
"release": 7
"release": 7,
"priority": null
}
},
{
Expand All @@ -2012,7 +2026,8 @@
"preview_url": "https://img.youtube.com/vi/2VtZF_MNk7o/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 7
"release": 7,
"priority": null
}
},
{
Expand All @@ -2028,7 +2043,8 @@
"preview_url": "https://img.youtube.com/vi/_MpoV3nN5ZM/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2044,7 +2060,8 @@
"preview_url": "https://img.youtube.com/vi/QXgTDyatfvE/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 9
"release": 9,
"priority": null
}
},
{
Expand All @@ -2060,7 +2077,8 @@
"preview_url": "https://img.youtube.com/vi/Y_bu8VG8R1U/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2076,7 +2094,8 @@
"preview_url": "https://img.youtube.com/vi/kEe0RD1Mr7s/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2092,7 +2111,8 @@
"preview_url": "https://img.youtube.com/vi/2GAxATJ74_A/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2108,7 +2128,8 @@
"preview_url": "https://img.youtube.com/vi/8XK-vkOZh_c/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2124,7 +2145,8 @@
"preview_url": "https://img.youtube.com/vi/zW2Msqaclls/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2140,7 +2162,8 @@
"preview_url": "https://img.youtube.com/vi/SeMhvXc5W-I/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2156,7 +2179,8 @@
"preview_url": "https://img.youtube.com/vi/Bu0q0v84Xds/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2172,7 +2196,8 @@
"preview_url": "https://img.youtube.com/vi/YuY1EZXq2eQ/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2188,7 +2213,8 @@
"preview_url": "https://img.youtube.com/vi/SKrQtNpixtI/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2204,7 +2230,8 @@
"preview_url": "https://img.youtube.com/vi/TZU2mWTwTeY/sddefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2220,7 +2247,8 @@
"preview_url": "https://img.youtube.com/vi/SqwdsgOPMOM/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2236,7 +2264,8 @@
"preview_url": "https://i.vimeocdn.com/video/517362144_640.jpg",
"description": "",
"credits": "<p><strong>Directed/Edited</strong> by Ryan Hamilton Walsh</p>\r\n\r\n<p><strong>Cast</strong></p>\r\n\r\n<p>Ryan Connelly as Bear Boy <br>\r\nBrian Rutledge <br>\r\nJoseph Marrett <br>\r\nNicholas Giandone Ward <br>\r\nRyan Hamilton Walsh <br>\r\nColleen Matthews <br>\r\nKelly Teer <br>\r\nPete Schluter <br>\r\nNick Stanisha <br>\r\nChristine Fernsebner Eslao <br>\r\nJeff Walsh <br>\r\nMike O\u2019Brien <br>\r\nJohn Benda <br>\r\nDean Ward <br>\r\nKathleen Giadone</p>\r\n\r\n<p><strong>Mask Design</strong> by <a href=\"http://wintercroft.com\">Wintercroft</a></p>\r\n\r\n<p><strong>Mask Assembly</strong></p>\r\n\r\n<p>Nicholas Giadone Ward <br>\r\nRyan Hamilton Walsh <br>\r\nBrian Rutledge <br>\r\nRyan Connelly</p>\r\n\r\n<p><strong>Special Thanks</strong></p>\r\n\r\n<p>Crystal Ren\u00e9 Burney <br>\r\nCharles Morton <br>\r\nThe Tavern at the End of the World</p>",
"release": 10
"release": 10,
"priority": null
}
},
{
Expand All @@ -2252,7 +2281,8 @@
"preview_url": "https://img.youtube.com/vi/3lkVl3hyBXE/maxresdefault.jpg",
"description": "<p>Some are calling this the best video of all time. I can't speak to that but I can say this video does contain actual footage from the recording studio where the real album title was revealed to the band. And it was...tense.</p>",
"credits": "",
"release": 12
"release": 12,
"priority": null
}
},
{
Expand All @@ -2268,7 +2298,8 @@
"preview_url": "https://img.youtube.com/vi/2I0FQFGqcCc/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 12
"release": 12,
"priority": null
}
},
{
Expand All @@ -2284,7 +2315,8 @@
"preview_url": "https://img.youtube.com/vi/C7uDxqn7dtY/maxresdefault.jpg",
"description": "",
"credits": "<p>Candle Eradicators: Mark Walsh, Mona Walsh, Julia Papps, Billy Kanellopoulos, Maura Johnston, Brad Nelson, Hatcher Bentley, Jessica Grimsby, Erik Szyska, Kevin Hoskins, Boog Dumphy, Katie Connors, Danielle Blasczak, Clara & Connor, Jenna Sicuranza, Evan Sicuranza, Linda Sicuranza, Kevin Becerra, Ramona Rose, Mouhcine Karrouim, Marisa Young, Jeff Prohaska, Anthony Puopolo, Jim Kavanaugh, Francine Mroczek, Allyson Laredo, Katelyn Guerin, Michael Ruggerio, Trina Ruggerio, Matthew Scott, Ed Park, Leeore Schnairsohn, Alexandria Ellison, Jim Mahoney, Ryan Walsh, Joseph Marrett, Brian Rutledge, Ryan Connelly</p>",
"release": 12
"release": 12,
"priority": null
}
},
{
Expand All @@ -2300,7 +2332,8 @@
"preview_url": "https://img.youtube.com/vi/Amz8lS4uB7I/maxresdefault.jpg",
"description": "",
"credits": "",
"release": 15
"release": 15,
"priority": null
}
},
{
Expand All @@ -2316,7 +2349,8 @@
"preview_url": "https://img.youtube.com/vi/1JOs37FojZ0/maxresdefault.jpg",
"description": "",
"credits": "<p>Special thanks to Joe Yoga and Neal Block for filming.</p>",
"release": 15
"release": 15,
"priority": 1
}
},
{
Expand All @@ -2332,7 +2366,8 @@
"preview_url": "https://img.youtube.com/vi/CrT-bkNCXTI/maxresdefault.jpg",
"description": "<p>Much like the song, the video for \u201cRunning Hot With Fate\u201d is a collection of miniature short stories about a group of people. But whereas these stories were conveyed in the recording by way of the lyrics, here in the video, volumes are telegraphed via peoples\u2019 stares, subtle expressions, and the contours of their faces. 27 Boston musicians were cast in \u2018Fate\u2019 from a pool of artists whose careers collectively cover six decades of music.</p>\r\n\r\n<p>You can read more about the video, meet the Fates, and own a piece of Fate at <a href=\"https://www.runninghotwithfate.com/\">runninghotwithfate.com</a>.</p>",
"credits": "<p>Directed &amp; edited by Tyler Hollis Derryberry\r\n<br />Concept/Produced by: Tyler Hollis Derryberry &amp; Ryan H. Walsh</p>",
"release": 15
"release": 15,
"priority": 1
}
},
{
Expand All @@ -2348,7 +2383,8 @@
"preview_url": "https://img.youtube.com/vi/cXzCCUVUih8/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand All @@ -2364,7 +2400,8 @@
"preview_url": "https://img.youtube.com/vi/qUDQwLrYuCY/maxresdefault.jpg",
"description": "",
"credits": "",
"release": null
"release": null,
"priority": null
}
},
{
Expand Down
6 changes: 4 additions & 2 deletions hth/music/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ class SongAdmin(admin.ModelAdmin):
class VideoAdmin(admin.ModelAdmin):
save_on_top = True
fields = ('title', 'slug', 'source_url', 'embed_code', 'preview_url',
'release', 'description', 'credits', 'publish', 'publish_on',)
'release', 'description', 'credits', 'publish', 'publish_on',
'priority',)
prepopulated_fields = {'slug': ('title',)}
list_display = ('title', 'source_url', 'release', 'publish', 'publish_on',)
list_display = ('title', 'source_url', 'release', 'publish', 'publish_on',
'priority',)


admin.site.register(Video, VideoAdmin)
Expand Down
Loading