Felix Stupp
66c37e72aa
models: Extract table name "element_lookup_cache" to constant
2 years ago
Felix Stupp
f810591c2c
Revert "Add ConsideredMediaGenerator"
...
This reverts commit a5844cc424
,
because developed method was not fast enough & it was faster to use a
SQL native method developed afterwards
2 years ago
Felix Stupp
a5844cc424
Add ConsideredMediaGenerator
...
Developed for faster method to find considerable media
2 years ago
Felix Stupp
7e5e58c487
models.py: Reformated code
2 years ago
Felix Stupp
ef09aea0b5
MediaElement: Add index to release_date
2 years ago
Felix Stupp
e5dc2db760
MediaElement.watched: Fix column name
2 years ago
Felix Stupp
bbe2280255
macros: Add collection_entry macro
...
- similar to media_entry / link_entry
- unused for now
2 years ago
Felix Stupp
1c9c6a2502
CSS: Design navigation bar and fix onto top border
2 years ago
Felix Stupp
4df5138b82
CSS: Decrease default font size of buttons
2 years ago
Felix Stupp
d4afa9028e
CSS: Increase margin&padding of buttons
2 years ago
Felix Stupp
a716581337
macros:media_element_buttons: Use icons replacing text
2 years ago
Felix Stupp
2053cda5e1
macros:link_position_marker: Fix conditional comma
2 years ago
Felix Stupp
0d09b10f01
macros.htm: Make fragment usage configurable
2 years ago
Felix Stupp
d0136640bd
Add CSS class to play_button
2 years ago
Felix Stupp
21365a5e24
Change play button default symbol to play icon
2 years ago
Felix Stupp
47aeeb5f34
Make play button content / symbol configurable
2 years ago
Felix Stupp
6ec7da89a9
Restrict play links to videos from ytdl / youtube
...
- others sadly cannot be played by mpv
2 years ago
Felix Stupp
4c9b1b0845
Link from collection to its creator if exists
2 years ago
Felix Stupp
7ff9a821c5
Add buttons to set marks on collections
2 years ago
Felix Stupp
e028e0abf7
app:show_collection: extract max count
2 years ago
Felix Stupp
1b8b684b73
Add endpoint /collection/overview
...
- for latter added mass extract collection
2 years ago
Felix Stupp
f89215e45b
Add listing for all collections
2 years ago
Felix Stupp
2aa23dec2e
app: List only root collections on collection/to_watch
2 years ago
Felix Stupp
874532572b
app: Separate _list_collections and _by_filter
2 years ago
Felix Stupp
da2ca3aed4
Add support to input progress as H:MM:SS
2 years ago
Felix Stupp
8834227335
app.py: Reformat code
2 years ago
Felix Stupp
4e341f9e16
app.py: Remove unused import for jsonify
2 years ago
Felix Stupp
2ae09f1130
app.py: Reformat code
2 years ago
Felix Stupp
93eaeb7c02
app.py: Make filter timedelta handle None values
2 years ago
Felix Stupp
060662a5a1
app.py: Rename filter timedelta while keeping filter name
...
- to make name timedelta free
2 years ago
Felix Stupp
fd109ea1e5
app.py:encode_options: Improve type hints
2 years ago
Felix Stupp
04565affb2
Add & use this_url template global helper
2 years ago
Felix Stupp
2e767fddf0
Make buttons in media tables more responsive
2 years ago
Felix Stupp
8ca61f27e9
Make media table headers shorter with blanks / icons
2 years ago
Felix Stupp
68e1394402
macros.htm: Reformat code & remove surrounding whitespace from formatting
2 years ago
Felix Stupp
e5f26caff3
CSS: Enforce single-line buttons uniformly
2 years ago
Felix Stupp
92cd6e2c28
CSS: Set cursor for buttons to be uniform
...
- pointer for enabled buttons
- default for disabled buttons
2 years ago
Felix Stupp
057de7cd75
CSS: Remove default border from buttons
2 years ago
Felix Stupp
7a76c388ba
CSS: Retheme buttons
2 years ago
Felix Stupp
b5f4f5dcf8
CSS: Set margin for commonly used h1,h2 and ul
2 years ago
Felix Stupp
c0c499c30a
CSS: Set line height for body
...
for more compact design
2 years ago
Felix Stupp
99c32f4e81
CSS: Set margin for body
2 years ago
Felix Stupp
a36d97daa3
CSS: Fix font globally
2 years ago
Felix Stupp
d3c12ed79a
CSS: Collapse link styling to :any-link
2 years ago
Felix Stupp
5587bc4a74
Redesign coloring to dark theme with purple accent
2 years ago
Felix Stupp
fa8cdca0db
Add reset CSS stylesheet
2 years ago
Felix Stupp
f8ef40ba92
navi: Shorten Refresh button by using icon
2 years ago
Felix Stupp
dfa6ee4a40
navi: Surround navigation buttons with div.navigation for CSS
2 years ago
Felix Stupp
f5de2a3bbc
navi: Write out "Statistics"
2 years ago
Felix Stupp
4977c177ba
navi: shorten some names by removing words or replacing with icons
2 years ago
Felix Stupp
62e2beeab7
Add site listing long media
...
- longer than 10 minutes
- in opposition to short media
- added to navigation header as well
2 years ago
Felix Stupp
26dc7f7910
navi: add icon to Home link
2 years ago
Felix Stupp
d31296af83
Add query stats for debugging
2 years ago
Felix Stupp
00b838fea7
stats: Add overall progress
2 years ago
Felix Stupp
3c7bb0fe68
templates: move stats.htm to stats/main.htm
2 years ago
Felix Stupp
7ea87a1e0d
Use element_lookup_cache
...
- caches by what elements other elements are blocked
- resolves lookups for ordered playlists
2 years ago
Felix Stupp
05fcd9fb6a
MediaElement: add direct blockings
2 years ago
Felix Stupp
53185505b1
MediaElement.left_length: return 0 if watched
2 years ago
Felix Stupp
a923d99e82
MediaElement.can_considered: Only request data for ordered collections
2 years ago
Felix Stupp
cc8cb6b072
models: Redefine Query to be more usable for type hinting
2 years ago
Felix Stupp
85363aed4b
MediaElement.can_considered: verify video already released
2 years ago
Felix Stupp
5c97fe4b77
Implemented element_lookup_cache
...
- not used for now
2 years ago
Felix Stupp
96774bc43e
Add support for custom tables
2 years ago
Felix Stupp
5dd2e85035
app.py: Remove calls to not yet commited function
2 years ago
Felix Stupp
4dc3cfe98b
app: Pin directory for static files to default one
2 years ago
Felix Stupp
d014a06d60
server: Reformat code
2 years ago
Felix Stupp
dcd8952604
server: Disable DB debug mode by default
2 years ago
Felix Stupp
a3af276918
Fix adding began videos to dashboard
...
Missed to pass began videos from DB to template
2 years ago
Felix Stupp
bf4ba5b0ac
Fix applying env config converters correctly
...
- replacing on `is not None` wasn't implemented correctly
2 years ago
Felix Stupp
b589b4b42c
add support for configuring pony's DB port
2 years ago
Felix Stupp
2a7654bf9f
Add helper annotation for profiling functions
2 years ago
Felix Stupp
3cfe880ac0
app: remove unused import
2 years ago
Felix Stupp
babdf8ff64
extr/media/youtube: Reraise exceptions from extraction as ExtractionErrors
2 years ago
Felix Stupp
33ac573a57
extr/media/youtube: Ignore live streams until they are available as VOD
2 years ago
Felix Stupp
922c9fd5a2
extr/media/youtube: Rename extractor to "youtube"
2 years ago
Felix Stupp
0debf4d875
extr/media/youtube: support embed & shorts video links
2 years ago
Felix Stupp
5479db90b8
extr/media/youtube: Also support youtube-nocookie links
2 years ago
Felix Stupp
35024597df
extr/media/youtube: Rewrite URI so extractor works deteministicly
2 years ago
Felix Stupp
6bb65981c9
extr/media/youtube: Explicit check for suitable URI
2 years ago
Felix Stupp
902dd1a6bf
models:MediaCollection: Add creator / created_collections relation
2 years ago
Felix Stupp
6f9adbfc25
models: Make Query Type hacky typeable
2 years ago
Felix Stupp
96e12f6fe8
extr/coll,media/youtube: Move setting URLs to media extractor
2 years ago
Felix Stupp
4e62a3fe70
extr/media/youtube: Extract description
2 years ago
Felix Stupp
c9c60d4e2b
extr/media/ytdl: Extract description
2 years ago
Felix Stupp
2e9df67e86
models: Add optional description to MediaElement
2 years ago
Felix Stupp
683a7a2555
extr/media/ytdl: Add thumbnail of video
2 years ago
Felix Stupp
cfa3012798
extr/media/ytdl: Restrict to https?:// urls
2 years ago
Felix Stupp
f0af32c099
Extract media thumbnail automatically from YouTube
2 years ago
Felix Stupp
dfee06106f
ent_dec/extr/med/base:MediaExtractor._get_auth_d: Fix not using TypeVar
2 years ago
Felix Stupp
f236db4084
Format code
...
- server/entertainment_decider/common.py
- server/entertainment_decider/extractors/all/tt_rss.py
- server/entertainment_decider/extractors/all/ytdl.py
- server/entertainment_decider/extractors/collection/__init__.py
- server/entertainment_decider/extractors/collection/tt_rss.py
- server/entertainment_decider/extractors/collection/youtube.py
- server/entertainment_decider/extractors/generic.py
- server/entertainment_decider/extractors/helpers.py
- server/entertainment_decider/extractors/media/__init__.py
- server/entertainment_decider/extractors/media/base.py
- server/entertainment_decider/extractors/media/youtube.py
- server/entertainment_decider/extractors/media/ytdl.py
Applied automatically using black
2 years ago
Felix Stupp
b7cbcbd540
Reformat models.py
2 years ago
Felix Stupp
a76eb796ee
dashboard: Add began videos
2 years ago
Felix Stupp
f0bf0a333c
dashboard(): Apply limit of links_f_pinned_colls at end
2 years ago
Felix Stupp
958b815277
dashboard: Sort links of pinned collections by release date
2 years ago
Felix Stupp
e26817e6db
dashboard(): Rework pinned colls usage of already_listed
...
- moved to single update command for more performance
- required additional check in other set if link already given
- feels more unified to other, upcoming implementations
2 years ago
Felix Stupp
5843992af1
dashboard(): Rework links_f_pinned_colls var to be set
2 years ago
Felix Stupp
c2eb7a3d6a
dashboard(): rename & replace already_listed var
2 years ago
Felix Stupp
47d823d56f
Format code
2 years ago
Felix Stupp
c081486eca
dashboard: increase limits
2 years ago
Felix Stupp
5d6f781f15
Add (force) refresh button for media
2 years ago