• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Moving libraries to a different disk

     
    • 0 Vote(s) - 0 Average

    Moving libraries to a different disk

    How to move libraries (on macOS)?
    jellyfin
    Offline

    Junior Member

    Posts: 49
    Threads: 9
    Joined: 2024 Nov
    Reputation: 0
    Country:Germany
    #6
    2024-11-23, 02:40 PM
    I tried to modify the SQlite database like this:

    tja@mini:~/Library/Application Support/jellyfin/data$ sqlite3 library.db
    SQLite version 3.47.0 2024-10-21 16:30:22
    Enter ".help" for usage hints.
    sqlite> .output library.sql
    sqlite> .dump
    sqlite> .exit

    tja@mini:~/Library/Application Support/jellyfin/data$ sed 's@/T7_Touch1TB/MOVIES@/XTRMQ/MEDIA/MOVIES@g;s@/T7_Touch1TB/SERIES@/XTRMQ/MEDIA/SERIES@g;s@/T7_Touch1TB/INTERNET@/XTRMQ/MEDIA/INTERNET@g;s@/T7_Touch1TB/PRIVATE@/XTRMQ/MEDIA/PRIVATE@g' library.sql > library.new

    tja@mini:~/Library/Application Support/jellyfin/data$ sqlite3 library2.db
    SQLite version 3.47.0 2024-10-21 16:30:22
    Enter ".help" for usage hints.
    sqlite> .read ./library.new
    sqlite> .exit

    tja@mini:~/Library/Application Support/jellyfin/data$ mv library2.db library.db
    tja@mini:~/Library/Application Support/jellyfin/data$ rm library.sql library.new


    Then I started Jellyfin again and scanned all media libraries.

    Result:

    All content gone from Jellyfin, totally.

    If I want to continue, I need to seek out the docs I found before and also check the old Python script, even as this was for Windows and Docker.

    As I said: Horrible!
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Moving libraries to a different disk - by jellyfin - 2024-11-22, 10:52 PM
    RE: Moving libraries to a different disk - by TheDreadPirate - 2024-11-22, 11:15 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 12:12 AM
    RE: Moving libraries to a different disk - by TheDreadPirate - 2024-11-23, 12:53 AM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 02:12 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 02:40 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 02:54 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 03:09 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 03:33 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 03:52 PM
    RE: Moving libraries to a different disk - by TheDreadPirate - 2024-11-23, 04:26 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 04:46 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 07:15 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-24, 12:39 AM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-23, 04:26 PM
    RE: Moving libraries to a different disk - by TheDreadPirate - 2024-11-24, 01:36 AM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-24, 11:08 AM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-24, 01:06 PM
    RE: Moving libraries to a different disk - by jellyfin - 2024-11-24, 02:43 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode