Commit graph

399 commits

Author SHA1 Message Date
Roland
3efd47d004
Global timeout can be set in the config and UI.
Downloaders can specify a process timeout.
2022-06-14 20:45:34 -06:00
Roland
0179beebea
Updating rss feed bozo error to use more common wording.g 2022-06-08 18:59:18 -06:00
lrnselfreliance
afa515a8d9
Merge pull request #132 from lrnselfreliance/feature/rss-downloader
Feature/rss downloader
2022-06-08 12:26:22 -06:00
Roland
ff379185fe
Adding config fixture to download manager fixture to avoid calling both in every test. 2022-06-08 12:21:59 -06:00
Roland
f14a230bc6
RSSDownloader can schedule downloads for other Downloaders using sub_downloader.
RSS download can be submitted in UI.

Checking if entry has link.

A video playlist can be downloaded.

Passing sub_downloader when submitting RSS feed.

Adding Archive downloader button.

Playlists need more info.

Removing expunge, it causes errors elsewhere.  Fixing tests.

Showing errors on recurring downloads.  Ignoring CharacterEncodingOverride bozo error for rss feed.

Changing download button order.

Fixing bug where channel attributes were unavailable after session.  Simplifying video format selection.

Calling validate_video in Video.validate() to avoid duplicate code.

Adding more frequent downloads for RSS Feeds.

DownloadManager skips downloads in it's list.

Renaming get_next_download to more clear calculate_next_download.

Stopping download manager when server is shutting down.

Not shutting down downloads during tests, not all tests use downloads.

