mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix: local playlists can't be auto-played
This commit is contained in:
		
							parent
							
								
									d2dfb2e37a
								
							
						
					
					
						commit
						5bfbd5afa0
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -510,9 +510,7 @@ export default {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        async getPlaylistData() {
 | 
					        async getPlaylistData() {
 | 
				
			||||||
            if (this.playlistId) {
 | 
					            if (this.playlistId) {
 | 
				
			||||||
                await this.fetchJson(this.apiUrl() + "/playlists/" + this.playlistId).then(data => {
 | 
					                this.playlist = await this.getPlaylist(this.playlistId);
 | 
				
			||||||
                    this.playlist = data;
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
                await this.fetchPlaylistPages().then(() => {
 | 
					                await this.fetchPlaylistPages().then(() => {
 | 
				
			||||||
                    if (!(this.index >= 0)) {
 | 
					                    if (!(this.index >= 0)) {
 | 
				
			||||||
                        for (let i = 0; i < this.playlist.relatedStreams.length; i++)
 | 
					                        for (let i = 0; i < this.playlist.relatedStreams.length; i++)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue