jellyfin / jellyfin-meta

A repository to hold our roadmap, policies, and more.
25 stars 4 forks source link

Looking for feedback: Is there a need for a test-library generator? #31

Open AndreasGB opened 1 year ago

AndreasGB commented 1 year ago

Motivation

To troubleshoot a bug, I just had the need for a large media library of an item type I don't use, so I wrote a quick python script that creates a fake library. I now wonder whether I should develop this into a small utility that can generate libraries for all item types. Is there a need for this / would it be helpful for your development workflow?

Proposed approach

Prepare lists of plausible items of each item type

Then have the script use the lists to:

nielsvanvelzen commented 1 year ago

(moved to jellyfin-meta)

I think having better test data would be nice, but it should probably contain real audio/video/photo/book files in various codecs for even better testing. Additionally having it on a team-hosted server (access for Jellyfin team only) might be easier because you don't need to setup a server locally.