Commit Graph

318 Commits (0e5c78db0d0a87e8918623f9eb3c2eb87525edd8)

Author SHA1 Message Date
Isaac Abadi 33f23c3ca9 Fixed issue where youtube-dl autoupdates broke if checkExistsWithTimeout failed the first time 4 years ago
Isaac Abadi b08325c1e3 Added ability to filter for only audio and only video files in the home page 4 years ago
Isaac Abadi 775a1766d8 Added max concurrent downloads setting
Fixed issue where navigating to a subscription video would make the player behave like a playlist for the whole sub
4 years ago
Isaac Abadi c3d91e89a8 Get downloads now supports filtering by uids 4 years ago
Isaac Abadi 865185d277 Added ability to pause and resume all downloads
Removed backend dependency on queue library
4 years ago
Isaac Abadi 48ab1836ca Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into download-manager 4 years ago
Isaac Abadi 20cedb6c29 Pagination and filtering of files is now server-side
Importing unregistered files does not block server start anymore
4 years ago
Isaac Abadi 9f5b6122fa Added additional protections to verify that the DB is initialized before downloader does
Began work on watching entire subscriptions as a playlist

Subscriptions now use the new download manager to download files
4 years ago
Isaac Abadi f7b152fcf6 Download manager is now per user
Replaced multi download mode with autoplay checkbox
4 years ago
Isaac Abadi ebfa49240c Added methods to modify download state
Added missing optionalJwt calls in several routes
4 years ago
Isaac Abadi 8cc653787f Cleaned up app.js backend code 4 years ago
Isaac Abadi 0360469c5a Download manager is now functional
Added UI support for new downloads schema

Implemented draft test for downloads

Cleaned up unused code snippets
4 years ago
Isaac Abadi 5a90be7703 Logger is now separated into its own module
Added eslint and fixed many logic errors based on its recommendations
4 years ago
Isaac Abadi 7be90ccd94 Fixed bug where subscription videos would get duplicated 4 years ago
Isaac Abadi b1385f451b Added option to rate limit downloads
Added option to force delay between videos in a subscription

Fixed issue where file handle was maintained on files deleted through unsubscribing
4 years ago
Isaac Abadi b03b4d173b Fixed issue where testing the connecting string would fail if local DB was being used
Fixed issue where blacklisting video in with archiving would not work

Cleaned up unused functions in app.js
4 years ago
Isaac Abadi d09b244bc2 Fixed bug where unsubscribing from a channel would clear the entire files table
Fixed issue where yt-dlp did not work with subscriptions
4 years ago
Isaac Abadi 258d5ff495 Test connection string now uses the currently typed in connection string rather than the last saved one 4 years ago
Isaac Abadi 92413bd360 Added ability to add file to playlist using the context menu 4 years ago
Isaac Abadi 6e084bd94a Fixed issue where subscriptions check interval would only update after restart 4 years ago
Isaac Abadi ccb4819a94 Adds small timeout to restart server API call
Fixes typo in translation description for video cropping
4 years ago
Isaac Abadi 8469ae10ad Fixed issue where backend would crash if the details bin did not exist for youtube-dl 4 years ago
Isaac Abadi 90af895552 Updated style of settings for DB
MongoDB connection string test now only tests once
4 years ago
Isaac Abadi 9f908aa3fc Added ability to randomize playlists
Missing videos now show a more verbose error in the logs
4 years ago
Isaac Abadi 42aaecc13a Fixed bug where downloaded videos did not have a user_uid field 4 years ago
Isaac Abadi 160cffc737 Added support for yt-dlp's --no-clean-infojson 4 years ago
Isaac Abadi 7aad7b7d24 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into add-yt-dlp 4 years ago
Isaac Abadi f8c4653ae0 Added migration from old to new DB system 4 years ago
Isaac Abadi bb6503e86d Changed DB structure again
Added support for MongoDB

Added tests relating to new DB system

Category rules are now case insensitive

Fixed playlist modification change state
4 years ago
Isaac Abadi 4ea239170e If multiple videos exist in one URL, a playlist will be auto generated
Removed tomp3 and tomp4 routes, replaced with /downloadFile

Simplified category->playlist conversion

Simplified playlist creation

Simplified file deletion

Playlist duration calculation is now done on the backend (categories uses this now too)

removeIDFromArchive moved from subscriptions->utils

Added plumbing to support type agnostic playlists
4 years ago
Isaac Abadi e2c31319cf Migrated playlist and subscription (per video and sub-wide) video downloading functionality to new schema
Migrated modify playlist component to new schema

