diff --git a/.idea/assetWizardSettings.xml b/.idea/assetWizardSettings.xml index 12ee8e76..ddd7d6b8 100644 --- a/.idea/assetWizardSettings.xml +++ b/.idea/assetWizardSettings.xml @@ -320,7 +320,7 @@ @@ -331,7 +331,7 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index 155a8652..7f3baebb 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -40,6 +40,7 @@ + @@ -83,7 +84,7 @@ - + @@ -91,7 +92,7 @@ - + @@ -120,6 +121,7 @@ + diff --git a/README.md b/README.md index 06bb51d8..6e34543b 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,24 @@ +## Create a YouTube API Key + +Using your personal api key will increase youtube result speed inside the app drastically. On top of that, the app will show you trending videos on youtube every time you open the app.
+Here is how to do it: + +- Go to [Google Console](https://console.cloud.google.com/projectselector2/apis/dashboard) +- Accept Terms & Services and click Create Project +- Click "Enabled API's and Services" +- Search for "Youtube Data API V3" click and enable it +- Click the Credentials tab on the left +- Click "Create Credentials" and choose API Key + +Copy the key that appears and paste it in this app's settings. + +## Connect with YouTube Revanced + +The App's package name is com.deniscerri.ytdl + ## License [GNU GPL v3.0](https://github.com/deniscerri/ytdlnis/blob/main/LICENSE) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3b56dea1..0f45df91 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -50,6 +50,16 @@ android:enabled="true" android:exported="false" /> + + + + \ No newline at end of file diff --git a/app/src/main/java/com/deniscerri/ytdlnis/adapter/DownloadsRecyclerViewAdapter.java b/app/src/main/java/com/deniscerri/ytdlnis/adapter/DownloadsRecyclerViewAdapter.java index 1784f67d..d283997c 100644 --- a/app/src/main/java/com/deniscerri/ytdlnis/adapter/DownloadsRecyclerViewAdapter.java +++ b/app/src/main/java/com/deniscerri/ytdlnis/adapter/DownloadsRecyclerViewAdapter.java @@ -24,6 +24,7 @@ import androidx.recyclerview.widget.RecyclerView; import com.deniscerri.ytdlnis.R; import com.deniscerri.ytdlnis.database.Video; import com.google.android.material.button.MaterialButton; +import com.google.android.material.card.MaterialCardView; import com.google.android.material.progressindicator.LinearProgressIndicator; import com.squareup.picasso.Picasso; @@ -32,6 +33,7 @@ import java.util.ArrayList; public class DownloadsRecyclerViewAdapter extends RecyclerView.Adapter { private ArrayList