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

Goodreads bookshelf sync #164

Open
jordanlambrecht opened this issue May 30, 2024 · 2 comments
Open

Goodreads bookshelf sync #164

jordanlambrecht opened this issue May 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jordanlambrecht
Copy link

Right now, I have a join goodreads account where my users are able to add requests to a bookshelf. Readarr uses the Import List functionality to scan that bookshelf for changes, and then auto-monitors the content on that shelf. It would be great to have that functionality with Kapowarr.

@jordanlambrecht jordanlambrecht added the enhancement New feature or request label May 30, 2024
@Casvt
Copy link
Owner

Casvt commented May 30, 2024

Do the entries in the list have a CV ID?

@jordanlambrecht
Copy link
Author

It looks like they do. Based on this file, this is how Readarr grabs them:

private List<ImportListItemInfo> FetchPage(int page)
        {
            var list = _listInfo.GetListInfo(Settings.ListId, page);
            var result = new List<ImportListItemInfo>();

            foreach (var book in list.Books)
            {
                var author = book.Authors.FirstOrDefault();

                result.Add(new ImportListItemInfo
                {
                    BookGoodreadsId = book.Work.Id.ToString(),
                    Book = book.Work.OriginalTitle,
                    EditionGoodreadsId = book.Id.ToString(),
                    Author = author?.Name,
                    AuthorGoodreadsId = author?.Id.ToString()
                });
            }

            return result;
        }

@Casvt Casvt changed the title Feature Request: Goodreads bookshelf sync Goodreads bookshelf sync Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants