diff --git a/README.md b/README.md index 293381d1..28dcbbe7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![](https://jitpack.io/v/Topis-Lavalink-Plugins/Source-Managers.svg)](https://jitpack.io/#Topis-Lavalink-Plugins/Source-Managers) +[![](https://jitpack.io/v/Topis-Lavalink-Plugins/Topis-Source-Managers.svg)](https://jitpack.io/#Topis-Lavalink-Plugins/Topis-Source-Managers) -# Source-Managers +# Topis-Source-Managers A collection [Lavaplayer](https://github.com/sedmelluq/lavaplayer) Source Managers. * [Spotify](https://www.spotify.com) playlists/albums/songs/artists(top tracks)/search results @@ -21,7 +21,7 @@ repositories { } dependencies { - implementation 'com.github.Topis-Lavalink-Plugins:Source-Managers:x.y.z' + implementation 'com.github.Topis-Lavalink-Plugins:Topis-Source-Managers:x.y.z' } ``` @@ -37,7 +37,7 @@ dependencies { com.github.Topis-Lavalink-Plugins - Source-Managers + Topis-Source-Managers x.y.z diff --git a/settings.gradle b/settings.gradle index 0666e6ed..4571d0ea 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = 'source-managers' +rootProject.name = 'topis-source-managers' diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/Test.java b/src/main/java/com/github/topislavalinkplugins/sourcemanagers/Test.java deleted file mode 100644 index dcc6633b..00000000 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/Test.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.github.topislavalinkplugins.sourcemanagers; - -import com.github.topislavalinkplugins.sourcemanagers.applemusic.AppleMusicClient; - -public class Test{ - - public static void main(String[] args){ - new AppleMusicClient("us"); - } - -} diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioSourceManager.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioSourceManager.java similarity index 96% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioSourceManager.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioSourceManager.java index 93dc1eaf..77271484 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioSourceManager.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioSourceManager.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers; +package com.github.topislavalinkplugins.topissourcemanagers; import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager; import com.sedmelluq.discord.lavaplayer.source.AudioSourceManager; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioTrack.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioTrack.java similarity index 90% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioTrack.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioTrack.java index dcd914c8..a0f22a3a 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/ISRCAudioTrack.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/ISRCAudioTrack.java @@ -1,8 +1,8 @@ -package com.github.topislavalinkplugins.sourcemanagers; +package com.github.topislavalinkplugins.topissourcemanagers; -import com.github.topislavalinkplugins.sourcemanagers.applemusic.AppleMusicSourceManager; -import com.github.topislavalinkplugins.sourcemanagers.applemusic.Song; -import com.github.topislavalinkplugins.sourcemanagers.spotify.SpotifySourceManager; +import com.github.topislavalinkplugins.topissourcemanagers.applemusic.AppleMusicSourceManager; +import com.github.topislavalinkplugins.topissourcemanagers.applemusic.Song; +import com.github.topislavalinkplugins.topissourcemanagers.spotify.SpotifySourceManager; import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler; import com.sedmelluq.discord.lavaplayer.source.AudioSourceManager; import com.sedmelluq.discord.lavaplayer.tools.FriendlyException; @@ -23,8 +23,8 @@ import java.util.concurrent.CompletableFuture; -import static com.github.topislavalinkplugins.sourcemanagers.ISRCAudioSourceManager.ISRC_PATTERN; -import static com.github.topislavalinkplugins.sourcemanagers.ISRCAudioSourceManager.QUERY_PATTERN; +import static com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioSourceManager.ISRC_PATTERN; +import static com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioSourceManager.QUERY_PATTERN; public class ISRCAudioTrack extends DelegatedAudioTrack{ diff --git a/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/Test.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/Test.java new file mode 100644 index 00000000..359bbf83 --- /dev/null +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/Test.java @@ -0,0 +1,11 @@ +package com.github.topislavalinkplugins.topissourcemanagers; + +import com.github.topislavalinkplugins.topissourcemanagers.applemusic.AppleMusicClient; + +public class Test{ + + public static void main(String[] args){ + new AppleMusicClient("us"); + } + +} diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/TrackNotFoundException.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/TrackNotFoundException.java similarity index 68% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/TrackNotFoundException.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/TrackNotFoundException.java index 8d5a2f9a..d2699dce 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/TrackNotFoundException.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/TrackNotFoundException.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers; +package com.github.topislavalinkplugins.topissourcemanagers; public class TrackNotFoundException extends RuntimeException{ diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicClient.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicClient.java similarity index 98% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicClient.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicClient.java index 465ad007..8d3fae88 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicClient.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicClient.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicSourceManager.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicSourceManager.java similarity index 95% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicSourceManager.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicSourceManager.java index dbe47100..ca33e3cf 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicSourceManager.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicSourceManager.java @@ -1,7 +1,7 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; -import com.github.topislavalinkplugins.sourcemanagers.ISRCAudioSourceManager; -import com.github.topislavalinkplugins.sourcemanagers.ISRCAudioTrack; +import com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioSourceManager; +import com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioTrack; import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager; import com.sedmelluq.discord.lavaplayer.track.AudioItem; import com.sedmelluq.discord.lavaplayer.track.AudioReference; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicWebAPIException.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicWebAPIException.java similarity index 72% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicWebAPIException.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicWebAPIException.java index 3cde02af..9abf8f26 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/AppleMusicWebAPIException.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/AppleMusicWebAPIException.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; import org.apache.hc.core5.http.HttpException; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SearchResult.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SearchResult.java similarity index 62% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SearchResult.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SearchResult.java index cd62f53a..754c2e58 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SearchResult.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SearchResult.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; public class SearchResult{ diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/Song.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/Song.java similarity index 83% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/Song.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/Song.java index d9b8d732..689d6d0c 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/Song.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/Song.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; import java.util.List; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SongCollection.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SongCollection.java similarity index 89% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SongCollection.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SongCollection.java index 0bba8894..b5aa9031 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/applemusic/SongCollection.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/applemusic/SongCollection.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.applemusic; +package com.github.topislavalinkplugins.topissourcemanagers.applemusic; import java.util.List; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifyConfig.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifyConfig.java similarity index 92% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifyConfig.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifyConfig.java index 798916f8..665ad610 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifyConfig.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifyConfig.java @@ -1,4 +1,4 @@ -package com.github.topislavalinkplugins.sourcemanagers.spotify; +package com.github.topislavalinkplugins.topissourcemanagers.spotify; import com.neovisionaries.i18n.CountryCode; diff --git a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifySourceManager.java b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifySourceManager.java similarity index 96% rename from src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifySourceManager.java rename to src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifySourceManager.java index 2f506858..c4831287 100644 --- a/src/main/java/com/github/topislavalinkplugins/sourcemanagers/spotify/SpotifySourceManager.java +++ b/src/main/java/com/github/topislavalinkplugins/topissourcemanagers/spotify/SpotifySourceManager.java @@ -1,7 +1,7 @@ -package com.github.topislavalinkplugins.sourcemanagers.spotify; +package com.github.topislavalinkplugins.topissourcemanagers.spotify; -import com.github.topislavalinkplugins.sourcemanagers.ISRCAudioSourceManager; -import com.github.topislavalinkplugins.sourcemanagers.ISRCAudioTrack; +import com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioSourceManager; +import com.github.topislavalinkplugins.topissourcemanagers.ISRCAudioTrack; import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager; import com.sedmelluq.discord.lavaplayer.track.AudioItem; import com.sedmelluq.discord.lavaplayer.track.AudioReference;