Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
itunes-bridge
Advanced tools
A macOS only (for the moment) NodeJS package to control and get informations from iTunes through AppleScript
A macOS only NodeJS package to control and get informations from iTunes through AppleScript
No documentation yet, but you can look at the code of iTunes-Discord integration that is a great example of the usages possible with iTunes-bridge. There is also an example.js that you can run.
const iTunes = require('./itunes-bridge');
var currentTrack = iTunes.getCurrentTrack();
switch(currentTrack.playerState){
case "playing": {
var exampleMsg = "iTunes is currently playing " + currentTrack.name + " by " + currentTrack.artist + ' from the album "' + currentTrack.album + '". This song is ' + currentTrack.duration + 's long and will finish in ' + currentTrack.remainingTime+'s';
var exampleMsg2 = "You have " + iTunes.getPlaylistCount('/Users/steve/Music/iTunes/iTunes Library.xml') + " playlists in your library and " + iTunes.getTrackCount('/Users/steve/Music/iTunes/iTunes Library.xml') + " tracks!";
console.log(exampleMsg);
console.log(exampleMsg2);
break;
}
case "paused": {
var exampleMsg = 'iTunes is currently paused';
console.log(exampleMsg);
break;
}
case "stopped":
case "not running": {
var exampleMsg = "iTunes is not playing at the moment.";
console.log(exampleMsg);
break;
}
};
FAQs
A macOS and Windows NodeJS package to control and get informations from iTunes and macOS Music app through AppleScript
The npm package itunes-bridge receives a total of 22 weekly downloads. As such, itunes-bridge popularity was classified as not popular.
We found that itunes-bridge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.