diff --git a/playmusicexporter/playmusicexporter.iml b/playmusicexporter/playmusicexporter.iml index 168f989..beffcb2 100644 --- a/playmusicexporter/playmusicexporter.iml +++ b/playmusicexporter/playmusicexporter.iml @@ -62,13 +62,6 @@ - - - - - - - @@ -76,6 +69,13 @@ + + + + + + + diff --git a/playmusicexporter/src/main/java/re/jcg/playmusicexporter/settings/PlayMusicExporterPreferences.java b/playmusicexporter/src/main/java/re/jcg/playmusicexporter/settings/PlayMusicExporterPreferences.java index e4a1610..abe711c 100644 --- a/playmusicexporter/src/main/java/re/jcg/playmusicexporter/settings/PlayMusicExporterPreferences.java +++ b/playmusicexporter/src/main/java/re/jcg/playmusicexporter/settings/PlayMusicExporterPreferences.java @@ -4,6 +4,7 @@ package re.jcg.playmusicexporter.settings; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; +import android.os.Environment; import android.preference.PreferenceManager; import re.jcg.playmusicexporter.fragments.NavigationDrawerFragment; @@ -27,7 +28,8 @@ public class PlayMusicExporterPreferences { //TODO Split Export Paths in export prefs, this won't work else. private static final String ALBA_EXPORT_PATH = "preference_alba_export_path"; private static final String GROUPS_EXPORT_PATH = "preference_groups_export_path"; - private static final String URI_DEFAULT = Uri.EMPTY.toString(); + private static final String URI_DEFAULT = Uri.fromFile( + Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC)).toString(); private static final String AUTO_EXPORT_STRUCTURE = "preference_auto_export_structure"; private static final String ALBA_EXPORT_STRUCTURE = "preference_alba_export_structure"; diff --git a/playmusicexporter/src/main/res/values/strings.xml b/playmusicexporter/src/main/res/values/strings.xml index f402eef..fcb6ba9 100644 --- a/playmusicexporter/src/main/res/values/strings.xml +++ b/playmusicexporter/src/main/res/values/strings.xml @@ -72,7 +72,7 @@ Export conditions Export path and subdirectory structure Debug - Export location alba + Export location albums Export location groups @@ -87,7 +87,7 @@ Off means that the automatic export uses the same export path as manual album exports. Export path Use a different subdirectory structure - Off means that the automatic export uses the same subdirectory structure as alba. + Off means that the automatic export uses the same subdirectory structure as albums. Subdirectory structure Export Location @@ -95,7 +95,7 @@ Use / for a new folder \n Available Tags: \n - {album-artist} \n - {album} \n - {artist} \n - {title} \n - {disc=CD $} \n - {no=$$.} \n - {year} \n - {genre} \n - Export path for alba + Export path for albums Subdirectory structure for albums Set your subdirectory structure Example: Beatles/Help!/13. Yesterday.mp3