Skip to content

Commit

Permalink
Revert "Dumb change"
Browse files Browse the repository at this point in the history
This reverts commit dd25ada.
  • Loading branch information
glensc committed May 21, 2024
1 parent 76b06e4 commit cc15fb4
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/plexfuse/control/ControlListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from src.plexfuse.control.Control import Control
from plexfuse.control.Control import Control


class ControlListener:
Expand Down
10 changes: 5 additions & 5 deletions src/plexfuse/fs/PlexFS.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@

import fuse

from plexfuse.control.Control import Control
from plexfuse.control.ControlListener import ControlListener
from plexfuse.fs.FsOptions import FsOptions
from plexfuse.fs.plex_errno import plex_errno
from plexfuse.fs.PlexDirectory import PlexDirectory
from plexfuse.fs.PlexFile import PlexFile
from plexfuse.fs.RefCountedDict import RefCountedDict
from plexfuse.fs.retry import retry
from plexfuse.normalize import normalize
from plexfuse.plex.Monitor import Monitor
from plexfuse.plex.PlexApi import PlexApi
from plexfuse.sentry import sentry
from plexfuse.TimeoutLock import TimeoutLock
from plexfuse.vfs.entry.DirEntry import DirEntry
from plexfuse.vfs.PlexVFS import PlexVFS
from src.plexfuse.control.Control import Control
from src.plexfuse.fs.FsOptions import FsOptions
from src.plexfuse.fs.plex_errno import plex_errno
from src.plexfuse.fs.PlexFile import PlexFile
from src.plexfuse.plex.Monitor import Monitor


class PlexFS(fuse.Fuse):
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/fs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

import fuse

from plexfuse.__version__ import __version__
from plexfuse.fs.PlexFS import PlexFS
from plexfuse.plex.PlexApi import PlexApi
from src.plexfuse.__version__ import __version__

fuse.fuse_python_api = (0, 2)

Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/plex/PlexApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from plexapi.exceptions import BadRequest, NotFound
from plexapi.server import PlexServer

from plexfuse.cache.HttpCache import HttpCache
from plexfuse.vfs.entry.LibraryEntry import LibraryEntry
from plexfuse.vfs.entry.MovieEntry import MovieEntry
from plexfuse.vfs.entry.SectionEntry import SectionEntry
from src.plexfuse.cache.HttpCache import HttpCache

if TYPE_CHECKING:
from plexapi.video import Show
Expand Down
8 changes: 4 additions & 4 deletions src/plexfuse/vfs/PlexVFS.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
from collections import UserDict
from typing import TYPE_CHECKING

from plexfuse.control.ControlVFS import ControlVFS
from plexfuse.vfs.ChunkedFile import ChunkedFile
from plexfuse.vfs.entry.DirEntry import DirEntry
from src.plexfuse.control.ControlVFS import ControlVFS
from src.plexfuse.vfs.entry.FileEntry import FileEntry
from src.plexfuse.vfs.entry.PlexMatchEntry import PlexMatchEntry
from src.plexfuse.vfs.entry.SubtitleEntry import SubtitleEntry
from plexfuse.vfs.entry.FileEntry import FileEntry
from plexfuse.vfs.entry.PlexMatchEntry import PlexMatchEntry
from plexfuse.vfs.entry.SubtitleEntry import SubtitleEntry

if TYPE_CHECKING:
from plexfuse.plex.PlexApi import PlexApi
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/ControlSockEntry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from src.plexfuse.vfs.entry.SymlinkEntry import SymlinkEntry
from plexfuse.vfs.entry.SymlinkEntry import SymlinkEntry


class ControlSockEntry(SymlinkEntry):
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/FileEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import TYPE_CHECKING

from src.plexfuse.vfs.entry.AttrEntry import AttrEntry
from plexfuse.vfs.entry.AttrEntry import AttrEntry

if TYPE_CHECKING:
from plexapi.media import MediaPart
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/PathEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pathlib import Path

from src.plexfuse.vfs.entry.AttrEntry import AttrEntry
from plexfuse.vfs.entry.AttrEntry import AttrEntry


class PathEntry(AttrEntry):
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/PlexMatchEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from functools import cached_property
from typing import TYPE_CHECKING

from src.plexfuse.vfs.entry.AttrEntry import AttrEntry
from plexfuse.vfs.entry.AttrEntry import AttrEntry

if TYPE_CHECKING:
from plexapi.media import Guid
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/SectionEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from plexfuse.normalize import normalize
from plexfuse.vfs.entry.EpisodeEntry import EpisodeEntry
from plexfuse.vfs.entry.MovieEntry import MovieEntry
from src.plexfuse.vfs.entry.SeasonEntry import SeasonEntry
from plexfuse.vfs.entry.SeasonEntry import SeasonEntry

if TYPE_CHECKING:
from plexfuse.plex.types import SectionTypes
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/SubtitleEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from plexapi.exceptions import NotFound

from plexfuse.plex.PlexApi import PlexApi
from plexfuse.vfs.entry.AttrEntry import AttrEntry
from plexfuse.vfs.Playable import Playable
from src.plexfuse.vfs.entry.AttrEntry import AttrEntry


class SubtitleEntry(AttrEntry):
Expand Down
2 changes: 1 addition & 1 deletion src/plexfuse/vfs/entry/SymlinkEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import stat

from src.plexfuse.vfs.entry.AttrEntry import AttrEntry
from plexfuse.vfs.entry.AttrEntry import AttrEntry


class SymlinkEntry(AttrEntry):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_socket_control.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from time import sleep

from plexfuse.control.Control import Control
from plexfuse.control.ControlListener import ControlListener
from plexfuse.fs.PlexFS import PlexFS
from plexfuse.plex.PlexApi import PlexApi
from plexfuse.vfs.PlexVFS import PlexVFS
from src.plexfuse.control.Control import Control


def test_socket_control():
Expand Down

0 comments on commit cc15fb4

Please sign in to comment.