Moved wait function and playlist generation function(s) to utils
- added tests for zip generation
4 years ago
Isaac Abadi 297a4a3f34 Simplified streaming and file deletion functions 4 years ago
Isaac Abadi 46f8579439 Refactored player component to utilize uids instead of fileNames to improve maintainability, consistency, and reliability
Playlists now use uids instead of fileNames

Added generic getPlaylist and updatePlaylist functions
4 years ago
Isaac Abadi addd54fefd Switched nodemon to foreverjs to hopefully enable restarting internally and fix runtime errors 4 years ago
Isaac Abadi 4643efbae0 Added ability to restart the server from the frontend
Dockerfile/entrypoint.sh now uses nodemon enabling restarting from the UI in a container
4 years ago
Isaac Abadi d11f77a6c9 Updated yt-dlp paths 4 years ago
Isaac Abadi f32b394715 Added maxBuffer option to all downloads 4 years ago
Isaac Abadi c660c28422 youtube-dl now updates in the same way as the other forks 4 years ago
Isaac Abadi 433d08e9df Added ability to crop files
Fixed bug in downloading playlists
4 years ago
Isaac Abadi a1b32e2851 Added yt-dlp support
Simplified update youtube-dl code
5 years ago
Isaac Abadi d7d861ef0e Fixed typo in default custom output key for categories 5 years ago
Isaac Abadi 1d5490c0ff Allows playlists to be categorized based on the first video that matches 5 years ago
Isaac Abadi 28ee77cee0 Hotfix that allows playlists to be downloaded with categories 5 years ago
Isaac Abadi 133d848729 Fixed bug where deleting a file card wasn't possible if it was already deleted manually 5 years ago
Isaac Abadi 95bb69f16b Fixed bug where videos would not delete in single-user mode 5 years ago
Isaac Abadi a93aa080b3 Fixed bug where playlistd could not be made 5 years ago
Isaac Abadi db78e4ad5e Fixed bug where playlist downloads would fail and progress would not show (for playlist downloads) 5 years ago
Isaac Abadi b6c09324d9 Updated error messages to make them more verbose and fixed ID3 tagging for file names 5 years ago
Isaac Abadi 250f150587 Download checker now only runs if the video info was successfully retrieved 5 years ago
Isaac Abadi dbf08e1276 Fixed bug where audio files that had a stale webm extension in the metadata file path would fail to register 5 years ago
Isaac Abadi c08993e20b Old database files are now backed up prior to migration to simplified structure 5 years ago
Isaac Abadi 4835093606 Fixed issue where some non-YT videos would fail as the pre-check was incompatible 5 years ago
Isaac Abadi c63a64ebef Categories will now auto-generate playlists 5 years ago
Isaac Abadi 3f1532b4c6 Updated migration
- Fixed bug in migration process for single-user mode
- Changed name of migration

Removed unused code for getmp3/mp4 and fixed bug when retrieving playlist if it didn't exist

Fixed bug in streaming code where playlist audio files would not play if the file path was not present

Fixed bug in getallsubscriptions for single user mode
5 years ago
Isaac Abadi afb5e3800c In the subscription page, the subscription is now continuously retrieved at an interval of 1s to update for new videos or the downloading state
- There is now a visual indicator for when a subscription is retrieving videos
5 years ago
Isaac Abadi 2971580f91 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into updated-player 5 years ago
Isaac Abadi e75b56ad3f Added ability to pause specific subscriptions 5 years ago
Isaac Abadi 59c38321fd Fixed bug in file deletion 5 years ago
Isaac Abadi 8058b743eb Added support for redownloading fresh uploads, which will eventually be hidden behind an opt-in setting 5 years ago
Isaac Abadi e3374c573a Args incompatible with video mode and audio-only mode will now get removed 5 years ago
Isaac Abadi da3bd2600f Fixed bug where sharing didn't work for some videos
View count now increments on each play unless the video is shared
5 years ago
Isaac Abadi 6ad590497b Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into updated-player 5 years ago
Isaac Abadi 4f693d4eda Added description to player component and simplified the database by un-splitting videos and playlists by type 5 years ago
Isaac Abadi 9de403245b Twitch chat now supports subscriptions
- refactored code to be cleaner and more modularized

Updated scrolling on twitch chat to actually scroll to the bottom with new messages

