
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
The project lives! Thanks to Michal W. (cyrylas) the project is alive once again! He's taken over the code base and done some amazingly fast work in getting ObsidianMusic up to speed with all the changes that have happened in the last few years with amaroK 2.0 and up.
All props go to him for this major update and future updates to come.
Michal has also started using SVN on SourceForge.net so code changes will be available must faster than it was way back when.
Enjoy!
10 years ago
2.3.0 (2010-05-24)
=======
* Amarok 2.3.0 support
* Case insensitive search
* Display 'Unknown' if no artist or title information available
* Allow to search by year 0, empty album name and other weird things in
database
* "Quick search" searches also in album name
* FIX: numerous SQL injections, like in advanced search
* FIX: Better non-ASCII characters handling
* FIX: Changed session management to make playlist link more portable
* FIX: ";" and "'" allowed in title/album name
* FIX: let user to add/remove lot of tracks at once
* Lot of speedups
* Debug: Check if php mysql plugin is installed
* Debug: Better debugging (using different states for $enabled)
* Debug: Display memory usage and number of queries made
10 years ago
2.3.0 (2010-05-24)
=======
* Amarok 2.3.0 support
* Case insensitive search
* Display 'Unknown' if no artist or title information available
* Allow to search by year 0, empty album name and other weird things in
database
* "Quick search" searches also in album name
* FIX: numerous SQL injections, like in advanced search
* FIX: Better non-ASCII characters handling
* FIX: Changed session management to make playlist link more portable
* FIX: ";" and "'" allowed in title/album name
* FIX: let user to add/remove lot of tracks at once
* Lot of speedups
* Debug: Check if php mysql plugin is installed
* Debug: Better debugging (using different states for $enabled)
* Debug: Display memory usage and number of queries made
silence
10 years ago
Report
HerbDakine
13 years ago
Also I cannot get Random song to work. and if I could I would love to be able to just play random songs as in just a random stream of song after song.
Again thank you for a great app.I am sure many people appreciate your hard work.
Report
jataro
13 years ago
I did have an issue playing albums though.
To solve the problem I made the following change to pages/play.php:
Changed:
$sid = base64_encode("$res[artistN];$res[title];$res[createdate]");
To:
$sid = base64_encode("$res[artist];$res[title];$res[createdate]");
Report
Cypress
13 years ago
Report
batterycell
14 years ago
Thank you so much and I can't wait till the next version !! :-D
Report
ChALkeR
14 years ago
File: pages/play.php
Find:
case "album":
$q = query(getquery("getalbum", "", $_GET['album']));
while($songs = fetch_assoc($q)){
$album[] = $songs;
}
Replace with:
case "album":
$q = query(getquery("getalbum", "", $_GET['album']));
$album=array();
while($songs = fetch_assoc($q)){
$album[] = $songs;
}
But it still says "Unable to add song to TAR archive!".
Report
ChALkeR
14 years ago
Report
ChALkeR
14 years ago
But downloading albums still doesn't work good, sometimes it does nothing.
Report
ChALkeR
14 years ago
Report
ChALkeR
14 years ago
1) Please do not show empty albums in the list.
2) $playlist = 0; option does't work correctly. (Does not hide the "play","add to playlist" buttons).
3) "Browse all songs" does not work.
4) "Browse Artists" doesnot show all artists (beginnig with non-english characters). But it works with "Browse Albums", there they are showed under "#".
5) $playlist = 0; option does't work correctly. Downloadingalbums do nothing, files - "Unable to add song to TAR archive!", and the "add to playlist" button should be named something different with this option.
Report
ChALkeR
14 years ago
Report
ChALkeR
14 years ago
$playlist = 3;
Report
kriko
14 years ago
Error Loading Media
No suitable demux plugin.
http://127.0.0.1/index.php?action=stream&sid=MzA2MTtHaGV0dG8gQ293Ym95OzExNTIxOTM4ODQ%3D
What I did: dropped old database, created a new one. I use amarok from svn (always latest version).
I tried this on another platform with wpm. Same thing.
Note:
Some files works some doesn't. E.g.:
I can perfectly stream Queen - under pressure (playable with amarok & wmp), but I can't stream Rammstein - nebel. It is weird. I would like to help to destroy this bug, but you need to tell me how, for start I would like to see (e.g. print in browser) some variables to see if correct song it's beeing streamed.
Report
ObsidianX
14 years ago
Report
MasterD
14 years ago
So everybody can add songs to the playlist but cant remove. So this is a nice feature for parties.
Report
mgrant
14 years ago
In 2.03 stream.php doesn't seem to be working for ANY of my content. The song.pls gets built with what looks like valid data but the actual song URLs don't return data. I used to be able to use wget to pull the file but now it downloads a 0 byte file.
Report
mgrant
14 years ago
For example:
If the song is:
"/home/mgrant/Music/SomeSong.mp3" then ObsidianMusic tries to stream:
"./home/mgrant/Music/SomeSong.mp3" which does not exist.
I don't know why the leading '.' is there but I've worked around it by changing the line:
'echo file_get_contents($url);'
to
'echo file_get_contents('/'.$url);'
Things are working for me once again.
Report
ObsidianX
14 years ago
SELECT url FROM tags LIMIT 1;
If it does then its a database issue that I haven't encountered and don't see in my database. If not then there's some code hunting that needs to be done ;)
Cheers,
ObsidianX
Report
jhyrman
13 years ago
Report
mgrant
14 years ago
There is a table called devices. This table is referenced by tags.deviceid. In order to build a fully qualified path to the track you need to get the devices.lastmountpoint + tags.url.
I had a working prototype but I lost the HD and when I look at the code I cannot remember what I did.
Basically there are two things to change.
1. Add a query in inc/sql.php that returns the lastmountpoint.
2. Modify stream.php to append the lastmountpoint to the url.
With these changes ObsidianMusic should properly resolve the path to the song and work.
-mg
Report
ObsidianX
14 years ago
Report
crosscut
14 years ago
stream.php:
$devid = $res['deviceid'];
$qd = query(getquery("getdevice", "", $devid));
$resd = fetch_assoc($qd);
$url = $resd['lastmountpoint'].ltrim($url, '.');
Note that pages/play.php also contains multiple references to $url. I presume similar code need to be added here to tar files correctly?
Report
crosscut
14 years ago
The true path to my media is:
/home/warehouse/multimedia/Music/artist/song.mp3
MySQL shows the url as being:
./warehouse/multimedia/Music/artist/song.mp3
I've noticed that the following query reveals the top level that is missing from the url:
mysql> select lastmountpoint from devices;
+----------------+
| lastmountpoint |
+----------------+
| /boot |
| /home |
+----------------+
Until this lastmountpoint can be applied in the code. This is how I fixed my streaming of individual files:
pages/stream.php
$url = '/home'.ltrim($url,"."); // Add this line with lastmountpoint location
echo file_get_contents($url);
Report
kriko
14 years ago
My lastmountpoint is:
+-------------------+
| lastmountpoint |
+-------------------+
| / |
| /boot |
| /home |
| /razno |
| /multiMedia |
| /media/usbdisk |
| /media/ISO |
| /media/ISO |
| /media/THEKEY |
| /media/usbdisk |
| /media/usbdisk |
| /media/usbdisk |
| /media/NEW_VOLUME |
| /media/usbdisk |
+-------------------+
an my music resides in /multiMedia. Is it possible to print the $url variable into browser, so I can see what file is trying to download? And how.
Report
ObsidianX
14 years ago
Report