Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Oct 6, 2020
1 parent 77c94d3 commit 734bf12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
19 changes: 0 additions & 19 deletions docs/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,44 +361,28 @@

### album:
- download
- download-toast-content
- download-toast-title

### app:
- dashboard
- downloads
- favorite-albums
- plugins

### artist:
- count

### favorite-albums:
- empty
- empty-help
- header

### library:
- album
- no-search-results
- no-search-results-help

### lyrics:
- by-artist

### playlists:
- queue

### plugins:
- add-a-plugin
- header
- lyrics-providers
- meta-providers
- select-lyrics-provider
- select-meta-provider
- user-plugins
- user-plugins-warning-desc
- user-plugins-warning-title

### queue:
- download
Expand All @@ -416,8 +400,6 @@
- display
- downloads
- downloads-count
- downloads-dir
- downloads-dir-button
- fmfav-btn
- fmfav-msg
- github-title
Expand All @@ -427,7 +409,6 @@
- login
- logout
- max.downloads
- mini-player
- playback
- social
- youtube
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/plugins/meta/audius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ class AudiusMetaProvider extends MetaProvider {
this.description = 'Metadata provider that uses Audius as a source.';
this.image = null;
this.lastfm = new LastFmApi(process.env.LAST_FM_API_KEY, process.env.LASTFM_API_SECRET);
this.init()
this.init();
}

async init(){
this.apiEndpoint = await Audius._findHost()
this.apiEndpoint = await Audius._findHost();
}

searchForArtists(query: string): Promise<Array<SearchResultsArtist>> {
Expand Down Expand Up @@ -123,12 +123,12 @@ class AudiusMetaProvider extends MetaProvider {
return Promise.resolve([]);
}

async fetchAlbumDetails(albumId: string, albumType: 'master' | 'release' = 'master', resourceUrl: string): Promise<AlbumDetails> {
async fetchAlbumDetails(): Promise<AlbumDetails> {
throw new Error('Method not implemented.');
}


async fetchAlbumDetailsByName( albumName: string, albumType: 'master' | 'release' = 'master' ): Promise<AlbumDetails> {
async fetchAlbumDetailsByName(): Promise<AlbumDetails> {
throw new Error('Method not implemented.');
}
}
Expand Down

0 comments on commit 734bf12

Please sign in to comment.