Since there happened a _lot_, I'll just outline the major changes:
- Completely reworked the UI
- Even simpler setup; Configuration can be done directly in the browser on first start.
- Backward compability to python 2.6+ (not interesting for arch users, but anyway)
- A lot lot lot more.
Full changelog is here:
http://fomori.org/cherrymusic/#changes
Screenshots and some more documentation are provided on project website:
http://fomori.org/cherrymusic/
You can get the newest release from the AUR:
https://aur.archlinux.org/packages/cherrymusic/
To get started you can simply start CherryMusic like so:
$ python cherrymusic --setup --port 8080
and then open your browser:
$ firefox localhost:8080
Please report any bug you find at http://github.com/devsnd/cherrymusic/issues thanks!
]]>Changes (summary):
- Faster DB updates (use --update switch to trigger update)
- Improved search (allows partial search terms)
- Exporting playlists as M3U or PLS
- Show playtime of tracks and the playlist
- Experimental: live transcoding for ultimative browser support
- many bug fixes and more features, see changelog
To get all new configuration options, run
$ cherrymusic --newconfig
This will create a ~/.cherrymusic/config.new file with all available configuration options.
[120923-11:30] WARNING : python library "stagger" not found! There will be no ID-tag support! [120923-11:28] WARNING : python library "audioread" not found! Audio file length can't be determined without it!
So, I installed stagger and the warning disappeared. As for audioread, is it written in python 2 or 3? I made a PKGBUILD for python2 as there is no pkg in AUR. Building it with python3 I get some SyntaxError: invalid syntax while building. Maybe you should add those two packages as optdepends.
EDIT
Well, it seems that the songs are loaded in the playlist after all. The message I mentioned above keeps popping each time I add a song to the list, though.
The optional dependencies should be working now in the devel branch of the sources at github. But you are right: audioread is actually python2 and i ported some, but not all of it to python 3. So i guess it will be integrated into CherryMusic anyway.
Anyway, those packages will be optdepends: But I really would like the user to notice, that they will miss out a lot, if they don't install them, because the next release will have ID3 indexing... but only if stagger is installed.
]]>mp3 plays okay, flac doesn't seem to be working (that's probably why you haven't included it in the default file list). I'm guessing that the flashplayer doesn't support this?
right.
]]>Hi, using latest git on firefox 15.0.1. I can't seem to play any songs (mp3 tested). There bumps this (not so helpful) message:
I'm sorry, but this is an error message... It indicates an error... *sigh* Sorry, it's just... my whole purpose of existance is to give bad news. It's frustrating. Would you mind just clicking 'ok' and leave me alone?
I use the default config.[...]
This is a bug in the newest devel branch, see this bug report.
PS: When it starts for the first time it says:
[120923-11:30] WARNING : python library "stagger" not found! There will be no ID-tag support! [120923-11:28] WARNING : python library "audioread" not found! Audio file length can't be determined without it!
So, I installed stagger and the warning disappeared. As for audioread, is it written in python 2 or 3? I made a PKGBUILD for python2 as there is no pkg in AUR. Building it with python3 I get some SyntaxError: invalid syntax while building. Maybe you should add those two packages as optdepends.
you are using the unstable devel-branch from github, which is under heavy development right now. the above startup error you get is because of the developers "[...]first steps of optional dependencies[...]". see this bug report.
so right now, there is no need to make a new PKGBUILD and include (or install) these newly (not fully introduced) optional dependencies into the PKGBUILD. as soon as the optional dependencies are fully implemented and actually used, the PKGBUILD in AUR will be updated.
for now, you can use version 0.2 from the stable master branch until these bugs get fixed (which is probably very soon). its also in AUR.
EDIT:
you said you use the default config. besides the bugs, you need to at least edit the path to your music directory (just in case you didnt).
]]>I'm sorry, but this is an error message...
It indicates an error... *sigh*
Sorry, it's just... my whole purpose of existance is to give bad news.
It's frustrating.
Would you mind just clicking 'ok' and leave me alone?
I use the default config. Here's the server.log. Clearing cache doesn't help.
[23/Sep/2012:11:17:46] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
[23/Sep/2012:11:20:25] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
[23/Sep/2012:11:20:48] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
PS: When it starts for the first time it says:
[120923-11:30] WARNING : python library "stagger" not found!
There will be no ID-tag support!
[120923-11:28] WARNING : python library "audioread" not found!
Audio file length can't be determined without it!
So, I installed stagger and the warning disappeared. As for audioread, is it written in python 2 or 3? I made a PKGBUILD for python2 as there is no pkg in AUR. Building it with python3 I get some SyntaxError: invalid syntax while building. Maybe you should add those two packages as optdepends.
EDIT
Well, it seems that the songs are loaded in the playlist after all. The message I mentioned above keeps popping each time I add a song to the list, though.
hellomynameisphil wrote:Exciting! Looking forward to trying this.
EDIT: For me on Firefox, when I am on the playlist page, the stop button doesn't stop and the pause button doesn't pause. The pause button does nothing and the stop button restarts the playing track. The behaviour is the same whether or not the loop button is on.
What version of firefox are you using? I cant reproduce this behaviour on mine (15.0.1)...
Ah, seems like it's the vimperator plugin which is somehow causing this. Disabling it seems to fix the issue.
]]>Ah, i guess I know why. You probably have some kind of flashblock enabled: This lets the client wait for the swf to load infinitively. We haven't found a workaround for that as of now. At least in firefox you can add "localhost" to you flashblock whitelist.
That's it! Maybe a notification would be a nice idea to inform the user about this?
Edit: your website says that "By default it uses HTML5 for music playback and supports flash as fallback.", i should be able to play html5...
If thats not it, it could be related to the filetype you are trying to play. Which one is it?
mp3 plays okay, flac doesn't seem to be working (that's probably why you haven't included it in the default file list). I'm guessing that the flashplayer doesn't support this?
]]>Yes I reloaded the page.
Try deleting the browser cache to resolve it. I will open an issue for that, because i see that clearing the cache isn't really a viable solution.
Also, if you mistyped the theme name, it will use the default one.
I'm also having a few problems unfortunately, the main one being that pressing play doesn't start playback. :)
This is using the devel version and either Chromium or Firefox, no javascript errors or log lines on the backend. I can use the next/prev buttons and the small dot moves in the playlist, but the tracks don't actually start playing.
Ah, i guess I know why. You probably have some kind of flashblock enabled: This lets the client wait for the swf to load infinitively. We haven't found a workaround for that as of now. At least in firefox you can add "localhost" to you flashblock whitelist.
If thats not it, it could be related to the filetype you are trying to play. Which one is it?
]]>One minor issue - I can't change the theme.
Did you reload the page? Your browser is probably using the cache.
]]>