Making methods static.
2022-06-08 11:56:42 -06:00
Roland
f2d57fcb23
Reformatting. 2022-05-19 21:38:55 -06:00
Roland
530f317a37
Adding helpful log notes to 50x.html. Suggesting changing media directory permissions after install. 2022-05-19 21:33:42 -06:00
Roland
ac4b029721
Bumping yt-dlp version. 2022-05-19 11:49:36 -06:00
Roland
8f62cb895f
Don't process channel downloads. 2022-05-18 19:58:21 -06:00
Roland
25e638ed10
Showing loader when saving settings. Adding HelpPopup when hotspot and power-save are disabled. 2022-05-18 19:43:25 -06:00
Roland
c681c500e8
Checking for corruption in bytes to avoid unicode error. 2022-05-18 18:36:12 -06:00
Roland
df72735289
Adding interactive shell to main. 2022-05-18 17:48:44 -06:00
Roland
dd07236834
Checking for video corruption. Processing video when preparing filname to avoid corrupt videos. 2022-05-18 17:24:50 -06:00
Roland
0c98187276
Adding wrolpi directory to global safe directory. 2022-05-18 08:20:05 -06:00
Roland
85bf9b2d65
Updating Readme Ubuntu installation link. 2022-05-17 16:20:10 -06:00
lrnselfreliance
0765890b8b
Feature/127 archive UI rework (#131)
* Archives have their own page.  Delete/etc buttons are moved into ArchivePage.

* Alternatives for an Archive are displayed in the ArchivePage.

* ArchiveDownloader returns the location.

* Removing color from Details button.

* Making Archive screenshot and title a link.

* Preserving next_download when updating a Channel.

* Removing button icons from Archive page.
2022-05-16 17:57:18 -06:00
Roland
2314c3462f
Forcing downloader selection. Adding link to downloads page near global Download button. 2022-05-10 22:53:33 -06:00
Roland
f9dd056cc9
Fixing error where all Videos of a Channel would be downloaded because upsert_video() did not update the correct record. 2022-05-10 22:44:59 -06:00
lrnselfreliance
051290ede2
Merge pull request #126 from lrnselfreliance/feature/download-result
VideoDownloader returns a DownloadResult.
2022-05-10 21:27:14 -06:00
Roland
785ad8274c
DownloadResult.try_again is not necessary.
Removing unused fixture in test.

Simplifying logic after download completes.  Removing unused download sorting method.

ChannelDownloader returns location.

Hiding View link when no location is provided.

Performing video upsert in try/except so any errors are attached to the Download.

Including stderr only.

Including logs when returning Downloader.process_runner.

Warning when extention is replaced.

Providing location link on Downloads page.  Showing error modal on errors that fail.

Handling empty URL strings on import.

Fixing channel download test.

Reworking how Channels schedule Video downloads.

Bumping version for DownloadResult.

Updating tests to use DownloadResult.

VideoDownloader returns a DownloadResult.
2022-05-10 21:20:36 -06:00
Roland
28e983a3b3
Moving TOC up in readme. 2022-05-03 11:13:29 -06:00
lrnselfreliance
c56a937b73
Merge pull request #125 from lrnselfreliance/feature/upgrade-readme
Adding upgrade instructions to Readme.
2022-05-03 11:12:14 -06:00
Roland
e59f0c059f
Including map volumes in upgrade instructions. 2022-05-03 11:07:48 -06:00
Roland
a899178cb3
Adding debian11/rpi upgrade instructions. 2022-05-03 11:03:33 -06:00
Roland
99bd878c98
Adding upgrade instructions to Readme. 2022-05-03 11:00:09 -06:00
lrnselfreliance
5bd9201e58
Merge pull request #124 from lrnselfreliance/bugfix/121-app-handles-no-api
Wrapping most API requests in trys/catches.
2022-05-01 21:39:15 -06:00
Roland
5fc99a6dda
Fixing console errors. 2022-05-01 21:18:49 -06:00
Roland
e5b2135cb2
Fixing failed api requests. 2022-05-01 21:12:39 -06:00
Roland
3673092847
Bumping version for app fix. 2022-05-01 21:04:02 -06:00
Roland
6a654cd3af
Wrapping most API requests in trys/catches. 2022-05-01 21:03:30 -06:00
lrnselfreliance
8ab61bd8a8
Merge pull request #123 from lrnselfreliance/feature/55-hotspot-password
Hotspot SSID/password can be changed
2022-05-01 08:42:19 -06:00
Roland
9fecdc9ce3
Reworking hotspot inputs. 2022-05-01 08:38:43 -06:00
Roland
df31f0239d
Converting open state to more understandable name. 2022-04-30 12:35:48 -06:00
Roland
049058a562
Bumping version for hotspot password changing. 2022-04-30 12:30:16 -06:00
Roland
9aeda34672
Using Modal to display Hotspot QR Code. 2022-04-30 12:29:43 -06:00
Roland
61f0e48e62
Hotspot SSID/password can be changed. A QR Code is displayed in UI to allow easy joining of the hotspot. 2022-04-30 12:20:49 -06:00
lrnselfreliance
20849017a5
Merge pull request #122 from lrnselfreliance/bugfix/119-disable-startup-hotspot-docker
Only turning on hotspot while on-the-metal.
2022-04-29 19:52:30 -06:00
Roland
78baf66eb2
Bumping version for hotspot fix. 2022-04-29 19:50:03 -06:00
Roland
05265b526e
Only turning on hotspot while on-the-metal. 2022-04-29 19:48:28 -06:00
Roland
b431e1b753
Upgrading yt-dlp. 2022-04-29 19:30:58 -06:00
Roland
4058f22428
Warning when validation fails on video upsert. 2022-04-29 19:30:53 -06:00
Roland
8318224db6
Removing troubleshooting print. 2022-04-29 19:19:12 -06:00
lrnselfreliance
c8810fbeba
Merge pull request #118 from lrnselfreliance/feature/remove-channel-link
Feature/remove channel link
2022-04-29 19:13:33 -06:00
Roland
d75ddf097d
Removing unused function. 2022-04-29 19:09:49 -06:00
Roland
aa203cc102
Moving non-video functions to wrolpi.common. Handling Channel/Downlaod relationship in Channel.update.
Removing default download freqeuncy so channels will not be downloaded without a url and frequency.

Adding channel unique url constraint.

Handling when a Channel's directory may still be relative in DB.

Adding TODOs to remove old favorites.

Removing outdated favorites from config after favorites have been created.

Testing that old-style favorited videos in the config are imported.

Removing channels_by_link.

Using list to store channels in config.

Moving channel import function into lib.

Supporting old channel import with links.

Bumping version for channel.link removal.

Removing all reference to Channel.link in app and api.

Adding relative property to MediaPathType.

Testing that a channel can be downloaded after it has a frequency added.

All tests pass.

Video and Channel tests pass without channel.link.

Removing channel.link usage in channel api.

Changing video Statistics page to About.
2022-04-29 19:09:25 -06:00
Roland
79efaa22b0
Bumping version for archive search fix. 2022-04-15 08:17:02 -06:00
lrnselfreliance
fda8636c92
Fixing bug in archives search where offset could not be greater than 100. (#117) 2022-04-14 09:21:26 -06:00
Roland
372056eefd
Removing troubleshooting print. 2022-04-08 09:34:18 -06:00
Roland
0e4ea0ad07
Rewording download empty-states. 2022-04-07 15:47:55 -06:00
Roland
7656890835
Testing that video size is gathered during validation. 2022-04-07 13:42:01 -06:00