{"id":24585786,"url":"https://github.com/nugget/itunes-file-mtimes","last_synced_at":"2025-09-15T18:44:27.765Z","repository":{"id":66795955,"uuid":"237349834","full_name":"nugget/itunes-file-mtimes","owner":"nugget","description":"Synchronize raw file modification times with iTunes library added dates","archived":false,"fork":false,"pushed_at":"2020-02-08T00:55:09.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T18:16:04.184Z","etag":null,"topics":["itunes","itunes-library","roon","roonlabs"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nugget.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-31T02:59:36.000Z","updated_at":"2020-04-10T18:49:17.000Z","dependencies_parsed_at":"2023-03-14T11:30:16.672Z","dependency_job_id":null,"html_url":"https://github.com/nugget/itunes-file-mtimes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nugget/itunes-file-mtimes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nugget%2Fitunes-file-mtimes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nugget%2Fitunes-file-mtimes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nugget%2Fitunes-file-mtimes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nugget%2Fitunes-file-mtimes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nugget","download_url":"https://codeload.github.com/nugget/itunes-file-mtimes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nugget%2Fitunes-file-mtimes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275304873,"owners_count":25441165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["itunes","itunes-library","roon","roonlabs"],"created_at":"2025-01-24T05:14:43.963Z","updated_at":"2025-09-15T18:44:27.751Z","avatar_url":"https://github.com/nugget.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this?\n\nThis program will read in your iTunes Library.xml file and then walk through\neach track in the file.  For each track, it will update the modification time\non the actual file to match the \"Date Added\" timestamp that is recorded in the\niTunes library database.\n\nOver the years there are many normal actions and activities that can cause the\nmodification time of a file to be updated long after it was added to iTunes.\nIt's very easy for these timestamps to become out of sync and to have the file\nmodification times much newer than the actual date the track was added to your\niTunes library.\n\n# Why would I care about that?\n\nIf you have a program which is working off the iTunes media directory and not\nworking through the iTunes API. For example, if you are using [roon] to play\nyour music and you have your iTunes set up as a library location it can\noptionally use the file time to track when the file was added.\n\n# Cool, I use roon and this sounds fantastic!  What do I do?\n\n* If you are on Catalina and using the newer \"Music\" app instead of iTunes, you\n  should first manually export your library to an XML file.\n\n    * File \u003e Library \u003e Export Library...\n    * Save the `Library.XML` file somewhere\n\n* Download a binary for your OS from the [releases page] page here and then\n  copy it into the same directory as your `Library.XML` file.\n\n* Open a terminal window and navigate to that same directory\n\n* Run `./itunes-file-mtimes`\n\n* In roon, go to Settings \u003e Library \u003e Import Settings and set \"Import Date\n  Defaults to\" to \"File Modification Time\"\n\n* In roon, go to \"Storage\" and perform a \"Force Rescan\" on your attached iTunes\n  library location.\n\n# Useful Links\n\n* [Discussion on Roon Community forum](https://community.roonlabs.com/t/fixed-my-itunes-library-date-added-to-work-better-with-roon-library-imports/93034?u=nugget)\n\n# Credits\n\nWritten by David \"nugget\" McNett in Go.\n\n[roon]: https://roonlabs.com\n[releases page]: https://github.com/nugget/itunes-file-mtimes/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnugget%2Fitunes-file-mtimes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnugget%2Fitunes-file-mtimes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnugget%2Fitunes-file-mtimes/lists"}