Your comments

This is a problem is quite a bit more complicated than it seems at first. What is happening is that the issues are being sorted by filename alphabetically and in that situation 10, 11, 12, ... come after 1. To fix this the issue number would need to be extracted from the filename and then sorted by the number, in which case you would get the correct ordering. However extracting the issue number can be difficult to consistently (the #s help but what if there a couple without #s?).


I suggest you pad your issue numbers with zeros, i.e. #000 #001 #002, etc. Also be consistent with your naming practices, this will ensure your files are properly sorted.



I meant to come back and make a pull request, just forgot. Sorry!

Glad to have helped. I use your (fantastic) app so I eventually get to benefit too :D.

@Seth So I don't have much experience with Java/Android but since C# is similar here is my GetToken method. I'm just guessing, but I think you aren't retrieving the login page from web interface? The serversalt and servertime are included in the login form.


Hope that helps, I'll keep an eye on the thread if you have any more questions.


Edit: in the snippet I included Client is C# System.Net.Http.HttpClient, it handles web requests, manages basic auth credentials and cookies.

It might be easier just separating out your comic library into "sfk" and "non-sfk". By adding each folder separately and using the user account filtering this should achieve your goal.

I've got the authentication and user api working, one thing I've noticed is that there are no timestamps for the bookmarks. It might be a good idea to include those so that clashes can be handled safely. Obviously not an urgent request.


Some notes for anyone else that wants to implement the api:

POST data required "servertime=<server time>&login=<username>&hash=<hashed password>"

The HMACSHA256 algorithm is performed twice, the first time the key is the password and the message is the serversalt,

the second time the key is the first hash and the message is the servertime.

You seem to be missing the "/opds-comics/" at the end of your url, this is necessary to access the opds feed. So the url you should be using is http://192.168.1.115:2202/ubooquity/opds-comics/.


I am assuming here that you have a reverse proxy set up with the prefix being "ubooquity". If you are using reverse proxy you should be able to omit the port number and just use: http://192.168.1.115/ubooquity/opds-comics/.


Thanks! Take your time, whenever is okay, for now I'm planning on adding a simple theming solution to solve it in the short term. Considering my projects an order of magnitude simpler I already feel like I've undertaken a Sisyphean task can't imagine your situation. On the other hand I've learnt a lot about good design and bug hunting in the last few weeks I can truly say it's worth it.

Sure I don't see any problem in getting out a 32bit version. As for the other requests I've started added Varaint to bitbucket for issue tracking: https://bitbucket.org/Gauntlet-Dev/variant/ so I'll answer those there, I think I've impinged on Tom's hospitality long enough.

I've been a little busy this last week so I kind of put it off a little. I'll sort it out in the next couple of days.