Giter Club home page Giter Club logo

mineshaftgap / i2ps Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4.72 MB

The tool i2ps was created due to the lack of documentation and difficulty of trying to migrate from iTunes to Plex on Synology running DSM 7. Currently it imports rating, play and skip counts. At the moment it does not try and import playlists.

License: MIT License

Shell 56.94% Go 43.06%
itunes plex plex-media-server plex-server plexmediaserver synology synology-nas mac-music-player itunes-music-library itunes-library

i2ps's Introduction

i2ps (iTunes to Plex on Synology)

The tool i2ps was created due to the lack of documentation and difficulty of trying to migrate from iTunes to Plex on Synology running DSM 7. Currently it imports rating, play and skip counts. At the moment it does not try and import playlists. In order to accomplish this, there are three main tools:

  • The main shell script i2ps.sh
  • The go binary plist2json to convert Apple plists to JSON, you can find the source in this repo. It was shamelessly borrowed from https://github.com/kutani/plist2json. The main changes to it were proper JSON encoding and dode readability.
  • The app "jq" to extract the meta info by querying the converted JSON. This should already be on your Synology.

Please note, while this script does backup the Plex database and the table that it alters, it is always up to you to make proper backups. Using this tool requires more than basic skill level, you will need to be able to ssh into your Plex and run some commands. Finally, use at your own risk.

  1. On your computer: Make sure all music files are downloaded in your iTunes library, if you use iTunes this might not be the case.
  2. On your computer: Download this tool - https://github.com/mineshaftgap/i2ps/archive/refs/heads/main.zip
  3. On your computer: Export iTunes Library info as "Library.xml".
  4. On Synology UI: Stop the Plex server.
  5. On Synology UI: Upload "i2ps-main.zip" to your admin home directory.
  6. On Synology UI: Extract "i2ps-main.zip".
  7. On Synology UI: Upload "Library.xml" to the folder "i2ps-main/var/run".
  8. On your computer: Access your admin Synology account with ssh.
  9. On Synology SSH: Run this script
./i2ps.sh

i2ps's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.