@sequencemedia/music-library 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app.mjs +8 -3
  2. package/package.json +2 -4
package/app.mjs CHANGED
@@ -48,20 +48,21 @@ async function app () {
48
48
  pid
49
49
  } = a.find(({ pid }) => pid !== PID)
50
50
 
51
- const log = debug('music-library:process:log')
51
+ const log = debug('@sequencemedia/music-library:process:log')
52
52
 
53
53
  log(`Killing application "${name}" in process ${pid}.`)
54
54
 
55
55
  process.kill(pid)
56
56
  }
57
57
  } catch ({ message }) {
58
- const error = debug('music-library:process:error')
58
+ const error = debug('@sequencemedia/music-library:process:error')
59
59
 
60
60
  error(message)
61
61
  return
62
62
  }
63
63
 
64
64
  const log = debug('@sequencemedia/music-library')
65
+ const info = debug('@sequencemedia/music-library:info')
65
66
 
66
67
  const {
67
68
  pid,
@@ -103,7 +104,7 @@ async function app () {
103
104
  if (l) {
104
105
  log(`Application "${name}" in process ${pid} watching Library.`)
105
106
 
106
- log({ jar, xml, destination })
107
+ info({ jar, xml, destination })
107
108
 
108
109
  return (
109
110
  library
@@ -113,6 +114,8 @@ async function app () {
113
114
  if (t) {
114
115
  log(`Application "${name}" in process ${pid} watching Tracks.`)
115
116
 
117
+ info({ jar, xml, destination })
118
+
116
119
  return (
117
120
  tracks
118
121
  .toM3U(jar, xml, destination)
@@ -122,6 +125,8 @@ async function app () {
122
125
  if (p) {
123
126
  log(`Application "${name}" in process ${pid} watching Playlists.`)
124
127
 
128
+ info({ jar, xml, destination })
129
+
125
130
  return (
126
131
  playlists
127
132
  .toM3U(jar, xml, destination)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/music-library",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Watch Apple Music Library XML and parse to JSON, JS, ES, or M3U",
5
5
  "keywords": [
6
6
  "music",
@@ -57,11 +57,9 @@
57
57
  "core-js": "^3.20.1",
58
58
  "eslint": "7.32.0",
59
59
  "eslint-config-standard": "^16.0.3",
60
- "eslint-import-resolver-babel-module": "^5.3.1",
61
60
  "eslint-plugin-import": "^2.25.3",
62
61
  "eslint-plugin-node": "^11.1.0",
63
- "eslint-plugin-promise": "5.2.0",
64
- "rimraf": "^3.0.2"
62
+ "eslint-plugin-promise": "5.2.0"
65
63
  },
66
64
  "imports": {
67
65
  "#music-library/common/normalise": "./src/common/normalise.mjs",