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

4.3 Prep #657

Merged
merged 41 commits into from
Jun 27, 2022
Merged

4.3 Prep #657

merged 41 commits into from
Jun 27, 2022

Conversation

Tzahi12345
Copy link
Owner

@Tzahi12345 Tzahi12345 commented Jun 20, 2022

Summary:

  • Updated UI for creating/modifying playlists (see demo below)
  • Playlists are now file type agnostic (that is, you can now mix and match audio files and video files into a playlist)
  • Subscription file cards now use the new ones on the home page
  • Fixed Twitch chat downloads
    • They are much faster now! Downside is a python dependency is now required (Twitch-Chat-Downloader) as the new Twitch API does not support downloading chat
    • A client secret must now be supplied in addition to the client ID
  • Fixed issue where subscription downloads could not set quality other than max (fixes Error when selecting another "Max quality" #600)
  • Changed default downloader from youtube-dl to yt-dlp (fixes [RELIABILITY/UX] Make yt-dlp the default for new installations #575)
  • Version updated to v4.3
  • Updated translations
  • Updated API/models
  • Various code cleanup
  • Fixed issue where playlist order could not be rearranged
  • Removed recommendations to use nightly
  • pm2 moved from global install to local (closes [FEATURE] Using npm start  #662)

Demo:
https://user-images.githubusercontent.com/707413/174672249-00990e94-2886-4748-b49a-e2f3761d80c1.mp4

Done testing! Once this is merged, v4.3 will be released!

@Tzahi12345 Tzahi12345 added is: bug Something isn't working is: enhancement New feature or extension of existing functionality UI UI-related issue DOCS Documentation-related issue FILE MANAGEMENT Things related to file management components API Things related to the API of YTDL-M and its external access and feature scope. labels Jun 20, 2022
]);

if (jsonExists) {
retrievedID = JSON.parse(await fs.readFile(jsonPath, 'utf8'))['id'];
retrievedID = fs.readJSONSync(jsonPath)['id'];

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This path depends on [a user-provided value](1).
@GlassedSilver GlassedSilver added this to the v4.3 milestone Jun 20, 2022
@GlassedSilver
Copy link
Collaborator

Maybe removing the recommendations to use the nightly branch would be a good idea.

Same for docker-compose.yml.

backend/twitch.js Fixed Show resolved Hide resolved
backend/twitch.js Fixed Show fixed Hide fixed
backend/twitch.js Fixed Show fixed Hide fixed
backend/twitch.js Fixed Show fixed Hide fixed
Fixed several dependency vulnerabilities
@martadinata666
Copy link
Collaborator

martadinata666 commented Jun 24, 2022

Add to wiki solution for RPI4 or other devices that mongodb throw exception (132).
#614 (comment)

The mongodb log

ytdlt-db-1  | 
ytdlt-db-1  | WARNING: MongoDB 5.0+ requires ARMv8.2-A or higher, and your current system does not appear to implement any of the common features for that!
ytdlt-db-1  |   see https://jira.mongodb.org/browse/SERVER-55178
ytdlt-db-1  |   see also https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
ytdlt-db-1  |   see also https://github.com/docker-library/mongo/issues/485#issuecomment-970864306
ytdlt-db-1  | 
ytdlt-db-1 exited with code 132

and add some references

@Tzahi12345
Copy link
Owner Author

Add to wiki solution for RPI4 or other devices that mongodb throw exception (132).

I'm honestly down to just target mongo:4.4.6

Not sure if there's a reason to be at v5 anyways... @GlassedSilver thoughts?

@martadinata666
Copy link
Collaborator

Add to wiki solution for RPI4 or other devices that mongodb throw exception (132).

I'm honestly down to just target mongo:4.4.6

Not sure if there's a reason to be at v5 anyways... @GlassedSilver thoughts?

Yeah, updating compose to target mongo:4.4 also will do, it just we also need to add reason why because as you know some folks just why not :latest?

@Tzahi12345
Copy link
Owner Author

Tzahi12345 commented Jun 24, 2022

Yeah, updating compose to target mongo:4.4 also will do, it just we also need to add reason why because as you know some folks just why not :latest?

I did just try on a test instance downgrading and it was not pretty. I'll probably go with your first suggestion and add something to the README for rpi 4

EDIT:

Alright, wiki page is up! https://github.com/Tzahi12345/YoutubeDL-Material/wiki/Raspberry-Pi-4

And README is updated: c6b7e7b

Copy link
Collaborator

@GlassedSilver GlassedSilver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small change I would like to ask for from what I was able to spot so far, other than that LGTM :)

GlassedSilver
GlassedSilver previously approved these changes Jun 27, 2022
Copy link
Collaborator

@GlassedSilver GlassedSilver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@Tzahi12345 Tzahi12345 merged commit 68c2ee2 into master Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Things related to the API of YTDL-M and its external access and feature scope. DOCS Documentation-related issue FILE MANAGEMENT Things related to file management components is: bug Something isn't working is: enhancement New feature or extension of existing functionality UI UI-related issue
Projects
None yet
3 participants