salts633 / PhotoFrame

A python/browser based digital photo frame
GNU General Public License v3.0
0 stars 1 forks source link

Allow users to choose photo album to display #4

Closed salts633 closed 4 years ago

salts633 commented 4 years ago

Currently the required album must be set in the config file, it would be better in the users could select it in the web interface.

The gold solution would be for users to be able to select a number of albums and for the code to select photos randomly from all of them. In this case the code probably should only record each photo once, i.e. if a photo is in two albums it should not be twice as likely to be chosen. This can probably be achieved by storing the ids from the google api in a set.

salts633 commented 4 years ago

For milestone 0.1.0 choosing a specific album will be enough, #6 will extend this to multiple albums.

salts633 commented 4 years ago

Added suport for an album list in bfd0ecf76609658d9fde378c5c244b8b32f1cd26...1de7a4bf7bdc09e4b71ed910f12924f30c867d7e. This saves the list of albums in the photo manager and settings, and also writes it to the socket. The javascript side of things however will wait until after #13.

salts633 commented 4 years ago

Working as of commit daf521cd80dc00ba4322d7d4bf29ae2ff1b90203, it was being slightly temperamental though so there bay be a bug I've not managed to track down.