Rockbox General > Rockbox General Discussion

Question on "entryage"

<< < (2/4) > >>

quad:
ah hm. so you mean, rockbox also don't show the last 15 albums, when i try this:

album ? entryage < "15" & commitid > "0" -> title = "fmt_title"

whatever.

what i don't get to work is following ... i would appreciate a feature, what shows me the last 15 (or "x") copied albums to the device.

for example these are the last 15 albums i copied to the device:

artist1 - albumA
artist1 - albumB
artist1 - albumC
artist2 - albumA
artist2 - albumB
artist3 - albumA
artist4 - albumA
artist4 - albumB
artist4 - albumC
artist4 - albumD
artist5 - albumA
artist6 - albumA
artist6 - albumB
artist7 - albumA
artist8 - albumA

as you can see, sometimes 2 or 3, maybe 4 albums of one artist.

when i now copy 2 new albums to the device, the view should kick out albumA and albumB of artist1.

as i posted before, i tried this:

artist ? entryage < "15" & commitid > "0" -> album -> title = "fmt_title"

... but looks like, that doesn't work corectly. in versions weeks ago, it works not corectly (sometimes it showed the last 12, sometimes the last 30). in the lastest build it doesn't show any change in this view, when i copy new albums to the device.

do you know now what i mean?

GodEater:
How would Rockbox *know* which were the last 15 items you've copied over the device are? I think this is the bit you're missing.

quad:
hm. then can you explain me the "entryage"-thing? really i don't get it. i programm dbs every day at work. it's a normal query to ask for "last 15 entries". thought "entryage < 15" is like this.

GodEater:
Let me try to explain via an example.

You have a cupboard where you keep stuff, you know what's in it.

You go out for the day, and while you're gone, I put 30 new items into your cupboard.

You come home, open your cupboard, and look inside. Which were the last 15 items I placed in there ?

You have no way of knowing, because you weren't there when I did it. All you know is that there are now 30 new items in there - you have no idea in what order they were placed there.

That's what's going on with the database - you plug in USB, Rockbox goes to sleep, when it wakes up again and you update the database, there will be new stuff in it, but there's no way for Rockbox to know in what order you placed those items on the storage device. "entryage" can only start going up once the item is already *in* the database.

quad:
great, that was a rockbox-db-for-dummies answer -- and i get it! thanks, man. sad, that there is no real "db query function" for the music-db. maybe in next versions... ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version