• 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
    #19
    2024-11-24, 02:43 PM (This post was last modified: 2024-11-24, 02:44 PM by jellyfin. Edited 1 time in total.)
    I found out more!

    Code:
    sqlite> SELECT Name,Path,HEX(guid) as guid,HEX(ParentId) as parentid,TopParentId,PresentationUniqueKey,UserDataKey FROM typedbaseitems WHERE hex(ParentId) = (SELECT hex(guid) FROM typedbaseitems WHERE type = 'MediaBrowser.Controller.Entities.AggregateFolder') ORDER BY Name ;

    INTERNET|/Volumes/XTRMQ/MEDIA/INTERNET|F17B5FB1A7A65125BCFF69C95D57F289|37AA7CF214E52522CCEDED48F6553502|b15f7bf1a6a72551bcff69c95d57f289|b15f7bf1a6a72551bcff69c95d57f289|b15f7bf1-a6a7-2551-bcff-69c95d57f289
    INTERNET|/Volumes/XTRMQ/MEDIA/INTERNET|E7624A7F08ADAD3B05693ACDAC81F61A|37AA7CF214E52522CCEDED48F6553502|7f4a62e7ad083bad05693acdac81f61a|7f4a62e7ad083bad05693acdac81f61a|7f4a62e7-ad08-3bad-0569-3acdac81f61a

    MOVIES|/Volumes/XTRMQ/MEDIA/MOVIES|BDFFC07943EEECE12ABC61E3FADDF700|37AA7CF214E52522CCEDED48F6553502|79c0ffbdee43e1ec2abc61e3faddf700|79c0ffbdee43e1ec2abc61e3faddf700|79c0ffbd-ee43-e1ec-2abc-61e3faddf700
    MOVIES|/Volumes/XTRMQ/MEDIA/MOVIES|E6026DCC3C642CEB1C17AB4A881FE7DA|37AA7CF214E52522CCEDED48F6553502|cc6d02e6643ceb2c1c17ab4a881fe7da|cc6d02e6643ceb2c1c17ab4a881fe7da|cc6d02e6-643c-eb2c-1c17-ab4a881fe7da

    PRIVATE|/Volumes/XTRMQ/MEDIA/PRIVATE|A6EC99ABFD114741DCAB49F0D087A2C9|37AA7CF214E52522CCEDED48F6553502|ab99eca611fd4147dcab49f0d087a2c9|ab99eca611fd4147dcab49f0d087a2c9|ab99eca6-11fd-4147-dcab-49f0d087a2c9
    PRIVATE|/Volumes/XTRMQ/MEDIA/PRIVATE|19EAA92527086AE320FE1AFC3EEFD57D|37AA7CF214E52522CCEDED48F6553502|25a9ea190827e36a20fe1afc3eefd57d|25a9ea190827e36a20fe1afc3eefd57d|25a9ea19-0827-e36a-20fe-1afc3eefd57d

    SERIES|/Volumes/XTRMQ/MEDIA/SERIES|EAB3D01034C1B9E26F88B0336B3D681C|37AA7CF214E52522CCEDED48F6553502|10d0b3eac134e2b96f88b0336b3d681c|10d0b3eac134e2b96f88b0336b3d681c|10d0b3ea-c134-e2b9-6f88-b0336b3d681c
    SERIES|/Volumes/XTRMQ/MEDIA/SERIES|CB97ECCF0EE8608C61CDAE4EEC30703F|37AA7CF214E52522CCEDED48F6553502|cfec97cbe80e8c6061cdae4eec30703f|cfec97cbe80e8c6061cdae4eec30703f|cfec97cb-e80e-8c60-61cd-ae4eec30703f



    This is the root for the doubled entries!

    In the link mentioned above, there is a second set of commands for such a migration and here, the problem is mentioned.

    Sadly, the given syntax to remove the doubled entries does not work:

    Code:
    sqlite> UPDATE TypedBaseItems Set ParentId=x'destGUID', TopParentId=x'destTopParentID' WHERE ParentId = x'sourceGUID';
    Parse error: unrecognized token: "x'destGUID'"
      UPDATE TypedBaseItems Set ParentId=x'destGUID', TopParentId=x'destTopParentID'
                          error here ---^
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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