Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start app pointed to a specific page #1071

Closed
curtisgibby opened this issue Mar 15, 2023 · 8 comments · Fixed by #1073
Closed

Start app pointed to a specific page #1071

curtisgibby opened this issue Mar 15, 2023 · 8 comments · Fixed by #1073
Assignees

Comments

@curtisgibby
Copy link

curtisgibby commented Mar 15, 2023

Feature

Every time I open the app, it starts up on the "Home" page (which is the same as https://music.youtube.com ). I get that Google would prefer that I use their Radio stations (which generates ad revenue), but I always want to listen to my own uploaded songs. To do so, I have to click Library (relative URL /library), then Uploads (/library/uploads), then Songs (/library/uploaded_songs), then Shuffle All.

It would be nice to specify a default start page (in my case /library/uploaded_songs) that the app would always go to when I open it up.

Solution

Perhaps add a setting where the user could choose one of the main sections or subsections of the YT Music app to serve as their personalized start location.

  • Home (/)
  • Explore (/explore)
    • New releases (/new_releases)
    • Charts (/charts)
    • Moods & Genres (/moods_and_genres)
  • Library
    • Main Library tab (/library
      • Playlists (/library/playlists)
      • Songs (/library/songs)
      • Albums (/library/albums)
      • Artists (/library/artists)
    • Uploads tab (/library/uploads)
      • Playlists (/library/playlists) (interestingly, this is the same as above)
      • Songs (/library/uploaded_songs)
      • Albums (/library/uploaded_albums)
      • Artists (/library/uploaded_artists)

Alternatives

  • A simple text entry box for the user to put in their preferred start URL (https://music.youtube.com/library/uploaded_artists) or relative URL (/library/uploaded_artists)
@DereC4
Copy link
Contributor

DereC4 commented Mar 15, 2023

Would a toggle in the "options" area work like "remember last tab"
image

@curtisgibby
Copy link
Author

Would a toggle in the "options" area work like "remember last tab"

I love that idea!

@Araxeus
Copy link
Collaborator

Araxeus commented Mar 15, 2023

we can navigate the app using $('ytmusic-app').navigate_(browseId)

here are the browseId 's I could find:

  • Home (/) FEmusic_home
  • Explore (/explore) FEmusic_explore
    • New releases (/new_releases) FEmusic_new_releases
    • Charts (/charts) FEmusic_charts
    • Moods & Genres (/moods_and_genres) FEmusic_moods_and_genres
  • Library FEmusic_library_landing
    • Main Library tab (/library ^
      • Playlists (/library/playlists) FEmusic_liked_playlists
      • Songs (/library/songs) FEmusic_liked_videos
      • Albums (/library/albums) FEmusic_liked_albums
      • Artists (/library/artists) FEmusic_library_corpus_track_artists
      • Subscribed to Artists: FEmusic_library_corpus_artists
    • Uploads tab (/library/uploads) FEmusic_library_privately_owned_landing
      • Playlists (/library/playlists) FEmusic_liked_playlists (huh? even the browseId is the same)
      • Songs (/library/uploaded_songs) FEmusic_library_privately_owned_tracks
      • Albums (/library/uploaded_albums) FEmusic_library_privately_owned_releases
      • Artists (/library/uploaded_artists) FEmusic_library_privately_owned_artists

@DereC4
Copy link
Contributor

DereC4 commented Mar 15, 2023

interesting

@Araxeus
Copy link
Collaborator

Araxeus commented Mar 15, 2023

A simple text entry box for the user to put in their preferred start URL

btw @curtisgibby if we do that, then the song won't load on start

I think it's better if we keep the current functionality, and add of on top of it an option to automatically navigate to one of the options in the list above on app start

@Araxeus Araxeus self-assigned this Mar 15, 2023
Araxeus added a commit to Araxeus/youtube-music that referenced this issue Mar 15, 2023
@Araxeus
Copy link
Collaborator

Araxeus commented Mar 15, 2023

I've opened a PR which implements this feature #1073

less than an hour after the feature request, new record? 😝

@curtisgibby
Copy link
Author

Fastest time I've ever seen between an issue being opened and a PR created. 🤩

@DereC4
Copy link
Contributor

DereC4 commented Mar 16, 2023

Fastest time I've ever seen between an issue being opened and a PR created. 🤩

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants