Giter Site home page Giter Site logo

Comments (7)

Jcros214 avatar Jcros214 commented on June 10, 2024 1

Ok, I think I found what i need.

I generate a token, get the id of the album I want, and hit /api/albums/user/<id>, and response['grouped_photos'] has all the pictures grouped by date.

Awesome project! I look forward to using it, and hopefully contributing to it in the future!

from librephotos.

derneuere avatar derneuere commented on June 10, 2024

All the feature request are in the "librephotos" repository, which contains the backend code :) This request seems similar to this issue here: #294

How does your digital picture frame work? Is it an android based device or is it more like a desktop setup? Do we need a new app for that or can we use the regular frontend for it?

If you need help with setting up the dev environment or on how to implement it, I am happy to help :)

from librephotos.

Jcros214 avatar Jcros214 commented on June 10, 2024

Thanks! This is the same as that issue. The picture frame is just a Raspberry Pi plugged into a display, so regular frontend should work.

How would you recommend setting it up?

Slightly off topic, when I setup the dev environment on my laptop, the instructions say to git clone all the files into the $codedir directory, but it looks like you have to move the other two repos into librephotos-docker/librephotos/code for the containers to start. Is that a documentation issue, or something else?

from librephotos.

derneuere avatar derneuere commented on June 10, 2024

No, all folders should be in one parent folder, like this:

image

Where did you get the information, that it should be in librephotos-docker/librephotos/code? 😅

from librephotos.

Jcros214 avatar Jcros214 commented on June 10, 2024

Well, nowhere, but when I started the container, the backend kept restarting because Django couldn't access code files, and it looked like the other repos had those files.

What should the value of code dir be in .env? ../ ?

from librephotos.

derneuere avatar derneuere commented on June 10, 2024

The value of code dir should be the path of parent folder where all the code folders are. In my case it is /home/librephotos :)

from librephotos.

Jcros214 avatar Jcros214 commented on June 10, 2024

Ok, I'll come back to the codedir thing in another issue later. I assume it was an issue with the way I set it up or something.

For the slide show, I think the easier implementation in my case (because there is some more custom stuff I want to do with the same app instance) is to just use a light flask server to actually run the slide show.

I see that the /api/ is available on the production server, so that should be pretty straightforward.

Can you point me to a way to get an album's photos given it's ID?

I found /api/albums/user/shared/tome/, which gives me the ID I need, but I don't see any endpoints that give a list of pictures. If one does not exist, how does the frontend display them?

from librephotos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.