|
Post by w3wilkes on Aug 19, 2022 18:22:44 GMT -5
First post in these forums and first day with GoneMad 3.3.10 trial player.
I do not see a way to see recently added albums, songs or folders by File System date/timestamp. For instance I just installed the GoneMad trial player because I'm comparing to PowerAmp because Poweramps method of playing music doesn't work for me other than using its Queue. Since my music was already on my SD Card "Smart" -> "Recently Added" basically shows all my music in the order the scanner saw it.
I don't know how you all organize your music, but for me it's hierarchical folders like this;
Music Root Album Artists <like "The Beatles"> Albums <each album in its own folder> Songs Various Compilation Albums Sound Tracks Sound track albums Playlists are in the Root folder
I would think that Recently Added could be added to the "hamburger" menu and then use the current view as the context. The views that this would apply to would be Albums, Songs and Folders. Perhaps a fixed number of 100 or a user defined number and put in newest to oldest order. This would probably require adding System date/timestamps to the database.
I will mention that for me at home the gold standard of music players is Logitech Media Server (LMS) which is available FREE (Open source) for almost all OS's except android and iOS. This is what I use for my home stereos.
|
|
|
Post by GoneMAD on Aug 19, 2022 18:55:03 GMT -5
go to the "smart" view and click on the 'recently added' smart playlist
|
|
|
Post by w3wilkes on Aug 19, 2022 21:53:26 GMT -5
go to the "smart" view and click on the 'recently added' smart playlist When I do that it brings up the list in the order of the time the scanner picked up the file. What would be a good "option" is if the scanner used the filesystem last modified date (for file systems/android versions that support it) for tracks and folders (Albums). My master library is on a PC with multiple copies. If the scanner used the last modified file system timestamp both my Android library and master library would agree on Recent additions. Thanks for the consideration!
|
|
|
Post by GoneMAD on Aug 19, 2022 23:14:43 GMT -5
go to the "smart" view and click on the 'recently added' smart playlist When I do that it brings up the list in the order of the time the scanner picked up the file. What would be a good "option" is if the scanner used the filesystem last modified date (for file systems/android versions that support it) for tracks and folders (Albums). My master library is on a PC with multiple copies. If the scanner used the last modified file system timestamp both my Android library and master library would agree on Recent additions. Thanks for the consideration! Initial/first scan DOES use the last modified date as date added. Anything scanned after the initial scan is assumed to be newly added to the device. If you didnt have your scan paths set up correctly on the first scan i can see how that would get all messed up. you can simply delete the database and rescan and it should use the last modified date as the date added for everything picked up on that next scan edit: and just to clarify.. gmmp scans this way because you can transfer new music to your device that maintains the same modified date as your pc. its new to the phone but the last modified date on my pc was 4 years ago. that should fall under recently added.
|
|
|
Post by w3wilkes on Aug 20, 2022 8:41:05 GMT -5
I did try deleting the database and rescanning and the Recently added albums is empty since the last album I added was on July 18,2022 which is longer ago than the "Last 14 days" so it should be empty.
I then created a new Smart called Recent Albums With;
Name = Recent Albums Date Added - DESC Limit - 100
Rule that says Album doesn't begin with "000"
The result is the most recently "scanned" 100 albums which were just scanned after deleting the database and rescanning. If this Smart list were using the filesystem timestamp the first album in the list should be "The Bros Landreth - Let it Lie" which I added July 18, 2022. I would guess that if I could create a rule that says "Use filesystem timestamp" it would list my most recently added 100 albums regardless of when they were added.
The recently added rule is where I see my issue. The rule says "Date Added Newer Than 14 Days". What I was thinking would be a Smart list in Descending (DESC) Filesystem modified date timestamp for Albums limited to let's say 100 and then no rule or a rule that just says "Use filesystem timestamp". This way if I added an album let's say once a week, every week the list would contain the most recently added 100 Albums without being restricted to the last 14 days.
|
|
|
Post by GoneMAD on Aug 20, 2022 11:49:12 GMT -5
I did try deleting the database and rescanning and the Recently added albums is empty since the last album I added was on July 18,2022 which is longer ago than the "Last 14 days" so it should be empty. I then created a new Smart called Recent Albums With; Name = Recent Albums Date Added - DESC Limit - 100 Rule that says Album doesn't begin with "000" The result is the most recently "scanned" 100 albums which were just scanned after deleting the database and rescanning. If this Smart list were using the filesystem timestamp the first album in the list should be "The Bros Landreth - Let it Lie" which I added July 18, 2022. I would guess that if I could create a rule that says "Use filesystem timestamp" it would list my most recently added 100 albums regardless of when they were added. The recently added rule is where I see my issue. The rule says "Date Added Newer Than 14 Days". What I was thinking would be a Smart list in Descending (DESC) Filesystem modified date timestamp for Albums limited to let's say 100 and then no rule or a rule that just says "Use filesystem timestamp". This way if I added an album let's say once a week, every week the list would contain the most recently added 100 Albums without being restricted to the last 14 days. "The result is the most recently "scanned" 100 albums which were just scanned after deleting the database and rescanning. If this Smart list were using the filesystem timestamp the first album in the list should be "The Bros Landreth - Let it Lie" which I added July 18, 2022. I would guess that if I could create a rule that says "Use filesystem timestamp" it would list my most recently added 100 albums regardless of when they were added." its sorting by the date added field which is the last modified date from the filesystem assuming they were scanned in on the initial scan, otherwise it would be the clock time during the scan. I dont have access to your file system clearly so i cannot comment on your specific situation.. but i'm telling you what the code does. Here is the code if you dont believe me (lastScanTime gets set to 0 when you delete the database or just installed the app): private fun calculateDateAdded(lastModifiedDate: Date) : Date { return if (lastScanTime > 0) Calendar.getInstance().time else lastModifiedDate }
Smart playlists are backed by database queries, they cannot access the file system, so they use whatever is in the database. Regardless, once you have everything initially scanned in.. anything newly added to the device will show up in the recently added lists
|
|
|
Post by w3wilkes on Aug 20, 2022 12:44:25 GMT -5
My file system is exFAT which shows both Created date and lastModifiedDate when viewed in Windows Explorer on a 256GB MicroSD card.
I understand that Smart Playlists cannot access the file system. My hope was that the scanner would have the option to always use the lastModifiedDate.
To list "Recently added" albums in Poweramp I made the "Folders" item sort descending in "By date added/modified" using file system date/time which Poweramp saves to the database during a full library scan. I did it this way because Poweramp's "Recently added" only works correctly for songs.
|
|
|
Post by GoneMAD on Aug 20, 2022 13:57:03 GMT -5
|
|
|
Post by w3wilkes on Aug 20, 2022 23:43:34 GMT -5
Okay then, it must be a problem with Android 9 on a moto x4 and your app. Your app does not see my microsd sd card by itself. I had to manually enter it as "/storage/0000-0000/MP3 Music" and GoneMAD was finally able to see and scan my phone's music folder. As an aside, Poweramp seems to be able to see my recently added (per my definition) songs/albums based on filesystem timestamp. I'm sure they put it in their DB when the music library folder(s) are scanned.
|
|