Jump to context from the context URI when the item is missing or the native context is stale
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the jump-to-context key (o) and its Album and Artist branches, then inspect how playback context URIs are retained for native playback and shuffle sessions. The issue names no files or tests, so first locate those entry points and existing Spotify URI parsing and fetch paths. Done means missing-item Album and Artist contexts resolve from their URIs, and native playback prefers its start or shuffle URI over stale cached context.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
The jump-to-context key (o by default) opens the album, artist or playlist that the playing Spotify track came from. Two cases still open nothing useful:
- The playback context has no item. Spotify reports this while an ad plays on a free account, or on a restricted device. A Playlist context still opens (it is read from the context URI), but an Album or Artist context ends in "Nothing is playing", because those two paths resolve the album or artist from the playing item, not from the context URI. Before #511 the same two cases were silent no-ops.
- Under native streaming with a client-side shuffle session or a direct URI-list load, the cached context's
contextfield isNoneor a stale leftover from an earlier session: the poll skips the wholesale write while the native metadata is authoritative, and the shuffle start never sets it.othen does nothing, or opens the context of a previous session.
Describe the solution you'd like
Resolve the Album and Artist arms of jump-to-context from the context URI when the playing item is missing: parse the album id from a spotify:album: URI and dispatch the album fetch; for spotify:artist: fetch the artist by id (the artist screen needs a name, so the artist page must accept a missing name or fetch it). For the native case, keep the context URI the native player was started from (the parked start request or the shuffle session carry it) and prefer it over the cached Web API context while native playback is authoritative.
Describe alternatives you've considered
Leave the message as it is. The key already says why it did nothing, and both cases are rare. The stale native context is the more misleading of the two because it opens the wrong page.
Additional context
Found while resolving the playing item through the playback owner in #511; noted there as a follow-up.
- 主要言語
- Rust
- スター
- 1.4k
- フォーク
- 238
- 平均マージ
- 8時間 56分
- マージ済み PR(30日)
- 208
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LargeModGames/spotatui のほかの issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
LargeModGames/spotatui#878 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
LargeModGames/spotatui#872 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
LargeModGames/spotatui#871 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
LargeModGames/spotatui#832 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
LargeModGames/spotatui#829 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
LargeModGames/spotatui の issue をすべて見る
似ている issue
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
pop-os/cosmic-comp#2956 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:release criticality:p3 documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
registrystack/registry-stack#2085 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
libp2p/rust-libp2p#6694 ·
メンテナーはふだん 1 日以内に返信