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.

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

Usage

  1. Install Python >= 3.11
  2. Install fuse, macfuse, osxfuse, fuse-t depending on your OS
  3. Install pipenv
  4. Clone this project: git clone https://github.com/glensc/plex-fuse
  5. Change to plex-fuse directory
  6. Install project dependencies pipenv install
  7. Create config.ini for python-plexapi
  8. Mount the configured PMS somewhere, i.e plex-server: mkdir plex-server; pipenv run python -m plexfuse plex-server -f
  9. Access the plex-server directory from another terminal
  10. 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.5.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

plex_fuse-0.5.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file plex-fuse-0.5.0.tar.gz.

File metadata

  • Download URL: plex-fuse-0.5.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for plex-fuse-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0fbbc96f4d77529fccbb6aa1964b4686cc4ed0d70715accdc4a20a0aa4903b1b
MD5 2e9633d869888c8e58556da59d751358
BLAKE2b-256 4d07b2b7edf860499f1c5646fe9dad1aca82fe893726ade50e0e3474a9df2e1f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plex_fuse-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be6f72bfe6d61c5f8fd8ee768b9aab95de7e3ac2cc161aa83b29f285c245a1de
MD5 caacc03fb06396786fd69954d9e962bd
BLAKE2b-256 8c7ec3fb73e558383584b4e6ca12c8241e8083c3f1b3e9c2a8a8ecb5ca65b358

See more details on using hashes here.

Supported by

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