MyAnimeList
Create and sync Plex collections from MyAnimeList user lists, rankings, and seasonal anime. homescreen-hero uses the MAL API to fetch anime data and matches it to your Plex library using the anime-lists mapping database.
Setup
- Create a MAL API application at myanimelist.net/apiconfig
- Copy your Client ID
- Add it to your
.envfile:
HSH_MAL_CLIENT_ID=your-client-id
- If you didn't enable MAL in the Setup Wizard, enable it on the Lists page (or directly in
config.yaml):
mal:
enabled: true
Adding a Source
MAL supports three modes: User Lists, Rankings, and Seasonal Anime.
User Lists
Sync from any public MAL user's anime list, filtered by status (Watching, Completed, On Hold, Dropped, Plan to Watch).
- Go to the Integrations page in the dashboard
- Under MAL, select the User Lists tab
- Enter the MAL username and select a status filter
- Select which Plex library to sync to
- Adjust the collection name if needed
- Click Add
You can also paste a full MAL list URL (e.g., https://myanimelist.net/animelist/username).
Rankings
Sync from MAL's ranking lists for curated discovery collections.
- Under MAL, select the Rankings tab
- Choose a ranking type:
- All - Top anime overall
- Airing - Currently airing top anime
- Upcoming - Top upcoming anime
- Most Popular - Most popular by member count
- Most Favorited - Most favorited by users
- Select which Plex library to sync to
- Adjust the collection name if needed
- Click Add
Seasonal Anime
Sync anime from a specific season and year.
- Under MAL, select the Seasonal tab
- Choose a year and season (Winter, Spring, Summer, Fall)
- Select which Plex library to sync to
- Adjust the collection name if needed
- Click Add
How Syncing Works
When you sync a MAL source, homescreen-hero:
- Fetches all anime from the MAL list via the API (handles pagination automatically)
- Filters by format based on your target library type:
- Show libraries: TV, OVA, ONA, Special
- Movie libraries: Movie
- Matches each anime to your Plex library using a multi-step approach:
- Looks up the MAL ID in the anime-lists mapping database to get TMDb, IMDb, and TVDB IDs
- Tries matching by TMDb ID first (most reliable)
- Falls back to IMDb ID, then TVDB ID
- Last resort: title + year search
- Creates or updates the Plex collection with all matched items
- Removes stale items - if something is removed from the MAL source, it gets removed from the collection on the next sync
- Tracks missing items - any anime on the list that aren't in your Plex library are logged and viewable from the dashboard
The anime-lists mapping database is cached locally and refreshed every 24 hours. Both modern (tmdb://, imdb://, tvdb://) and legacy Plex agent GUIDs are supported for matching.
Missing Items
After a sync, you can view which anime from the MAL source weren't found in your Plex library. Each missing item includes the title, year, media type, and MAL ID for easy lookup.