Skip to content

Commit

Permalink
Merge pull request #57 from kmac/ytmusicapi-0.22.0
Browse files Browse the repository at this point in the history
Update/fixes for ytmusicapi 0.22.0
  • Loading branch information
impliedchaos authored Jul 23, 2022
2 parents cc5e147 + b747983 commit 3228af5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions mopidy_ytmusic/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@
import pykka
import requests
from mopidy import backend
from ytmusicapi.parsers.utils import (
from ytmusicapi.navigation import (
CAROUSEL_TITLE,
NAVIGATION_BROWSE_ID,
SECTION_LIST,
SINGLE_COLUMN_TAB,
TITLE,
TITLE_TEXT,
get_continuations,
nav,
)
from ytmusicapi.continuations import (
get_continuations,
)
from ytmusicapi.ytmusic import YTMusic

from mopidy_ytmusic import logger
Expand Down
2 changes: 1 addition & 1 deletion mopidy_ytmusic/library.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from mopidy import backend
from mopidy.models import Album, Artist, Image, Ref, SearchResult, Track
from ytmusicapi.parsers.utils import (
from ytmusicapi.navigation import (
NAVIGATION_BROWSE_ID,
SECTION_LIST,
SINGLE_COLUMN_TAB,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.7"
Mopidy = "^3"
pytube = "^12.0.0"
ytmusicapi = "^0.20.0"
pytube = "^12.1.0"
ytmusicapi = "^0.22.0"

[tool.poetry.dev-dependencies]
flake8 = "^3.8.4"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

install_requires = [
"Mopidy>=3,<4",
"pytube>=12.0.0,<13.0.0",
"ytmusicapi>=0.20.0,<0.21.0",
"pytube>=12.1.0,<13.0.0",
"ytmusicapi>=0.22.0,<0.23.0",
]

entry_points = {"mopidy.ext": ["ytmusic = mopidy_ytmusic:Extension"]}
Expand Down

0 comments on commit 3228af5

Please sign in to comment.