Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Playlist duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
7sco committed Apr 22, 2019
2 parents b8edb12 + 546c912 commit c03f06f
Show file tree
Hide file tree
Showing 240 changed files with 1,552 additions and 1,603 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ fastlane/test_output

# Google Play files
fastlane/metadata/

Gemfile.lock
148 changes: 0 additions & 148 deletions Gemfile.lock

This file was deleted.

13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@

![Screenshots](./art/art.jpg?raw=true)

<a href="https://play.google.com/store/apps/details?id=com.kabouzeid.gramophone">
<img height="50" alt="Get it on Google Play"
src="https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png" />
</a>



[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/com.kabouzeid.gramophone/)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"
alt="Get it on Google Play"
height="80">](https://play.google.com/store/apps/details?id=com.kabouzeid.gramophone)
85 changes: 38 additions & 47 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
import javax.annotation.Nullable

buildscript {
repositories {
mavenCentral()
}

dependencies {
//noinspection GradleDynamicVersion
classpath 'com.jakewharton.hugo:hugo-plugin:1.2.1'
}
}

apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.hugo'

static def gitBranch() {
def branch = 'GitHub'
Expand Down Expand Up @@ -46,18 +34,18 @@ static def getProperty(@Nullable Properties properties, String name) {
}

android {
compileSdkVersion 27
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 27
targetSdkVersion 28

renderscriptTargetApi 27
renderscriptTargetApi 28
vectorDrawables.useSupportLibrary = true

applicationId 'com.kabouzeid.gramophone'
versionCode 167
versionName '1.2.0'
versionCode 170
versionName '1.3.0'
}
signingConfigs {
release {
Expand Down Expand Up @@ -99,27 +87,25 @@ android {
}
}

ext {
supportLibVersion = '27.1.1'
}

dependencies {
implementation "com.android.support:support-compat:$supportLibVersion"
implementation "com.android.support:support-core-utils:$supportLibVersion"
implementation "com.android.support:support-core-ui:$supportLibVersion"
implementation "com.android.support:support-media-compat:$supportLibVersion"
implementation "com.android.support:support-fragment:$supportLibVersion"
implementation "com.android.support:support-v13:$supportLibVersion"
implementation "com.android.support:appcompat-v7:$supportLibVersion"
implementation "com.android.support:recyclerview-v7:$supportLibVersion"
implementation "com.android.support:gridlayout-v7:$supportLibVersion"
implementation "com.android.support:cardview-v7:$supportLibVersion"
implementation "com.android.support:palette-v7:$supportLibVersion"
implementation "com.android.support:design:$supportLibVersion"
implementation "com.android.support:support-annotations:$supportLibVersion"
implementation "com.android.support:percent:$supportLibVersion"
implementation "com.android.support:preference-v7:$supportLibVersion"
implementation "com.android.support:preference-v14:$supportLibVersion"
implementation 'androidx.core:core:1.0.1'
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'androidx.media:media:1.0.1'
implementation 'androidx.fragment:fragment:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.palette:palette:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.annotation:annotation:1.0.2'
implementation 'androidx.percentlayout:percentlayout:1.0.0'
implementation 'androidx.preference:preference:1.0.0'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

implementation 'com.github.kabouzeid:app-theme-helper:1.3.10'
implementation 'com.github.kabouzeid:RecyclerView-FastScroll:1.0.16-kmod'
implementation 'com.github.kabouzeid:SeekArc:1.2-kmod'
Expand All @@ -128,20 +114,25 @@ dependencies {
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
implementation 'com.afollestad:material-cab:0.1.12'
implementation 'com.github.ksoichiro:android-observablescrollview:1.6.0'
implementation 'com.heinrichreimersoftware:material-intro:1.6'
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2'
implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.11.0@aar') {
transitive = true
}

implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'

implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.google.code.gson:gson:2.8.5'

implementation 'com.anjlab.android.iab.v3:library:1.0.44'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'
implementation 'de.psdev.licensesdialog:licensesdialog:2.0.0'

implementation 'com.github.bumptech.glide:glide:3.8.0'
implementation 'com.github.bumptech.glide:okhttp3-integration:1.5.0'
implementation 'com.heinrichreimersoftware:material-intro:1.6.2'
implementation 'me.zhanghai.android.materialprogressbar:library:1.4.2'
implementation 'org.eclipse.mylyn.github:org.eclipse.egit.github.core:2.1.5'
implementation 'com.jakewharton:butterknife:8.8.1'

implementation 'com.github.AdrienPoupa:jaudiotagger:2.2.3'
implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.11.0@aar') {
transitive = true
}
implementation 'com.google.code.gson:gson:2.8.2'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
12 changes: 6 additions & 6 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.kabouzeid.gramophone"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.kabouzeid.gramophone">

<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand All @@ -18,8 +18,8 @@
android:name=".App"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Phonograph.Light"
tools:ignore="UnusedAttribute">
Expand Down Expand Up @@ -204,13 +204,13 @@
</receiver>

<provider
android:name="android.support.v4.content.FileProvider"
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
android:resource="@xml/provider_paths" />
</provider>
</application>

Expand Down
10 changes: 10 additions & 0 deletions app/src/main/assets/phonograph-changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@

<p>You can view the changelog dialog again at any time from the <i>about</i> section.</p>

<h3>Version 1.3.0</h3>
<ol>
<li><b>NEW:</b> Show more information of songs, albums and artists</li>
<li><b>NEW:</b> Option to finish last song in sleep timer</li>
<li><b>NEW:</b> Support for Android Pie</li>
<li><b>NEW:</b> Option for last 7 days for recently played</li>
<li><b>FIX:</b> Artist images not loading</li>
<li><b>IMPROVEMENT:</b> Sync translations</li>
</ol>

<h3>Version 1.2.0</h3>
<ol>
<li><b>NEW:</b>Support for devices with a notch</li>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/kabouzeid/gramophone/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import android.app.Application;
import android.os.Build;
import android.support.annotation.NonNull;
import androidx.annotation.NonNull;

import com.anjlab.android.iab.v3.BillingProcessor;
import com.anjlab.android.iab.v3.TransactionDetails;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.kabouzeid.gramophone.adapter;

import android.annotation.SuppressLint;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.ItemTouchHelper;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.kabouzeid.gramophone.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down
Loading

0 comments on commit c03f06f

Please sign in to comment.