(playlist, data)
| 162 | }; |
| 163 | |
| 164 | const handleError = (playlist, data) => { |
| 165 | if (data.progress === 100) { |
| 166 | showNotification({ |
| 167 | title: `M3U Processing: ${playlist.name}`, |
| 168 | message: `${data.action || 'Processing'} failed: ${data.error || 'Unknown error'}`, |
| 169 | color: 'red', |
| 170 | autoClose: 5000, |
| 171 | }); |
| 172 | } |
| 173 | }; |
| 174 | |
| 175 | const getActionMessage = (action) => { |
| 176 | const messages = { |
no test coverage detected