Fast forwarding in videos with a twitch chat is now faster and provides a smoother transition
5 years ago
Isaac Abadi c6fc5352c5 Added ability to add more metadata to db through migrations, and added scaffolding for supporting description and play count in the player component 5 years ago
Isaac Abadi f425b9842f Updated twitch chat component to support user colors and to auto open if the chat has already been downloaded 5 years ago
Isaac Abadi d08fee1223 Added v1 of chat sidebar for Twitch VODs 5 years ago
Isaac Abadi 8938844ffa Added ability to select the max quality for a subscription. It defaults to 'best' which will get the best native mp4 video 5 years ago
Isaac Abadi b730bc5adc Added option to set a default file output - custom file output in the advanced expansion panel will override this 5 years ago
Isaac Abadi 2f541a49df Thumbnails now load using a faster method with a dedicated API route rather than sending blobs directly.
- In cases of lots of files, loading should be significantly faster
5 years ago
Isaac Abadi 9e4b328f91 Default youtube downloader switched back to youtube-dl after testing
Fixed bug that caused some non-youtube downloads from failing
5 years ago
Isaac Abadi 3a049a99ac Fixed bug where non-youtube downloads would fail 5 years ago
Isaac Abadi b323b548ca Added ability to use youtube-dl forks
Downloader now defaults to youtube-dlc because of the recent DMCA requests
5 years ago
Isaac Abadi 6ea4176d63 Added missing code that makes category paths relative to the root dir 5 years ago
Isaac Abadi 727b047c39 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into categories 5 years ago
Isaac Abadi 0189d292a8 Fixed bug that prevented categorized files from being deletes and simplified the two delete file API calls into one 5 years ago
Isaac Abadi fe7303a191 Replaced /audio and /video APIs with /stream that now requires a type parameter to simplify future code changes
getSubscription can now accept a subscription name instead of just an ID

Added API call to delete a category

Categories can now have a custom path

Minor code cleanup
5 years ago
Isaac Abadi dff4b141b0 Blobs are now only included in getAllFiles() if the config option for including thumbnail is set to true 5 years ago
Tiger Oakes e26ac82c66 Fix missing keywords 5 years ago
Tiger Oakes 21eafeab22 Make utils.recFindByExt and utils.getDownloadedFilesByType async 5 years ago
Tiger Oakes f535d18cb9 Use async methods in auth and subscriptions 5 years ago
Tiger Oakes 2c43ce3c47 Use async versions of filesystem methods 5 years ago
Isaac Abadi 10922fedd7 Fixed bugs that prevented subscription videos from being downloaded and non-users from accessing shared videos 5 years ago
Isaac Abadi 6717a59422 Fixed bug that preventing playlists from being downloaded a zip 5 years ago
Isaac Abadi 899633e124 Fixed bug that showed users their subscription videos after subscriptions were disabled 5 years ago
Isaac Abadi 8595864118 Added basic categorization functionality in the server & UI 5 years ago
Isaac Abadi 71633950b2 Comments cleanup 5 years ago
Isaac Abadi 5b768b5bda JSON blobs were accidentally inserted into DB, stringifying then parsing the video file object fixes this 5 years ago
Isaac Abadi 8a7409478a Added the ability to download videos at higher resolutions than the highest mp4 (fixes #76)
Deprecates normal downloading method. The "safe" method is now always used, and download progress is now estimated using the predicted end file size

Thumbnails are now auto downloaded along with the other metadata
5 years ago
Isaac Abadi babba9aa30 Added ability to register/login through LDAP
- Added ability to edit LDAP settings and whether to use LDAP or not in the users tab in the settings
5 years ago
Isaac Abadi 560aaadca1 Removed "use encryption" options, if you'd like to encrypt your web page, use a reverse proxy 5 years ago
Isaac Abadi 5de37f6fbf Importing of unregistered files now happens on startup
recFindByExt in app.js removed, now uses utils.recFindByExt

Minor code cleanup
5 years ago
Isaac Abadi 945ba268fb Fixed bug where non-shared videos could be viewed by others
Fixed bug where non-users couldn't download a shared video
5 years ago
Isaac Abadi fcaf8b5a62 Updated create playlist dialog to not require a type to be set prior
- duration and registered variables are now set for playlists
5 years ago
Isaac Abadi d7aa39599d Removed subscriptions_use_youtubedl_archive setting, to use youtube-dl archive functionality, there is now just one setting for both subscription and non-subscription videos 5 years ago
Isaac Abadi fd35153721 Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material into homepage-redesign 5 years ago
Isaac Abadi 9aee6e91cd Added API to update subscription
Edit subscription component now works
5 years ago
Isaac Abadi 3ebc903ce9 Fixed bug where non-admins in multi user mode could change the settings if they could open the dialog 5 years ago
Isaac Abadi 333556c305 Removed erroneous code and added the ability to kill all downlaods 5 years ago
Isaac Abadi d7631360cc Erroneous quality args are no longer added when using then normal downloading method 5 years ago