-
Posts
2,510 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Downloads
Poweramp Knowledge Base
База знаний Poweramp
Poweramp知识库
Poweramp Equalizer Knowledge Base
База знаний Poweramp Equalizer
Store
Events
Ideas
Posts posted by flyingdutchman
-
-
@ihaspei 15 minutes of fine tuning
hide waveseek, ratings/like, menu button (in Poweramp ui menu)
reduce albumart size
set circles for play buttons, buttons to 0
set backgrounds of buttons and play buttons to transparent.
navbar background transparent
resize play buttons and space them as you like it
hide the category icon
You can now even change the colours of the play buttons, navbar icons, button icons, change colours of seekbar and lapsed seekbar
and so on.
The options are endless.
I hope this helps
-
@ihaspei great stuff. Yes, the other skins offer "default" options with little opportunity to customise.
I think you can achieve what you want eg set background to black or preferred colour, for play buttons set background to transparent. To remove circles, reduce thickness to 0. There are options to choose which circles. In addition you could investigate the different play buttons on offer.
select your preferred seekbar and set your own colours for lapsed and remaing parts. Size the seekbar thumb, pick colour for seekbar thumb.
hide track meta information, hide elapsed and duration. Set disabled icons colour to some opaque colour.
Do let me know how you get on.
Ps i will have a go at creating the look when i get the chance
You can email me your skin settings so I can approximate your preferences better. SSettings>Export Settings>3rd party skin settings
-
@ihaspei YAPS allows you to move items on your main UI. Only YAPS allows you to do this and a lot more
-
Investigated @slizzap 's request and I do not think it is possible to set an overlay without overlaying the text too.
The best I can offer is setting both track and album/artist colour to grey_400_opaque which gives this result as an example
It is highly unlikely that there is an album cover out there where the whole cover has only this colour.
-
I realised we covered this previously. If there are any screenshots of existing skins that show a white album cover with album blur on AND readable white text i would be interested to see an example.
-
@slizzap did you try any of the other landscape "car" layouts?
ps I will style those 10s forward backward buttons as they seem to have been missed
-
@slizzap or set some opaque background on the album/artist/track text. There are plenty to choose from
-
6 hours ago, slizzap said:
Hey guys,
I know this has been brought up before, but I don't recall if it was stated whether this could be fixed or not. Is it possible that a setting can be added to fix/adjust this? Any album that has a white cover, the white text for the track/artist/album info gets completely lost. Sorry if I'm beating a dead horse here. Obviously I'm reminded every time a song plays from an album with a white or extremly bright cover.
The only way for the text to show is to set a colour.
-
I have decided to unpublish the BIG YAPS as I am totally fed up with having to jump through all sort of ridiculus google hoops to get the new version published.
Anybody who is interested can email me (please do not post your email here) and I will provide a link so you can download the .apk.
Email in the signature
-
@Pumila to just see logcat relating to your app set the log level as in general you are not interested in all the other messages.You can click on the litte icon for options
As for the Manifest, as far as I know you should have only 1
<action android:name="android.intent.action.MAIN" />
Remember I am not an expert in using Studio. Most help and solutions I get from StackOverflow
-
@Pumila works fine for me
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 1
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 1
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0
2023-08-13 11:09:39.091 25397-25397 PlayCount com...ngdutchman.newplaylistmanager D 再生回数: 0I would run your methods from the MainActivity
add to the top
private final PlayCount playcount = new PlayCount();
(it should ask you to import the class)
playcount.queryPowerampData(mContext);
If you want to execute operations on the returned data you could do this within the do.. while loop
-
@Squeller i would have to recreate new bitmaps for each colour for which i do not have the time.
I can do it for 1 colour if it helps
-
@Squeller looks like you swapped the volume slider for the seekbar. this is an option
-
Latest BIG YAPS release is out. It is based on the latest YAPS release V230.
It has most of the functionality you will find in YAPS but it has a customised front UI portrait and landscape layout.
The ideal skin for use in car in either orientation.
As with YAPS you can move most elements on the UI to where you like them.
Try it out !! it is free
Love to hear your comments!!
-
@Pumila you are on the right track
in my example I have predefined the columns used for the projection. You do not show these so I cannot tell if your query actually works.
For play count I have done the following
defined my variable "folder_files_played_times" and assigned the folder_files.played_times
public String folder_files_played_times = "folder_files.played_times as count_of_played";
When you run this query and it returns values, there will be a column called count_of_played
Iterating over the cursor you find out which column it actually is
integer column_number_count = cursor.getInt(cursor.getColumnIndex("count_of_played"));
then you can get the string value or int value
int cnt = cursor.getInt(column_number_count);
for only 1 column you could use the hard coded approach
int cnt = cursor.getInt(0);
Some additional points
Cursor.Movefirst to go to the beginning
Cursor.getCount() to check if you actually have something. Any operations with a cursor which is null will give you a crash
Set breakpoints and run in debug mode. It will allow you to investigate values
-
@Darth as it happens, my app Music Playlist Manager can do what you suggest. It has an option "Reverse order of playlist"
-
1 hour ago, Pumila said:
MediaSessionCompat
this appears to be related to playing tracks. You are more interested in using the Poweramp API.
I assume you are using Android Studio.
Create your new project
Get the Poweramp API from Github and add it to your project structure
now have a good look at the section with uri;'s as these are the things that give you access to the databse
/** * Data:<br> * - uri, following URIs are recognized:<br> * - file://path (NOTE: depending on Android version, uris like this can fail due to missing filesystem permissions)<br> * - content://com.maxmpz.audioplayer.data/... (see below)<br><br> * - any other content:// uri compatible with ContentResolver.openFile<br> * - http/https url (stream or remote track file)<br><br> *......etc for example
public final Uri powerampuri = Uri.parse("content://com.maxmpz.audioplayer.data/files"); // powerampfoldersuri =SELECT folder_files._id FROM folder_files //INNER JOIN folders ON folders._id=folder_id //INNER JOIN albums //ON albums._id=folder_files.album_id //INNER JOIN artists ON artists._id=folder_files.artist_id
Cursor test = cr.query(powerampuri, null, null, null, null);
below will return the content of the composer table
pcursor = pamp.get_table_content(context, pamp.composersuri, proj, null, null, null);
public Cursor get_table_content(Context context, Uri table_uri, String[] proj, String where, String[] sel_args, String order_by) { Cursor cursor = null; if (context != null) { ContentResolver cr = context.getContentResolver(); try { cursor = cr.query(table_uri, proj, where, sel_args, order_by); } catch (Exception e) { e.printStackTrace(); } } return cursor; }
-
@Pumila best to communicate by email as this is not really Poweramp related
-
@Pumila you create playlists by selecting the relevant "times Played" The + button at the top will ask you for a playlist name.
The table is accessed by using the api (https://github.com/maxmpz/powerampapi/tree/master/poweramp_api_lib) which is what Music Playlist Manager does.
You cannot access it directly.
If you are into java programming
public Cursor getPowerampTrackcursor(Context context, String where, String sort_order) { String[] proj = {pamptrack_id, pamptrack_name, pampalbum, pampartist, pamprating, pampduration, pamppath, pamptimes_played}; try { Cursor cursor = context.getContentResolver().query(powerampuri, proj, where, null, sort_order); return cursor; } catch (Exception e) { e.printStackTrace(); } }
this is what it actually does
SELECT folder_files._id, folder_files.name AS name, folder_files.artist_id AS artist_id,duration, rating, artists.artist, albums.album, folders.path FROM folder_files INNER JOIN folders ON folders._id=folder_id LEFT JOIN albums ON albums._id=folder_files.album_id LEFT JOIN artists ON artists._id=folder_files.artist_id WHERE (folder_files.cue_folder_id IS NULL) ORDER BY folder_files.title_tag COLLATE NOCASE
Uri powerampuri = PowerAMPiAPI.ROOT_URI.buildUpon().appendEncodedPath("files").build();
String[] proj ={ pamptrack_id, pamptrack_name, pampartist,pampduration,pampalbum, pampyear, pamppath, pamptrack_no,pamprating };
-
@Pumila my app (and other apps with android 10 and above) cannot access folders that belong to another app unless google has allowed this eg file managers. Not sure why you would want access. You get access through the api whch is available on github
-
@Pumila it also needs permissions to read playlist_manager AND your music folders of course. Please read the initial instructions carefully
-
@andrewilley this post shows the main table. There are severalcolumns which could be used
-
@Jean-Jacques Herve Music Playlist Manager can give you a ratings breakdown of your complete music collection. You then create a playlist(s) by selecting the tick boxes. Below an example of one of my test devices
-
@andrewilley MPM has a "Smart Playlist" option. First build your query eg Ratings > 2 AND < 5 AND Times Played <> 0, save it and create a new playlist by running it.
Next, reload the query and link it to the new playlistyou just created, save it.
There are 2 options for updating the playlist a) set it to run each time you load the app or click the menu option to update the smart playlists. If you have more than one smart playlist, it will work through all of them.
Skin Layout with artwork in the middle
in Skins and Visualizations
Posted
@ihaspei not sure what the bug is supposed to be