Skip to main content

Plex FUSE Filesystem - Mount Remote Plex Media Server contents as local filesystem

Project description

Plex FUSE Filesystem

An attempt to create fuse filesystem to access Plex Media Server files as local files.

Development

This project is in very early development.

Currently implemented:

  • Listing of root directory
  • Connecting to PMS via python-plexapi
  • Listing of library types in root directory
  • Listing library titles in library type sub-directory
  • Listing titles from a library
  • Listing of Movie files
  • Report file size for media part
  • Report accurate nlink for directories
  • Memoize readdir and getattr calls
  • Fix "/" in directory names
  • Download movie files to cache, serve read operations from cache
  • Add -o cache_path option
  • Test that Plex Media Server allows requesting file by range
  • Use chunked read for file cache
  • Listing of Show seasons
  • Listing of Season episodes
  • Listing of Episode files
  • Downloading episode files
  • Unicode normalize titles
  • Support .plexmatch for Movies
  • Support timestamps for Movies
  • Support .plexmatch for Show directories
  • Add movie timestamps to .plexmatch files
  • Add timestamps to directories
  • Add subtitle files for Movies
  • Add subtitle files for Episodes
  • Cache PlexAPI requests using requests-cache (-o http_cache)
  • Publish package to pypi
  • Add docker volume driver
  • Add cache management (max size?)
  • Add cache purge option (special file?)
  • Detect need to refresh cache (add event listener)
  • Handling of "artist" library type
  • Add "status" and "reload" control channels

Requirements

  1. Python >= 3.11
  2. fuse, macfuse, osxfuse or fuse-t depending on your OS

Installation

  1. Install pipx
  2. Install plex-fuse: pipx install plex-fuse

Usage

  1. Check requirements and installation
  2. Create config.ini for python-plexapi
  3. Mount the configured PMS somewhere, i.e plex-server: mkdir plex-server; plex-fuse plex-server -f
  4. Access the plex-server directory from another terminal
  5. umount or fusermount -u the directory to remove the plex-server mount

Plex Config

Create Plex configuration file:

# ~/.config/plexapi/config.ini

[auth]
server_baseurl = http://127.0.0.1:32400
server_token = XBHSMSJSDJ763JSm

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plex_fuse-0.9.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

plex_fuse-0.9.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file plex_fuse-0.9.1.tar.gz.

File metadata

  • Download URL: plex_fuse-0.9.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for plex_fuse-0.9.1.tar.gz
Algorithm Hash digest
SHA256 47d30c41290679e65ce9c1e246f6cf92e9fd262f8278f0bed6b61adb91399605
MD5 a021eb4eb4bdb7aa42360caa891f8128
BLAKE2b-256 7a5c9a9fbde33bdf1f404fecd7bc8e40be15c158a5473d5d8c06ce98ac5c492e

See more details on using hashes here.

File details

Details for the file plex_fuse-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: plex_fuse-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for plex_fuse-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b648c61d7b840db76e1470bacabe6735009d706d4822204922287c8ba61a53b6
MD5 7ede01b998060a110e1ee39525bb33e5
BLAKE2b-256 d2e3252fbd18c0f771771410adf852a1b128d6341dcd3f36fa6b84e6e17ae150

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page