Title: Playlist management functions some times silently fail · Issue #149 · plugCubed/plugAPI · GitHub
Open Graph Title: Playlist management functions some times silently fail · Issue #149 · plugCubed/plugAPI
X Title: Playlist management functions some times silently fail · Issue #149 · plugCubed/plugAPI
Description: I've made our bot manage a playlist via PlugAPI, but some times, the callback is never called. It seems to happen most frequently with getPlaylistMedias, but it has also happened with joinBooth. To work around this, I made it automatical...
Open Graph Description: I've made our bot manage a playlist via PlugAPI, but some times, the callback is never called. It seems to happen most frequently with getPlaylistMedias, but it has also happened with joinBooth. To...
X Description: I've made our bot manage a playlist via PlugAPI, but some times, the callback is never called. It seems to happen most frequently with getPlaylistMedias, but it has also happened with joinBooth...
Opengraph URL: https://github.com/plugCubed/plugAPI/issues/149
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Playlist management functions some times silently fail","articleBody":"I've made our bot manage a playlist via PlugAPI, but some times, the callback is never called.\r\nIt seems to happen most frequently with `getPlaylistMedias`, but it has also happened with `joinBooth`.\r\nTo work around this, I made it automatically retry after 10 seconds of no callback happening, and after 6 retries, the operations completed successfully.\r\n\r\n```\r\n[SKIP] 02-11-17 18:32:01 KawaiiBot skipped the current song\r\nGODJ Got request to join booth +0 0\r\n[DATA] 02-11-17 18:32:02 Plays: 1\r\nGODJ Found song: Asriel - Metamorphose +548 548\r\nGODJ Song is available! +136 684\r\nGODJ Enqueue(Asriel - Metamorphose) +0 684\r\nGODJ Playlist exists. +1 685\r\nGODJ Playlist contains 1 items +254 939\r\nGODJ Clearing playlist 10802990 +0 939\r\nGODJ Playlist already active +159 1098\r\nGODJ Adding song to playlist: Asriel - Metamorphose +0 1098\r\nGODJ Ready to join +174 1272\r\n[WARN] 02-11-17 18:32:12 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: chaosangel209 - 東方Touhou Metal/Rock 1 +260 260\r\nGODJ Song is available! +82 342\r\nGODJ Enqueue(chaosangel209 - 東方Touhou Metal/Rock 1) +0 342\r\nGODJ Playlist exists. +0 342\r\n[WARN] 02-11-17 18:32:22 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: _dubtrack - cinema staff「YOUR SONG」MV(「WAYPOINT E.P.」 lead track) +273 273\r\nGODJ Song is available! +147 420\r\nGODJ Enqueue(_dubtrack - cinema staff「YOUR SONG」MV(「WAYPOINT E.P.」 lead track)) +0 420\r\nGODJ Playlist exists. +0 420\r\n[WARN] 02-11-17 18:32:32 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: Voca Vamp - 【GUMI】 Shinen ni Nemuru 深淵に睡る 【オリジナルPV】 +259 259\r\nGODJ Song is available! +84 343\r\nGODJ Enqueue(Voca Vamp - 【GUMI】 Shinen ni Nemuru 深淵に睡る 【オリジナルPV】) +0 343\r\nGODJ Playlist exists. +0 343\r\n[WARN] 02-11-17 18:32:42 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: Naruto Shippuden OST 3 - My Friend(2016) +319 319\r\nGODJ Song is available! +77 396\r\nGODJ Enqueue(Naruto Shippuden OST 3 - My Friend(2016)) +0 396\r\nGODJ Playlist exists. +1 397\r\n[WARN] 02-11-17 18:32:52 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: MC Moohyun - Endless Unji live 공연 +283 283\r\nGODJ Song is available! +153 436\r\nGODJ Enqueue(MC Moohyun - Endless Unji live 공연) +0 436\r\nGODJ Playlist exists. +1 437\r\n[WARN] 02-11-17 18:33:02 Timed out joining booth - retrying\r\nGODJ Got request to join booth +0 0\r\nGODJ Found song: Spice and Wolf OST - 21 - \"Kenshi to Yopparai\" +276 276\r\nGODJ Song is available! +128 404\r\nGODJ Enqueue(Spice and Wolf OST - 21 - \"Kenshi to Yopparai\") +0 404\r\nGODJ Playlist exists. +0 404\r\nGODJ Playlist contains 1 items +129 533\r\nGODJ Clearing playlist 10802990 +0 533\r\nGODJ Playlist already active +158 691\r\nGODJ Adding song to playlist: Spice and Wolf OST - 21 - \"Kenshi to Yopparai\" +0 691\r\nGODJ Ready to join +165 856\r\n```\r\n\r\nThe \"Ready to join\" message is logged just before calling `joinBooth`, the \"Playlist exists\" message is logged just before `getPlaylistMedias`.\r\nAfter `getPlaylistMedias` calls back, the message \"playlist contains N items\" is logged, and after joinBooth calls back, the timer that retries the join is cancelled.","author":{"url":"https://github.com/mortenn","@type":"Person","name":"mortenn"},"datePublished":"2017-11-02T18:39:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/149/plugAPI/issues/149"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbccb990-a419-701a-5676-f63f60a3b7fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E8A:62FFD:118EED2:16AB86E:698FD8AB |
| html-safe-nonce | 83b0af4a7c8eb69c0b7c50e5501a5eb0e8d434921819d56a4d67325f5d928292 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RThBOjYyRkZEOjExOEVFRDI6MTZBQjg2RTo2OThGRDhBQiIsInZpc2l0b3JfaWQiOiI3Nzg2NDE0NTQ1NjE5MTE0MTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 556f59240a211d13ac6af0261a1fe48219d1a4f10b147829be2eaf2848b3a966 |
| hovercard-subject-tag | issue:270762479 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plugCubed/plugAPI/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37348f05dd76066a0c84009725ef05548d447f1c54a588183bd5c4e6a752ff9f/plugCubed/plugAPI/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37348f05dd76066a0c84009725ef05548d447f1c54a588183bd5c4e6a752ff9f/plugCubed/plugAPI/issues/149 |
| og:image:alt | I've made our bot manage a playlist via PlugAPI, but some times, the callback is never called. It seems to happen most frequently with getPlaylistMedias, but it has also happened with joinBooth. To... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mortenn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/plugCubed/plugAPI git https://github.com/plugCubed/plugAPI.git |
| octolytics-dimension-user_id | 8736890 |
| octolytics-dimension-user_login | plugCubed |
| octolytics-dimension-repository_id | 15080126 |
| octolytics-dimension-repository_nwo | plugCubed/plugAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15080126 |
| octolytics-dimension-repository_network_root_nwo | plugCubed/plugAPI |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d320682233dfd4d28c0b30554a564c2fcd229032 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width