Commit Graph

933 Commits

Author SHA1 Message Date
9f032c3a57 Merge pull request #366 from Eswcvlad/master
Fix YouTube package update logic
2023-07-03 11:06:55 +02:00
bb179ebc23 Add bots option to exclude other bot users from autoplay logic (#301)
* Add bots option to exclude other bot users from autoplay logic
* Refactor get_user_count_in_channel to make it more readable
* Remove commandline option and rename config key for "bots"
* Remove --bots from argparse
* Correct when_nobody_in_channel_ignore config read typo
* Fix when_nobody_in_channel_ignore configuration read order
2023-07-03 10:42:40 +02:00
8c9bfd03f4 Fix YouTube package update logic
As of now, the update command fails with an IndexError using current
versions of pip. If a package is already of the latest version, there is
no "Requirement already up-to-date" line present anymore. And since
nothing is installed, there is no "Successfully installed" string
either, so it fails later. So now it checks, that "Collecting yt-dlp"
line is missing instead. This works in older versions of pip as well.

Another issue is that since botamusique uses yt-dlp now instead of
youtube-dl, it was trying to update the wrong package. So the package
name was extracted as a constant and was changed to yt-dlp.

Additional minor fix in the output message. Before there was no spacing
between the botamusique version message and the YouTube package one. Now
it starts on a separate line.
2023-06-25 03:00:05 +03:00
6115a0d3ee Merge pull request #363 from kac-/fix-yt-0
fix: util: clear_tmp_folder: exclude invalid symlinks
2023-05-30 22:55:33 +02:00
5582d14101 fix: util: clear_tmp_folder: exclude invalid symlinks 2023-05-30 11:49:37 +02:00
bd9f9bc432 Merge pull request #362 from mweinelt/version-parser-fix
Properly fix version handling with packaging>=22.0
2023-05-29 10:14:45 -04:00
9f83cec7bf Merge pull request #359 from azlux/dependabot/npm_and_yarn/web/yaml-and-postcss-loader--removed
build(deps): bump yaml and postcss-loader in /web
2023-05-29 10:12:37 -04:00
898082714a Merge pull request #347 from azlux/dependabot/npm_and_yarn/web/ansi-regex-and-ansi-regex-5.0.1
build(deps): bump ansi-regex in /web
2023-05-29 10:11:23 -04:00
524df97578 Merge pull request #352 from azlux/dependabot/npm_and_yarn/web/minimatch-3.1.2
build(deps): bump minimatch from 3.0.4 to 3.1.2 in /web
2023-05-29 10:11:14 -04:00
dd99f21d7b Merge pull request #346 from azlux/dependabot/npm_and_yarn/web/nth-check-and-renderkid-2.1.1
build(deps): bump nth-check and renderkid in /web
2023-05-29 10:11:05 -04:00
2a204988c3 Properly fix version handling with packaging>=22.0
Both the current version and the last startup version can be unparsable.

Hence we now just catch the resulting exception and reset the version
to the new version, which may or may not be parsable, which we'll find
out on the next start up. But either way this prevents crashes from
unparsable versions in the database.
2023-05-29 16:03:47 +02:00
e313d4ef0d Fix an option, cleanup typos & wording.
Merge pull request #361 from Irets/typo_cleanup
2023-05-10 14:47:44 +02:00
fa7ca16aa6 Edit to keep form with rest of the file 2023-05-09 19:59:25 +03:00
34b1df4150 Update README.md 2023-05-09 14:15:12 +00:00
f437bd25bf Fix option name in README & improve wording. 2023-05-09 16:54:01 +03:00
0533a68b48 Update configuration.example.ini 2023-05-09 13:15:57 +00:00
b21b54ac9f Fix an option, cleanup typos & wording. 2023-05-09 13:23:36 +03:00
88f04e5f6f build(deps): bump yaml and postcss-loader in /web
Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependency [postcss-loader](https://github.com/webpack-contrib/postcss-loader). These dependencies need to be updated together.


Removes `yaml`

Updates `postcss-loader` from 4.1.0 to 7.2.4
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v4.1.0...v7.2.4)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
- dependency-name: postcss-loader
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 19:10:45 +00:00
bf321cfda4 chore: update Dockerfile to reduce the image size (#353) 2023-02-20 20:42:42 +01:00
eb4c63db89 fix for git version 2023-01-10 02:24:20 +01:00
8c63d08ffc build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /web (#348)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 01:26:08 +01:00
85f9a80b1b build(deps): bump minimatch from 3.0.4 to 3.1.2 in /web
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 13:37:18 +00:00
88740822b8 build(deps): bump json5 from 1.0.1 to 1.0.2 in /web (#350)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 14:36:52 +01:00
08951e8d93 build(deps): bump ansi-regex in /web
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together.

Updates `ansi-regex` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

Updates `ansi-regex` from 4.1.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 20:15:14 +00:00
9aaa8ccf93 build(deps): bump nth-check and renderkid in /web
Bumps [nth-check](https://github.com/fb55/nth-check) and [renderkid](https://github.com/AriaMinaei/RenderKid). These dependencies needed to be updated together.

Updates `nth-check` from 1.0.2 to 2.1.1
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v1.0.2...v2.1.1)

Updates `renderkid` from 2.0.4 to 2.0.7
- [Release notes](https://github.com/AriaMinaei/RenderKid/releases)
- [Commits](https://github.com/AriaMinaei/RenderKid/compare/2.0.4...2.0.7)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
- dependency-name: renderkid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 20:15:14 +00:00
495114a62c build(deps): bump loader-utils from 1.4.0 to 1.4.1 in /web (#345)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 21:14:43 +01:00
8a1202bad3 fix(web): fix response to periodic POST requests (#344)
The reason POST requests were being responded to with 400 is that in the
assignment of payload, the request.json member is used if request.form
evaluates as false, but accessing request.json results in an error for
some requests, even though flask docs claim that the value will simply
be `None`.

resolves #339
2022-11-02 20:38:49 +01:00
6f837cd50d Fix crash when you have repository with no tags (like a forked repo) (#343) 2022-09-09 18:48:10 +02:00
f098136747 build(deps): bump terser from 4.8.0 to 4.8.1 in /web (#338)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 23:31:24 +02:00
a50a067641 Implementation for setting max volume (#336)
* Added support for creating a max volume

* Fixed db function calls

* Fixed issue with max volume always adjusting volume
2022-07-12 18:13:10 +02:00
0650e7279f Fix getting info with cookies
Merge pull request #328 from Bartkk0/fix-age-restriction
2022-04-03 21:23:41 +02:00
aa6632bc3d Fix getting info with cookies 2022-04-02 00:24:25 +02:00
16f18a57b4 Merge pull request #327 from azlux/dependabot/npm_and_yarn/web/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6 in /web
2022-03-27 00:37:23 +01:00
10d14259e8 build(deps): bump minimist from 1.2.5 to 1.2.6 in /web
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 23:03:38 +00:00
4b2030dcfd forgot the workdir 2022-03-25 16:42:00 +01:00
c750ed93de testing build on raspberry 2022-03-25 16:32:50 +01:00
ff93039345 preparing multi-arch docker image 2022-03-25 12:42:02 +01:00
b0ace7b67a refactor(ysearch): Use youtube-dl cookie file instead of redundant cookie config item. 2022-02-01 21:08:15 -05:00
a0eb5b39c3 fix(config): Define all fallback in configuration.default.ini. 2022-02-01 21:08:15 -05:00
5b632fd88f Merge pull request #320 from azlux/dependabot/npm_and_yarn/web/path-parse-1.0.7
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /web
2022-02-02 02:09:04 +01:00
4deeb067e6 Merge pull request #318 from azlux/dependabot/npm_and_yarn/web/browserslist-4.19.1
build(deps): bump browserslist from 4.14.7 to 4.19.1 in /web
2022-02-02 01:55:10 +01:00
8918b61da5 Merge pull request #319 from azlux/dependabot/npm_and_yarn/web/glob-parent-5.1.2
build(deps): bump glob-parent from 5.1.1 to 5.1.2 in /web
2022-02-02 01:51:01 +01:00
75c46d7a60 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /web
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 00:48:38 +00:00
14f963a65d build(deps): bump glob-parent from 5.1.1 to 5.1.2 in /web
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 00:48:14 +00:00
46004e4bc8 build(deps): bump browserslist from 4.14.7 to 4.19.1 in /web
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.7 to 4.19.1.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.7...4.19.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 00:48:10 +00:00
286b96ec22 Merge pull request #317 from azlux/dependabot/npm_and_yarn/web/nanoid-3.2.0
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /web
2022-02-02 01:47:01 +01:00
ffce05c609 build(deps): bump nanoid from 3.1.23 to 3.2.0 in /web
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 00:45:35 +00:00
dd18ce1da0 Adding jpec conversion #314
using ffmpeg as thumbnails postprocessing tool
2022-02-02 01:37:25 +01:00
e9bb9d3489 fix(cmd): Sanitize empty url input for !playlist 2022-01-25 09:21:29 -05:00
37666c7daf feat(config): Detect unexpected config items from config files. 2022-01-21 23:58:49 -05:00