Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last played item #2

Open
Valkyr-JS opened this issue Jun 13, 2024 · 4 comments
Open

Last played item #2

Valkyr-JS opened this issue Jun 13, 2024 · 4 comments
Labels
blocked Issue depends on another issue being fixed first feature New feature

Comments

@Valkyr-JS
Copy link
Owner

Create a metadata item displaying the last scene played by the user that features the performer, including a timestamp.

@Valkyr-JS Valkyr-JS added the feature New feature label Jun 13, 2024
@Valkyr-JS Valkyr-JS self-assigned this Jun 13, 2024
@Valkyr-JS
Copy link
Owner Author

Cannot be implemented until play_history is made available in queries. Have raised at stashapp/stash#4510 (comment)

@Valkyr-JS Valkyr-JS changed the title [Feature] Last played item Last played item Jun 17, 2024
@feederbox826
Copy link

already available in develop

query FindScenes {
    findScenes(
        filter: { sort: "last_played_at", per_page: -1, direction: DESC }
        scene_filter: { performers: { value: #, modifier: INCLUDES } }
    ) {
        scenes {
            play_history
            id
            last_played_at
        }
    }
}

@Valkyr-JS
Copy link
Owner Author

Weirdly neither play_history or last_played_at are returned via the plugin API, even though I can see it returned in the playground. See my console log of your query via the plugin.

image

@feederbox826
Copy link

odd....

@Valkyr-JS Valkyr-JS added the blocked Issue depends on another issue being fixed first label Jun 19, 2024
@Valkyr-JS Valkyr-JS removed their assignment Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issue depends on another issue being fixed first feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants