Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Michael

Pages: [1] 2
1
Hacks, tips & tricks / Re: SMF integrated
« on: 31-08-2013 10:54 »
Hi ricktee76,

Amazing! This looks very promising.

Please post an update if/when you're a little closer to 100%.

//Michael.

P.S. Yep - you posted in the right place :)

2
Requests/suggestions / Re: Image Flow
« on: 30-08-2013 12:52 »
Hi kara,

I assume you're thinking of something like this: http://www.meadmiracle.com/SlidingGalleryDemo2.htm ..?

Yes - it would be nice to have, but currently it will just be on the to-do list for now, since I'm about to release the next version (0.8.7).

Another rather high-priority on the to-do list is to make the AmpJuke interface a little more 2013'ish...
...f.ex. by making the interface responsive etc.

Currently, there's only a basic "animation" available for the wall of images: http://www.ampjuke.org/?id=faq86

Hopes this answered your question. If not, please post an update.

//Michael.



3
Support / Re: DB connection problems
« on: 30-08-2013 12:46 »
Hello kara,

Thanks for posting and welcome to the AmpJuke forum.

...and thanks for the follow-up in relation to this.

//Michael.

4
Support / Re: Steaming
« on: 15-08-2013 11:09 »
Hi Reaz,

Thanks for the follow-up.

Well...straight answer: I don't think it's possible to do what you want with AmpJuke  :-\

Without knowing exactly what Airtime+Liquidsoap offers (plus how they operate and what features they offer), AmpJuke might be used as a replacement for the entire setup.
...apart from the fact that AmpJuke cannot handle real "scheduling" (unless, of course, some modifications are made...).

If you just want to replace icecast/shoutcast it might be worth looking at some alternatives somewhere.
Sorry.

//Michael.

5
Support / Re: empty xspf
« on: 08-08-2013 21:23 »
They are passed from play_action.php (around line 80-ish): xspf_write_track($user,$row,$name,$ext);
...where:
$user is the name of the user requesting the track(s) to be written to the xspf-file.
$row is from the row within the database that contains the information about the track which is about to be written to the xspf-file (lookup the table "track" within the AmpJuke database).
$name is the name of the track, the performer and (possibly) the album. The value of $name is obtained using the function set_name (around line 1280 in disp.php). $name is typically on the format "artist - trackname [album]", - f.ex. "Neil Young - Over And Over [Ragged Glory]".
$ext is a leftover from earlier versions, - it's basically not relevant anymore.
 
However, since no "valid" values seems to be passed to the function that writes entries to the xspf-playlist, the problem might exist elsewhere.

That leads me to an additional but rather important question: Will music stream/play without using flash ?
If not - well - then I suspect that there's something else wrong rather than just "missing" entries in the xspf-file (did you install by the book, btw.?).

Please update for additional info./comments/questions.

//Michael.

6
Support / Re: empty xspf
« on: 06-08-2013 21:04 »
Hi ricktee76,

Welcome to the AmpJuke forum - thanks for posting.

I'm having a tough time reproducing the error here.

This is what I get when I clicked "Play all tracks from Sheryl Crow-Sheryl Crow":
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>AmpJuke...and YOUR hits keep on coming!</title>
<creator>Michael H. Iversen</creator>
<info>http://www.ampjuke.org</info>
<trackList>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26836&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Maybe Angels [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26830&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - A Change Would Do You Good [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26833&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Home [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26841&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Sweet Rosalyn [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26834&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - If It Makes You Happy [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26839&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Redemption Day [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26832&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Hard to Make a Stand [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26831&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Everyday Is a Winding Road [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26835&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Love Is a Good Thing [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26837&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Oh Marie [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26840&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Superstar [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26842&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - The Book [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
<track>
<location>http://<URL-of-my-box>/ampjuke086/stream.php?id=26838&user_id=42&upw=d5v612a07d9111021eaeb9f6333bd542e323f</location>
<image>http://<URL-of-my-box>/ampjuke086/lastfm/698.jpg</image>
<title>Sheryl Crow - Ordinary Morning [Sheryl Crow] </title>
<info>http://<URL-of-my-box>/ampjuke086/index.php?what=performerid&start=0&special=698</info>
</track>
</trackList>
</playlist>

However, I had to log out/log in after changing the configuration to use flash (and use it exclusively): http://www.ampjuke.org/?id=faq73.
It's also important to take the limitations into account when enabling flash: http://www.ampjuke.org/?id=faq72.


Bottom line: I cannot reproduce it here on my box  :-\
No changes in flash are about the be introduced in the next version (0.8.7 - which I'm about to release) - I haven't really changed anything in relation to flash for quite some time.

I've tried playing an album (as seen above), selecting tracks by random from a favorite list, playing a single track and playing all tracks from a specific performer/artist. It all works as expected.


Do you see any errors anywhere (f.ex. in /var/log/apache2/error.log) that could indicate what's going on ?
Did you try logging out/in and take care of the above-mentioned limitations (ie. not activating "Now playing" when using flash)..?


Finally - just to clarify it - the variables for $row['..whatever..'] are being passed to the xspf_write_track function, -  in fact the entire $row is passed. The xspf_create function just creates the playlist (the headers) with the shameless self-promotion-stuff in it  ;)


Hope some of this makes it possible for you to isolate/identify what's triggering the problem on your box.
If not, please post an update and I'll try to help as much as I can (well...feel free to post an update no matter what).

//Michael.

P.S. Thanks for the nice words about AmpJuke, btw.

7
Support / Re: Steaming
« on: 06-08-2013 20:18 »
Hello reaz,

Welcome to the AmpJuke forum and thanks for posting.

Sorry I'm a bit late with some answers - for some reason I didn't get any notification about your post.

Replacement for Icecast/Shoutcast:
Well...AmpJuke *is* different in the sense that it both handles music management and streaming.
Rather than trying to explain the differences, I will suggest you start by reading this FAQ-entry: http://www.ampjuke.org/?id=faq93 and the related entries (located at the end of the FAQ-entry).
After that you might be aware of the differences, and be able to make a decision if AmpJuke is a suitable replacement for Icecast/Shoutcast.

Airtime:
I'm not familiar with Airtime in any way, sorry.
If you're thinking about connecting Airtime to AmpJuke running in "jukebox mode", it should be as easy as pointing to the URL+portnumber.
See this example: http://www.ampjuke.org/?id=faq97.

Hope some of this makes sense.
If not, please post an update with any additional questions (well...feel free to post an update no matter what - I'll respond a bit more quikly next time  ;)).

//Michael.

8
Support / Re: DB connection problems
« on: 24-06-2013 15:26 »
Hi thewaterman,

Thanks for posting and welcome to the AmpJuke forum.
Sorry I wasn't able to respond before now, - been away for the entire weekend.

According to your 2nd post, it seems like you've done everything right and according to the installation guide.

I cannot for the love of God see what's wrong - apart from the fact, perhaps, that you can only have one database on the host you're trying to install on (yes - some hosters has a limit of *one* MySQL database per user/customer - unless, of course, you want to pay).

A quick&dirty solution might be to run the SQL-statements found in db_new.php one by one against your database using something like phpMyAdmin or similar tool.
You've obviously already found out a way to "adjust" the contents of db.php  ;)
...although all that should be taken care of during installation.

This is the best I can come up with right now.

Please post an update if anything is unlear (well...feel free to post an update no matter what).

//Michael.

9
Support / Re: Various Artists What various Artists??
« on: 09-06-2013 10:24 »
Hi zazafromjohur,

Great that the solution worked - thanks for the feedback  :)

I suspect that the reason why you see the number of performers as 1 instead of 2 might be related to "playing" with the database...
Within the performer-table a "special" record is created during installation/setup.
The "special" record is actually a "placeholder" for albums with "various" (=more than one) performers on.

If you by accident deleted that record from the database, then the total number of performers will be off by 1.

//Michael.

10
Support / Re: Error when new user try to register
« on: 09-06-2013 10:14 »
Hi zazafromjohor,

Strange...I cannot reproduce the warning on my box.

The reason you get this warning is related to how your webserver is configured in terms of displaying/reporting warnings (as in this case) and errors.

Locate your php.ini (normally found in /etc/php5/apache2/php.ini) and do one (or both) of the following:
Find and change the line starting with error_reporting to something else, - f.ex. error_reporting = E_ERROR.
Alternatively/additionally, change the line display_errors =  On to display_errors =  Off
...which is also recommended in a "production" environment.

FYI I have error_reporting = E_ALL & ~E_DEPRECATED as well as display_errors = On on my box, and I still couldn't reproduce the error.


A completely different solution, which also can be considered "quick and dirty", is to open userreg.php in your favorite editor and insert:
error_reporting(0);
...on line 2.
The error_reporting function overrides what's configured in php.ini.

Hope some of this helps.

If not, please post an update (as usual: feel free to do so in any case).

//Michael.



11
Support / Re: Upload/Download not working
« on: 02-06-2013 11:27 »
Hello rohe,

Welcome to the AmpJuke forum/community and thanks for posting.

You've done everything absolutely right so far in relation to download/upload: Enable on config screen and also enable within "User adm...".

However, you should also enable it within the personal settings for the user(s) that needs the download/upload: Click "Settings" in the menu in the left side panel, then expand "Play & display options" and check/set "Show download option" and/or "Show upload option".


The reason for all these settings is that that makes it possible to allow+display download/upload all the way down to individual users (and their "taste"/preferences):
You can enable/disable download/upload for the entire installation.
You can enable/disable download/upload for individual users.
Each individual user can decide if he/she want to see the option to download/upload (provided the user in question is permitted to download/upload).

You mentioned you want to "put music on it".
If we're talking about a rather large collection of music, you might go with FTP instead, - it's much more stable for bulk transfers of fairly large amounts of data (music, in this case).
But I'll leave that decision to you  :)

Please note that upload/download haven't been "maintained" for quite some time, - but it doesn't mean that it won't work. In fact, I've just tested on my own box - and it works.
I also ran into the same "problem" as you mentioned: I didn't see the download/upload option right away, but then remembered I had to check/enable it within the personal settings...
...and I'm the "inventor" of the d*mned script  :o


Hope this helps.
If not, please post an update (well...feel free to do so in any case).

//Michael.

12
Support / Re: Various Artists What various Artists??
« on: 12-05-2013 12:06 »
Hi zazafromjohur,

Welcome to the AmpJuke forum and thanks for posting.

I think your problem can be solved on either one of these two suggestions:

Although AmpJuke was designed to "ignore" folder-names and rely 100% on the tags, a *basic* folder-structure should be implemented.
If - for example - you put all of your albums into one folder (f.ex. "music"), then there will be "confusion" about what performer is on a particular album.
So, a basic way of organization is required...
For example - if your music collection is rather small - you might put albums into individual sub-folders, such as:
"acdc - back in black"
"acdc - flick of the switch"
"aerosmith - big ones"
"billy idol - rebel yell"
...etc...

For a larger collection, you can add an extra level or two for subfolders, such as:
"a/acdc/back in black"
"a/acdc/flock of the switch"
"a/aerosmith/big ones"
"b/billy idol/rebel yell"
...etc...


Although you mention your tags are OK (and I'm sure they are  ;)), I'll recommend reorganization of your albums into individual folders (as mentioned above) as the first step and - if still unsuccessfull  - inspecting the tags again.
I can highly recommend mp3tag.

Hopes some of this makes sense.
If not, please post an update (well, feel free to do so in any case).

//Michael.

13
Hello feonil,

Thanks for posting and welcome to the AmpJuke forum.

Yes - the quickest might be to reinstall.

However, it seems like the permissions wasn't set as expected (even though you got an OK for everything), - I'm a bit confused about that  ???
Based on your post, it seems to me that you're installing in /ampjuke-0.8.6/... shouldn't it be something like /var/www/ampjuke-0.8.6/... ?
It's the HTTP-location... (step 2+3 in the install-guide: http://www.ampjuke.org/?id=installation). I would double check that and do a fresh install.

Apart from that suggestion I cannot think of any other source of error, - again: based on what you wrote.

Hope this helps. If not, please don't hestitate to post an update (well...feel free to do so in any case).

//Michael.

14
The admin panel is supposed to show up on the "welcome" page when you login as an administrator...
...it's checked against the active session (which again get some of it's settings from the database).

Take a look around line 460 in index.php.

//Michael.


15
Support / Re: Permission Problems
« on: 18-11-2012 11:14 »
Well...I just cannot reproduce that on my own box.  :(

Downloaded, installed, scanned+imported music and finally did a "Scan metadata...".

After that, I picked some albums, asked for a new cover, clicked on one of the results from Google or last.fm...
...and it worked as expected.

One thing I'm very puzzled about is the fact that you cannot do anything - even with 777 set on all relevant directories.

Do you have an error log (/var/log/apache2/error.log) I can take a look at ?

//Michael.

Pages: [1] 2