Comments (4)
I'll take a look at this over the weekend. As far as getting rid of _ts2milli, I'd much rather fix it. I'd rather not adhere to Java's "everything in milliseconds" bullshit. It's an anti-convention and I'd rather have an API that adhere's to actual conventions rather than stupid, made up crap like Java does. I will gladly fix issues, but never in a million years will I go the lazy route of just using the Java "convention". Unix time is number of seconds since the epoch, not milliseconds since the epoch.
from py-sonic.
basilfx: I want to make it clear that I do appreciate your raising of this issue, and none of the vehemence in that previous comment is directed at you in any way. I just really hate Java.
from py-sonic.
Thanks for looking into this :-)
from py-sonic.
basilfx: I've got a fix in, currently on the subs_53 branch, that just translates the return value to a proper unix timestamp. Feel free to grab that branch and play with it if you would like. It's lumped in with some API updates to correspond with the subsonic 5.3 release. Once I get the rest of the changes tested, I'll roll all this into master and do a proper release.
from py-sonic.
Related Issues (18)
- Failure to install via pip - No module named 'connection' HOT 5
- pip install crashes HOT 1
- Unable to connect to subsonic install behind nginx proxy/redirect HOT 1
- Fallback to pre-1.13.0 authentication when not supported HOT 13
- 'size' arguments doesn't work in getAlbumList2() HOT 5
- Have library handle server api version mismatch
- Search artists and albums returns IDs that cannot be used for getArtist(), and getAlbum(). HOT 3
- res.info().getheader('Content-Type') gives error "'HTTPMessage' object has no attribute 'getheader'" HOT 2
- req: merge in python3 support + new release HOT 3
- Pip install fails HOT 1
- Compatibility with Airsonic HOT 3
- getSong() returns list instead of dict HOT 1
- Issues returning anything from Airsonic server HOT 10
- has_data does not exist HOT 1
- Scrobble does not support 'time' HOT 3
- Misleading parameter baseurl HOT 3
- Support for registered subsonic addresses HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-sonic.