Activity for James Moats

  • James Moats James Moats posted a comment on ticket #19

    The sorting is done via natcasesort PHP function: https://www.php.net/manual/en/function.natcasesort.php I had previously made the player fixed to the top of the page via CSS and that is included in the new 2.0.6 release, but allowing it to keep playing while navigating other directories would be a pretty big redesign that I can't take on right now. Thinking briefly about it, the player and its scripts and styles would need to be separated into a different PHP file and loaded in an iframe. All of...

  • James Moats James Moats posted a comment on discussion General Discussion

    I have had some other minor changes in progress in my local copy for years and took this as an opportunity to wrap them up in a new release. I have incorporated a case insensitive image file search. Someone else had asked for PNGs to be supported as well. It now checks for folder.jpg, cover.jpg, [track name].jpg, then those files again as PNGs, then if still not found, does a loop through looking for them again as case insensitive. I don't normally have the album art option enabled, because I usually...

  • James Moats James Moats modified ticket #18

    Too many sub-folders breaks randomize

  • James Moats James Moats posted a comment on ticket #18

    Too easy! New release 2.0.4 has it.

  • James Moats James Moats modified a comment on ticket #18

    In my quick testing here, the first time I tried to do a random playlist on the parent music folder, the process eventually gave up, after processing a long time. PHP is configured to not show errors/warnings by default. Checking the error.log file showed "PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/mlp/functions.php on line 162". When I refreshed the page, it worked immediately. To be fair, I don't have anywhere near 500 folders. Take a look in the PHP error log...

  • James Moats James Moats posted a comment on ticket #18

    No problem, I'm glad that fixed it. I'm working on a quick and dirty update to make the deep parsing optional. Doesn't really affect random playlists, since those naturally do the same kind of thing, but everything else speeds up quite a bit.

  • James Moats James Moats posted a comment on ticket #18

    In my quick testing here, the first time I tried to do a random playlist on the parent music folder, the process eventually gave up, after processing a long time. PHP is configured to not show errors/warnings by default. Checking the error.log file showed "PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/mlp/functions.php on line 162". When I refreshed the page, it worked immediately (all the files/folders are supposed to be cached in $SESSION variables so it doesn't...

  • James Moats James Moats posted a comment on ticket #18

    Interesting. I will check it out. Thanks!

  • James Moats James Moats posted a comment on discussion General Discussion

    New release 2.0.2 fixes this issue. It doesn't allow access below the specified root directory and also doesn't show directories that don't eventually lead to playable tracks. Thanks for reporting this!

  • James Moats James Moats modified ticket #17

    Don't show directories that don't contain playable files

  • James Moats James Moats posted a comment on ticket #17

    Fixed in 2.0.2 - Doesn't allow access below the music root and doesn't show directories that don't eventually lead to playable tracks.

  • James Moats James Moats posted a comment on discussion General Discussion

    I see what you're saying now. Previously, it would only show directories that contained playable music files. It looks like that was inadvertently changed in the 2.0 redesign. I have written up a ticket, because the way it is currently working is not ideal. Thanks for taking the time to clarify.

  • James Moats James Moats created ticket #17

    Don't show directories that don't contain playable files

  • James Moats James Moats posted a comment on discussion General Discussion

    I apologize about the delay, I didn't see notification of your post. From the ReadMe.txt: "It is advised that you password protect the Music Library & Player directory using htaccess or other method to restrict public access. " Aside from that, it is advised to add a Robots.txt file to your website root directory, denying access to any directories that you don't want indexed by search engines. That really isn't related to this script, it's general "having a website" type info. https://support.go...

  • James Moats James Moats modified ticket #16

    comment

  • James Moats James Moats posted a comment on ticket #16

    Each version is documented in the read me txt: Release History * 2.0.1 - 9/24/2019 - trackmode=track won't play without autoplay=true - Missing favicon (404) - Javascript errors in Chrome (index.php > menuClose & liClick ) 2.0.0 - 6/30/2019 - Complete redesign - Removed jwplayer - Removed bootstrap - Removed jquery - Added html5media script for browser compatibility - Reduced number of config options - Added Light and Dark themes - Easily install upgrades non-destructively - Added menu button to...

  • James Moats James Moats posted a comment on ticket #16

    I'm pretty sure this would require the third party library we talked about previously. It would have to read the ID3 tag from the file and that is overhead I wasn't intending to add to this. I'm sure it is possible to do, but it won't likely be me doing any work on this project any time soon. I have been intending to move it to github to encourage more public participation in its development and support.

  • James Moats James Moats modified ticket #14

    Album art

  • James Moats James Moats posted a comment on ticket #14

    There's a new 1.1.6 zip file uploaded. Only functions.php changed this time. I diff checked it to make sure I didn't miss anything else.

  • James Moats James Moats posted a comment on ticket #14

    You're right. So sorry, my source files got mixed up and I was editing on the last version. I'm working on replacing this release with a mashup of the two. Sorry for the trouble.

  • James Moats James Moats posted a comment on ticket #14

    New release 1.1.6. Again, only functions.php and readme.txt were changed.

  • James Moats James Moats posted a comment on ticket #14

    I can't recreate this and don't see any reason for it in the code, but I can see it happen in your site. I have made some changes in that code to fix another bug I saw, so we'll see if it fixes this as well.

  • James Moats James Moats posted a comment on ticket #14

    To add that link, it would require modifying the getBreadcrumbs() function, which would be fairly easy to do, but would then mean future updates would overwrite that change.

  • James Moats James Moats modified a comment on ticket #14

    Add that code in index.php after line 101: <div class="row top-row"> <div align="center"><img src="top.jpg" width="100%"></div><br> <div align="center"><font size="+3"><b>Українська Топ-Рок</b></font></div> <br> <div class="col-md-8 col-md-offset-2">

  • James Moats James Moats posted a comment on ticket #14

    Add that code in index.php after line 101: <div class="row top-row"> ** <div align="center"><img src="top.jpg" width="100%"></div><br> <div align="center"><font size="+3"><b>Українська Топ-Рок</b></font></div>** <br> <div class="col-md-8 col-md-offset-2">

  • James Moats James Moats posted a comment on ticket #14

    I noted that in the message of the initial release, it's just how JWPlayer works. I haven't been able to find a solution as of yet.

  • James Moats James Moats posted a comment on ticket #14

    New release Version 1.1.5 (I know, my version numbering scheme is not correct). The 250x250 album art was properly showing in all play modes except single track. That is now fixed. I also removed file extentions from the playlist. As for installing as an upgrade and not having to refresh the config/setup, that is a feature for the future. Only functions.php and readme.txt were updated, so you can download and extract only those two files to keep your previous config options.

  • James Moats James Moats posted a comment on ticket #14

    A new release 1.1.4 is up now with an album_art config option. As requested, it shows 100px in the playlist and 250px in the player. It looks for a jpg with the same track name, then a folder.jpg, then a cover.jpg, in that order of priority. It is tested with images in both jwplayer 6 and 7. There's still some work to do. I haven't figured out how to change the player height back to 40 if there is no album art to display. I don't like that the player controls show over top of the image, but that's...

  • James Moats James Moats posted a comment on ticket #14

    So, I started writing this out and it looks like it's not as easy as I thought it was going to be. The PHP ID3 stuff I was seeing referenced online is a PECL package that would have to be installed on the server. So, I will likely just fall back and include the getID3 library (http://getid3.org) which is 4.5 MB of files and super overkill for what is needed here. I have always been aware of this and have worked with it before, but hesitated to use it in this project, because it will just make someone...

  • James Moats James Moats posted a comment on ticket #14

    Hi Frank, I have researched a little and it seems to be very easy to read the ID3 tags from mp3 files with pure PHP calls. Also, there is a separate open source library I have used in the past, but that shouldn't be necessary. Where would you want the album art shown, just when a track is playing, or as thumbnails in the playlist/list of tracks in a directory? Like a big image in the JWPlayer itself? It would end up being an option in the config to enable or disable. I personally prefer to strip...

  • James Moats James Moats modified ticket #13

    Random playlist problems

  • James Moats James Moats created ticket #13

    Random playlist problems

  • James Moats James Moats posted a comment on discussion General Discussion

    You sent an e-mail through the blind e-mail form here, but set up your profile in...

  • James Moats James Moats modified ticket #1

    Android Browser and Chrome for Android file streaming

  • James Moats James Moats posted a comment on ticket #1

    Resolved in 1.0.7 release

  • James Moats James Moats modified ticket #12

    Replace urlencode with rawurlencode to avoid errors with + spaces

  • James Moats James Moats created ticket #12

    Replace urlencode with rawurlencode to avoid errors with + spaces

  • James Moats James Moats posted a comment on ticket #1

    iPhone/Safari has the same issue, so... I guess use it from a desktop/laptop browser...

  • James Moats James Moats created ticket #11

    Scroll to show current playing track

  • James Moats James Moats posted a comment on ticket #9

    Fixed in V1.0.4

  • James Moats James Moats posted a comment on ticket #7

    Fixed in V1.0.3

  • James Moats James Moats modified ticket #7

    Logging skips getWebRoot()

  • James Moats James Moats modified ticket #7

    Logging skips getWebRoot()

  • James Moats James Moats modified ticket #8

    Does not properly recognize above web root

  • James Moats James Moats posted a comment on ticket #8

    Fixed in V1.0.3

  • James Moats James Moats modified ticket #9

    Highlight current track when playmode is track

  • James Moats James Moats created ticket #9

    Highlight current track when playmode is track

  • James Moats James Moats created ticket #8

    Does not properly recognize above web root

  • James Moats James Moats created ticket #7

    Logging skips getWebRoot()

  • James Moats James Moats posted a comment on ticket #5

    Fixed in V1.0.2

  • James Moats James Moats modified ticket #5

    Improve appearance of mlp skin

  • James Moats James Moats modified ticket #6

    Add logging

  • James Moats James Moats posted a comment on ticket #6

    Fixed in V1.0.2

  • James Moats James Moats created ticket #6

    Add logging

  • James Moats James Moats created ticket #5

    Improve appearance of mlp skin

  • James Moats James Moats modified ticket #2

    Use column offset instead of empty left column

  • James Moats James Moats posted a comment on ticket #2

    Fixed in V1.0.1

  • James Moats James Moats posted a comment on ticket #3

    Fixed in V1.0.1

  • James Moats James Moats modified ticket #3

    Add support for m3u playlist

  • James Moats James Moats modified ticket #4

    Add option to group directories by letter

  • James Moats James Moats posted a comment on ticket #4

    Fixed in V1.0.1

  • James Moats James Moats modified ticket #4

    Add option to group directories by letter

  • James Moats James Moats created ticket #4

    Add option to group directories by letter

  • James Moats James Moats created ticket #3

    Add support for m3u playlist

  • James Moats James Moats created ticket #2

    Use column offset instead of empty left column

  • James Moats James Moats created ticket #1

    Android Browser and Chrome for Android file streaming

1
MongoDB Logo MongoDB