bolsinga / itunes_json Goto Github PK
View Code? Open in Web Editor NEWThis uses the iTunesLibrary or MusicKit framework to emit JSON representing the music library.
This uses the iTunesLibrary or MusicKit framework to emit JSON representing the music library.
When enabling StrictConcurrency, There are warnings with OpaquePointer
in Database.swift.
Try reading these articles to learn more about this problem: https://jackmorris.xyz/posts/2024/01/12/swift-sqlite-part-3/ and https://www.massicotte.org/intro-to-isolation
https://developer.apple.com/documentation/musickit/musiclibraryrequest
Won't have to use iTunesMusicLibrary.
This means the ITLibrary
will not properly instantiate.
iTunesLibrary returns a Date
. The ISO 8601 formatter says it will format it as UTC.
However unchanged play dates from iTunesLibrary will shift by 1 hour when Daylight Savings Time (DST) starts and ends.
Is this correct? I'd expect UTC to be unaffected by DST.
Need to write a sample to learn if iTunesLibrary Date
is wrong, or if my assumptions about how ISO 8601 formatter works are wrong.
Add .enableExperimentalFeature("StrictConcurrency")
to swiftSettings
.
This is a global that is used so that string interpolation will always return ?
in SQL statements when being bound to the SQLite library API.
This was enabled with #165 (several diffs before it added the functionality).
My approach with enabling strict concurrency has been to try to approach these as values passed into functions. Maybe https://gist.github.com/beccadax/0b46ce25b7da1049e61b4669352094b6#file-sqlitestatement-swift demonstrates another solution?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.