Skip to content

Commit

Permalink
Move PlexGuid to plextraktsync.plex.guid namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 1, 2025
1 parent 29acd86 commit 6ae7106
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion plextraktsync/media/MediaFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from plextraktsync.media.Media import Media

if TYPE_CHECKING:
from plextraktsync.plex.guid.PlexGuid import PlexGuid
from plextraktsync.plex.PlexApi import PlexApi
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.PlexLibraryItem import PlexLibraryItem
from plextraktsync.trakt.TraktApi import TraktApi
from plextraktsync.trakt.TraktItem import TraktItem
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plan/Walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from plextraktsync.decorators.measure_time import measure_time
from plextraktsync.factory import logging
from plextraktsync.mixin.SetWindowTitle import SetWindowTitle
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid
from plextraktsync.plex.PlexLibraryItem import PlexLibraryItem
from plextraktsync.trakt.TraktApi import TraktApi
from plextraktsync.trakt.TraktItem import TraktItem
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/PlexApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def search_by_guid(self, guids: dict, libtype: str):
fetchItem(ekey, guid__id__regex=r"(imdb|tmdb|tvdb)://")
"""

from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid

# Build regex of possible matches
keys = "|".join(guids.keys())
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/PlexLibraryItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from plextraktsync.decorators.retry import retry
from plextraktsync.factory import factory
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid
from plextraktsync.rich.RichMarkup import RichMarkup
from plextraktsync.util.Rating import Rating

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from plextraktsync.factory import factory
from plextraktsync.rich.RichMarkup import RichMarkup

from .guid.provider.Factory import Factory as GuidProviderFactory
from .provider.Factory import Factory as GuidProviderFactory

if TYPE_CHECKING:
from plextraktsync.plex.PlexLibraryItem import PlexLibraryItem
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/Factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .Youtube import Youtube

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class Factory:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/IMDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class IMDB:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/Local.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class Local:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/Mbid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class Mbid:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/TMDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class TMDB:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/TVDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class TVDB:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/plex/guid/provider/Youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class Youtube:
Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/trakt/TraktApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from trakt.movies import Movie
from trakt.tv import TVEpisode, TVShow

from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid
from plextraktsync.plex.PlexLibraryItem import PlexLibraryItem
from plextraktsync.trakt.types import TraktLikedList, TraktMedia

Expand Down
2 changes: 1 addition & 1 deletion plextraktsync/trakt/TraktLookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if TYPE_CHECKING:
from trakt.tv import TVEpisode, TVShow

from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid


class TraktLookup:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tv_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest
from trakt.tv import TVShow

from plextraktsync.plex.PlexGuid import PlexGuid
from plextraktsync.plex.guid.PlexGuid import PlexGuid
from plextraktsync.plex.PlexLibraryItem import PlexLibraryItem
from plextraktsync.trakt.TraktLookup import TraktLookup
from tests.conftest import factory, make
Expand Down

0 comments on commit 6ae7106

Please sign in to comment.