Skip to content

MakD/AFinity

Repository files navigation

Afinity - Yet Another Jellyfin Client

Overview

​AFinity is a native Android application that brings your Jellyfin media library to life with a clean, responsive interface. Stream your movies, TV shows, and live TV with hardware-accelerated playback, and discover new content through personalised recommendations. Beyond video, AFinity extends your experience with optional Audiobookshelf integration for audiobooks and podcasts, and direct media requests via Jellyseerr.

Installation

Get it on GitHub Get it on Obtainium

Build From Source

git clone https://github.com/MakD/AFinity.git
cd AFinity
./gradlew assembleRelease

Initial Setup

  1. Launch AFinity on your Android device
  2. Enter Server Address - Your Jellyfin server URL (e.g., http://192.168.1.100:8096)
  3. Sign In - Use your Jellyfin credentials
  4. Start Streaming - Access your entire media library

Tip: For remote access, ensure your Jellyfin server is configured for external connections

Optional: Seerr Integration

Enable media requests by connecting to your Jellyseerr server:

  1. Navigate to Settings → General
  2. Toggle Jellyseerr on
  3. Enter your Jellyseerr server URL
  4. Choose authentication:
    • Jellyfin - Use your Jellyfin credentials
    • Local - Use Jellyseerr email/password
  5. Tap Connect

The Requests tab will appear in your bottom navigation once connected.

Screenshots

Home Page   Movie Details Page   Show Details Page Library Page   Favorite Page   Person Detail Page Library Page   Favorite Page   Person Detail Page Audiobookshelf Page   Audiobook Detail Page   Audiobook Player Screen Player Screen

Features

Category Details
Media Playback - Hardware-accelerated video playback with LibMPV or ExoPlayer
- Multiple audio, subtitle, and media-version selection
- Preferred audio/subtitle language auto-selection
- Customizable subtitle appearance (color, size, position, alignment, outline, shadow, background)
- Resume functionality with playback progress sync
- Trickplay navigation with thumbnail previews
- Chapter markers and navigation
- Media Segments Support (Intro/Outro Skipper) with button/auto modes
- Multiple video zoom modes (Fit, Zoom, Stretch)
- Picture-in-Picture mode with background audio control
- Playback speed controls, controls lock, remaining-time display, and playback stats overlay
Player & Casting - Chromecast support with dedicated remote controller
- Cast playback controls for seek, play/pause, stop casting, volume, speed, quality, audio, subtitles, and episode switching
- Chromecast HEVC and max bitrate options
- SyncPlay support for creating, joining, and leaving watch groups
- Synchronized play, pause, seek, buffering, and ready state handling
- Episode switcher and queue support for quick TV navigation
- Gesture-based player controls for brightness, volume, seeking, and quick speed-up
- Configurable player buffer size, MPV hardware decoding, video output, and audio output
Live TV - Watch live television channels
- Electronic Program Guide (EPG) with timeline navigation
- Browse programs by category (Movies, Sports, News, Kids, etc.)
- Mark channels as favourites
- Real-time program progress updates
- Direct stream support for IPTV sources
Content Discovery - Library browsing by content type
- Personalized home screen with dynamic recommendations
- Spotlight carousels, box set highlights, highest-rated sections, and popular studios
- Genre, studio, network, and collection browsing
- Unified search across Jellyfin, Seerr, and Audiobookshelf
- Advanced filtering, sorting, paging, and alphabet scroller support
- Favorites and watchlist management
- Cast and crew information with full filmography
- Similar items, special features, additional parts, upcoming episodes, and collection membership
- External ratings through TMDB, MDBList, OMDb, Rotten Tomatoes, IMDb, and Audible where configured
Offline & Downloads - Offline mode with automatic no-network detection and manual force-offline toggle
- Offline home screen for downloaded movies, shows, audiobooks, and podcast episodes
- Download manager with active/completed downloads, progress, pause, resume, cancel, and delete actions
- Download individual videos, full seasons, and full series
- Download Audiobookshelf audiobooks and podcast episodes
- Wi-Fi-only download control and network-aware download gating
- Storage dashboard for current server, all servers, and device free space
- Configurable image disk cache with size limit
Seerr Integration (Optional) - Request movies and TV shows with season selection and 4K options
- Browse trending, popular, upcoming, genre, studio, and network content
- Search integration with request filter
- Track request status (Pending, Approved, Available)
- Real-time request status updates across app
- Approve, decline, update, or delete requests
- Radarr/Sonarr service, quality profile, and root folder selection when available
- Detailed media information in request dialog (ratings, runtime, cast, seasons, and overview)
Audiobookshelf Integration (Optional) - Connect to Audiobookshelf servers for audiobook and podcast playback
- Browse libraries with tabbed navigation (Home, Series, Libraries)
- Genre-based discovery, series collections, personalized sections, and listening stats
- Background audio playback with media notifications and lock screen controls
- Sleep timer, adjustable playback speed, skip silence, volume boost, and equalizer support
- Chapter and podcast episode navigation with progress syncing
- Episode-level progress tracking and offline progress sync
- Audible rating lookup and caching
- Persistent mini-player for navigation during playback
- Integration with main search and offline downloads
Interface - Material 3 design with system theming
- Responsive adaptive layouts for phones, tablets, and foldables
- Adaptive navigation bar/rail behavior
- Dark, light, system, and AMOLED theme support with dynamic colors
- App language picker and RTL-aware layouts
- Custom app fonts (System, Google Sans Flex, Quicksand, IBM Plex Sans, IBM Plex Sans Condensed)
- Customizable home layout and episode layout (horizontal/vertical)
- Global ratings visibility toggle
- Edge-to-edge display support
- Global Audiobookshelf mini-player and loading splash with progress
Server Integration - Secure authentication with encrypted credential storage
- Multi-server & multi-user support with quick session switching
- One-tap login for saved accounts
- Alternate connection addresses for Jellyfin, Seerr, and Audiobookshelf
- Local, remote, Tailscale, and offline connection indicators
- Playback progress synchronization and background user data sync
- Background library refreshes, downloads, image caching, subtitle/trickplay downloads, and Audiobookshelf progress sync
- Jellyfin WebSocket monitoring for server restart/shutdown status
Admin & Maintenance - Jellyfin admin control panel for supported admin accounts
- View active sessions with now-playing media, device/client, user, and progress
- Run or stop scheduled Jellyfin tasks
- Refresh all libraries, restart server, or shut down server from the app
- Edit item metadata including titles, overview, year, ratings, genres, tags, studios, people, and locked fields
- Identify movies and series using external provider IDs and apply matched results
- Refresh item metadata with selectable refresh modes and image/metadata replacement options
- Edit item images by selecting provider images, uploading images, and deleting existing images
- In-app GitHub update checks, APK downloads, update notifications, diagnostic log export, and crash log export

Technical Stack

Android 15+ Kotlin Jetpack Compose Material 3 Jellyfin 10.10.x

  • Language: Kotlin
  • UI Framework: Jetpack Compose + Material 3
  • Architecture: MVVM with Repository pattern
  • Dependency Injection: Hilt
  • Navigation: Navigation Compose
  • Media Player: LibMPV + ExoPlayer
  • Networking: Retrofit + Jellyfin SDK
  • Image Loading: Coil with BlurHash
  • Local Storage: Room
  • Security - Tink (Encrypted Credentials)
  • Preferences - Jetpack DataStore

Roadmap

Core Features

  • Download management for offline viewing
  • Adaptive streaming with quality selection (transcoding support)
  • Chromecast support
  • Enhanced accessibility features
  • Multi-user profile switching
  • Multi-server support

Player Enhancements

  • Picture-in-picture mode
  • Advanced subtitle styling options
  • Audio delay adjustment
  • Playback speed controls

UI/UX Improvements

  • Tablet-optimized layouts
  • Advanced search filters
  • Custom library views
  • Gesture customisation

Technical

  • Background sync optimisation
  • Cache management
  • Network quality detection
  • Performance monitoring

Contributing

We welcome contributions from the community! Whether you're a developer, designer, or translator, here is how you can help:

Help Translate

We use Weblate to manage translations. You can help translate AFinity into your language directly in your browser without needing any technical knowledge.

  1. Visit our Weblate Project.
  2. Select your language (or start a new one).
  3. Start translating! Changes are automatically synced back to this repository.

Code Contributions

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Commands

# Build the project
./gradlew build

# Run tests
./gradlew test

# Install debug build
./gradlew installDebug

Project Stats

Alt

Star History Chart

 

GitHub commit activity GitHub commits since latest release GitHub Downloads (latest release)

Issues Pull Requests

Translation status

Acknowledgments

AFinity stands on the shoulders of giants. Special thanks to:

  • Jellyfin - The open source media server that makes it all possible
  • MPV - Media player engine
  • libmpv-android by Jarne Demeulemeester - Android MPV integration
  • Seerr - Open-source media discovery and request manager for Jellyfin, Plex, and Emby.
  • Audiobookshelf - Open-source self-hosted audiobook and podcast server.

Privacy

Afinity respects your privacy:

  • No tracking or analytics are collected
  • All data stays local or with your own Jellyfin server
  • No third-party services are used without your explicit consent
  • Source code is open for full transparency

Disclaimer

AFinity does not support or condone piracy. This application is designed solely for streaming media content that you personally own or have legal rights to access. AFinity includes no media content whatsoever. Any references, discussions, or support requests related to piracy or related tools are strictly prohibited and will be removed.

License

This project is licensed under the LGPL-3.0 License - see the LICENSE file for details.

Support the Project

AFinity is a personal project developed and maintained in my free time. If the app has improved your media experience, there are a few ways you can help support its growth:

Community Support

  • Star the Project: Give us a ⭐ on GitHub—it helps others find the app!
  • Contribute: AFinity is open-source. Bug reports and Pull Requests are always welcome.
  • Join the Discussion: Share your feedback or get help on our Discord.

Buy the Developer a Coffee

If you've spent hours enjoying your library through AFinity and want to show some appreciation, you can support my work here. It helps keep me fueled for those late-night coding sessions!

Support on Ko-fi Buy Me a Coffee

Every contribution, whether it's code, a bug report, or a coffee, helps make AFinity better.


Made with ❤️ for the Jellyfin community

AFinity is an independent project and is not affiliated with Jellyfin, Audiobookshelf or Seerr.
Jellyfin is a trademark of the Jellyfin project.


Back to Top