Only show playlists where the user is allowed to add tracks when trying to add tracks (#329)
* Only show playlists where the user is allowed to add tracks * Expose user_id from library and use it to reduce api calls
This commit is contained in:
@@ -33,7 +33,7 @@ pub struct Library {
|
||||
pub playlists: Arc<RwLock<Vec<Playlist>>>,
|
||||
pub shows: Arc<RwLock<Vec<Show>>>,
|
||||
pub is_done: Arc<RwLock<bool>>,
|
||||
user_id: Option<String>,
|
||||
pub user_id: Option<String>,
|
||||
ev: EventManager,
|
||||
spotify: Arc<Spotify>,
|
||||
pub cfg: Arc<Config>,
|
||||
|
||||
Reference in New Issue
Block a user