tag:blogger.com,1999:blog-4117000691609326823.post6232324569513263121..comments2023-07-30T11:05:42.362-04:00Comments on Chapman IT | Blog: JPlayer Audio Playlist Generator (JPlayer Playlister)nick chttp://www.blogger.com/profile/13763634935050927859noreply@blogger.comBlogger35125tag:blogger.com,1999:blog-4117000691609326823.post-33004750155432197542014-01-09T03:46:00.612-05:002014-01-09T03:46:00.612-05:00We're using with the help of Nick Chapman, if ...We're using with the help of Nick Chapman, if I can help with anything you say ...<br />Understand Spanish?<br />regardsAnonymoushttps://www.blogger.com/profile/07415140675238306439noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-5376980416055797292014-01-08T22:41:52.043-05:002014-01-08T22:41:52.043-05:00@Fabio...
Hit me up@ thenickchapman[at_symbol]gma...@Fabio...<br /><br />Hit me up@ thenickchapman[at_symbol]gmail.com<br /><br />I'd be happy to help out. Is your attempted implementation on a public website? I'll be much more help if I can glance at it myself.<br /><br />Thanks!Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-38996465981117962212014-01-08T15:22:49.935-05:002014-01-08T15:22:49.935-05:00Hello,
Great stuff!
Sometime we have to admit our ...Hello,<br />Great stuff!<br />Sometime we have to admit our limits and I really don't know hot to get some hints in order to implement the jPlayer Playlister.<br />:-) I know about telecommunications, microwave, Radio TV broadcast, but I am very poor in knowledge and skills in scripts and programming... and have no mentors. <br /><br />I got the jPlayer online and working and still have no idea about the steps that can make me put in place the Playlister and add my mp3 files to a playlist. <br />...So here I am, humbly asking for some help, here , via e-mail or in any other way! <br /><br />Thank you!<br />FabioFabiohttps://www.blogger.com/profile/16160396867967954241noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-76512973636679337412013-10-24T02:17:55.128-04:002013-10-24T02:17:55.128-04:00Hi, the issue of accents is simply that when an mp...Hi, the issue of accents is simply that when an mp3 player has an accent does not recognize the letter and not rendered.<br />I pass a link of example<br /><br />http://radiocassa.cat/web/podcast/butlletiportada/index1.php<br /><br />regardsAnonymoushttps://www.blogger.com/profile/07415140675238306439noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-23144490420822816382013-10-23T15:29:01.772-04:002013-10-23T15:29:01.772-04:00Hello again,
The location of the files to .. / pod...Hello again,<br />The location of the files to .. / podcasts / audio I've solved.<br />Try log errors discussed by email and I will explain.<br />I can disable this log? If it works I almost do not want to know if it has errors ... :)<br />And another question. accents and signs in file names can be solved, for example "cassà de la selva.mp3"<br /><br />thanks for your helpAnonymoushttps://www.blogger.com/profile/07415140675238306439noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-14650312057879280002013-07-29T06:03:58.412-04:002013-07-29T06:03:58.412-04:00the variable $notice used at line# 862 of index.ph...the variable $notice used at line# 862 of index.php is never initiailzedtsika iabyhttps://www.blogger.com/profile/02190063601539959884noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-46276233966292642122013-07-29T05:51:51.091-04:002013-07-29T05:51:51.091-04:00There is a little issue in the use of $skipdesc co...There is a little issue in the use of $skipdesc config variable : line# 868 of index.php should be : if(($skipdesc!=true) AND ($makesparse!='true') ){..}tsika iabyhttps://www.blogger.com/profile/02190063601539959884noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-74744029338877433972013-03-18T09:28:47.851-04:002013-03-18T09:28:47.851-04:00Oliver,
Thanks for the feedback!
JPlayer did mos...Oliver,<br /><br />Thanks for the feedback!<br /><br />JPlayer did most of the heavy lifting, but I'm happy JPlaylister is useful to you.<br /><br />There are a few options. While the intention is to display all music in a given directory, you can filter by directory (using the automatically generated links at the bottom, you can only view songs in a certain subfolder). If you just want some songs to be ignored, you can add them to the actual function [recursiveesongs()] exemption or exclusion array. It is somewhat documented, but checks the filename for a match, then ignores that file if it matches what is in the array<br /><br />Of course, you could actually move the songs you don't want into an 'ignore' folder or something, then ignore/exclude that whole directory, I think.<br /><br />Hope these options help! Let me know if I misunderstood.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-54688141826834523512013-03-18T08:48:14.616-04:002013-03-18T08:48:14.616-04:00Thanks for that nice HTML5 player !
Is it possibl...Thanks for that nice HTML5 player !<br /><br />Is it possible to cutomize playlist ?<br /><br />I mean, when selecting a folder all the files are listed in the playlist. Is there a way to delete some tracks from the playlist ?<br /><br />Thanks,Anonymoushttps://www.blogger.com/profile/12329215053302521983noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-76612993936893748362012-10-04T01:24:32.209-04:002012-10-04T01:24:32.209-04:00Thanks for the comment and praise!
First of all, ...Thanks for the comment and praise!<br /><br />First of all, I think I misread your 2nd request. You want to only display the playlist at the album level? Otherwise, you just want 'current level' folder structure listed...like a file browser?<br /><br />Sorry, but I don't think I'll be coding that unless I get tons of requests for it (and, only as a non default configurable variable). I understand that page loads can be slow when a big library is pointed at...but I don't think your request is one that many people would want. <br /><br />For example, if I store my files as such:<br /><br />artist/album/01 - song 1.mp3<br /><br />...then I want to have the option to click 'artist' to play all three albums I have by that artist.<br /><br />Regardless, I coded (a misread version of your request) the option (added a '$displayallfolders=TRUE' option which can be changed to FALSE) to only show folders which have content directly within them. This has the same downfall of your actual request, though...the ability to click a 'genre' or 'artist' is removed, and I like those options.<br /><br />You could probably modify the code to do what you want with a little effort...namely, remove the recursion in my recursiveGetSongs() function -- literally, comment out the recursion call 10 lines from the bottom of the function. Then you'd just need to prevent the jPlayer code from displaying unless $fileinfo['count'] is > 0.<br /><br />*shrugs*<br /><br />As far as the first request, jPlayer is a little outside my comfort zone (I'm more of a PHP guy than JS)...but I'm surprised that there isn't a jPlayer theme for mobile...that could be applied to, literally, any implementation of jPlayer and it would be (more) mobile friendly. I may look into this later since phones/tablets are providing more and more general traffic.<br /><br />That said, I don't have a release date for 0.67, because I keep adding more features. As often as I've been working lately, sometime in October may be realistic.<br /><br />Take care!Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-59811714783594576512012-09-24T18:59:02.298-04:002012-09-24T18:59:02.298-04:00wow great plugin .. thanks a lot ...I am really lo...wow great plugin .. thanks a lot ...I am really looking fwd to your new release.. here are 2 suggestion i would like to make.<br /><br />1- if you can guide how to do a jquery mobile implimentation of this .. so in phones the playlist appears bigger..<br /><br />2- and play list being shown only when the sub folder navigation reaches to the folder which has songs.. like if i have songs in media/genere/artist/album/abc.mp3<br /><br />then the home page will show all first folder"gener" without play list being shown and then artist and then album .. now play list will be show as album is the folder which has songs now. <br /><br />i think if you implement these 2 feature.. jplaylister can function as stand alone mobile music script .<br /><br />thanks for all you hardwork.. much appreciated !!<br /><br />Praneet Srivastavhttps://www.blogger.com/profile/01607824154728736278noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-39885282620288029642012-09-23T19:27:04.435-04:002012-09-23T19:27:04.435-04:00Glad you like it! jPlayer does all the heavy list...Glad you like it! jPlayer does all the heavy listing...but I feel like jPlaylister (what I'm calling this, now) does help with initial implementation. <br /><br />Who wants to hard-code audio files into a playlist? I guess it can make sense, depending on the need...but it seems like quite a few people can make use of the dynamic nature and convenience of being able to add/remove files from a folder and have the playlist reflect the changes, and I'm glad you are one of them.<br /><br />My code is not the cleanest ever, or the most well-documented, so hopefully you won't have much trouble sifting through it. The php, for the most part controls the playlist creation and filtering options.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-30411401786879523272012-09-23T19:01:43.306-04:002012-09-23T19:01:43.306-04:00I had to drop in and say thank you for this as I h...I had to drop in and say thank you for this as I have just about zero knowledge of PHP or Java, tho I've played with PERL for awhile.<br /><br />I had spent a few hours rummaging around starting to put my own code when I came across this and allows me to implement a flash free player by tomorrow on a pet project site that has taken off.<br /><br />now I get to pick apart the code so I can understand it! the fun stuff!Otterboyyhttps://www.blogger.com/profile/16961533606068299418noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-87123224964701323812012-09-17T23:59:44.932-04:002012-09-17T23:59:44.932-04:00Sure. It isn't really a feature (more of gene...Sure. It isn't really a feature (more of general web-design -- apply in-line CSS to a web element), but here ya go.<br /><br />Find the following code:<br /><br /><div class="jp-playlist"><br />(may appear twice -- once for 'a/v' mode, once for 'audio' mode -- you may not need both) <br /><br />...and make it look like this:<br /><br /><div class="jp-playlist"<b> style="height:145px; overflow: auto;"</b><br />(additions in bold)<br /><br />i've actually added that functionality (as a configurable variable) in the upcoming v0.67 release.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-49348804570408613732012-09-17T12:53:58.750-04:002012-09-17T12:53:58.750-04:00This really awsome, is there a way to reduce the a...This really awsome, is there a way to reduce the amount of displayed tracks ? A scrollbar would be it !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-22097304209875401542012-07-20T13:33:18.272-04:002012-07-20T13:33:18.272-04:00I wonder if it has to do with the flash player sin...I wonder if it has to do with the flash player since (afaik) ff and opera don't support m4v natively?<br /><br />I really thought i had everything working on FF last time I checked. hmm...<br /><br />Thanks for pointing these problems out. Glad you were able to get them playing for your use!Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-89822812507127984432012-07-20T13:10:51.262-04:002012-07-20T13:10:51.262-04:00Hi again Nick!
I didn't try using ../. I feel...Hi again Nick!<br /><br />I didn't try using ../. I feel so stupid<br /><br />It works in safari but I still have the same problem in Firefox and Opera.<br /><br />In fact I use a very similar folder structure as you did for your demo v065. And your demo works perfectly for audio but not for video. I am so sad I can't watch Nemo...Anonymoushttps://www.blogger.com/profile/08432225973930470642noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-20300814850700212342012-07-20T12:33:44.127-04:002012-07-20T12:33:44.127-04:00Ahhh...I see the problem. I've never encounte...Ahhh...I see the problem. I've never encountered it since I've always placed my media files within the folder my player file resides in.<br /><br />The variable ($RelMusicDir) is actually short for 'Relative Music Directory' and I had never even considered coding it alternate way...although it probably would be more flexible.<br /><br />Out of curiousity, did you try entering a relative path like '../media'? I verified that it works with a pile of songs I have laying around...but didn't check video or cross browser compatibility.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-90610637831177220462012-07-20T11:32:18.125-04:002012-07-20T11:32:18.125-04:00Waou! That's a quick answer. Thank you!
I try...Waou! That's a quick answer. Thank you!<br /><br />I try to watch m4v files in FF 14 on macOS 10.7.3<br />Otherwise I use Safari 5, Opera 12, Safari on iOS 5.1<br /><br />RegardsAnonymoushttps://www.blogger.com/profile/08432225973930470642noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-66080405735989242602012-07-20T10:26:41.278-04:002012-07-20T10:26:41.278-04:00Thanks for the tip! What version of FF are you us...Thanks for the tip! What version of FF are you using and what type of video file are you trying to watch?<br /><br />Glad you got it to work. Hopefully, I can find a way to build the logic you mentioned in if it will prevent others from having to develop work-arounds like you did.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-17695145391373213572012-07-20T08:24:56.002-04:002012-07-20T08:24:56.002-04:00Hello again,
I apologize because the previous pos...Hello again,<br /><br />I apologize because the previous post was incorrect.<br /><br />In firefox videos and audio file path can be the same. But, the video file path must imperatively start from the root folder (I don't know why!). Infortunately, the jplayer_playlister/index.php $relMusicDir='media' can't start with a slash. So it is not possible to change it that way: $relMusicDir='/root_folder/media'<br /><br />instead I fixed it in a weird way. I change these lines:<br /><br /> if($allowdownload=='true'){<br /> //works for files with three character extensions only<br /> $dl=','.$plspacer.'free:true,'.$plspacer.substr($value[path],-3).':"'.$value[path].'"';<br /> }<br /> else{<br /> $dl=','.$plspacer.substr($value[path],-3).':"'.$value[path].'"';<br /> }<br /><br /><br />into those lines (I just added the /root_folder/ twice):<br /><br /> if($allowdownload=='true'){<br /> //works for files with three character extensions only<br /> $dl=','.$plspacer.'free:true,'.$plspacer.substr($value[path],-3).':"/root_folder/'.$value[path].'"';<br /> }<br /> else{<br /> $dl=','.$plspacer.substr($value[path],-3).':"/root_folder/'.$value[path].'"';<br /> }<br /><br />I am sure that there is a better way to fix it. But at least the video playback works in firefox now!<br />Again, thank you so much for your playlister!Anonymoushttps://www.blogger.com/profile/08432225973930470642noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-80765193021461335942012-07-20T08:16:23.491-04:002012-07-20T08:16:23.491-04:00Thanks, Simeon!
I've made a few changes since...Thanks, Simeon!<br /><br />I've made a few changes since v0.65 was released. A couple were Firefox specific (doesn't sound like this is the case)...but I'll definitely look into reproducing this problem and addressing it. The code that 'builds' the playlist should really discern between audio and video...just 'allowed' and 'disallowed' filetypes.<br /><br />Wouldn't be the first bug I've coded. Thanks again for the information and hope the code works well for you. I hope to release an update (mostly bug-fixes -- possibly playlist caching to lighten the load when creating large playlists)Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-18604001350849324682012-07-20T05:50:03.513-04:002012-07-20T05:50:03.513-04:00Hello Nick,
Thank you so much for your awesome pl...Hello Nick,<br /><br />Thank you so much for your awesome playlister! its really easy to use and customize.<br /><br />I had a small issue with firefox video playback and I think I found the source of the problem. oddly as it seems, the video and audio file path is slightly different. I hope this little input can help other people!<br /><br />for instance:<br />mp3: "media/artist_n1/song_n1.mp3"<br /><br />m4v: "/playlister/media/artist_n1/video_n1.m4v"<br />so here the path start from the folder containing the index file if I am not mistaken.<br /><br />cheers!Anonymoushttps://www.blogger.com/profile/08432225973930470642noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-16325977996639832942012-05-02T01:10:30.110-04:002012-05-02T01:10:30.110-04:00*Replied via email*
In short, thanks for the feat...*Replied via email*<br /><br />In short, thanks for the feature request (ID3 track number sorting) and sorry for the buggy code (for non-ID3 sorting).<br /><br />I've made a number of changes to the code to correct oversights. If you haven't done much work to the script, let me know and I'll send you the modified files (only a few) instead of walking you through the code corrections.Nick Chapmanhttps://www.blogger.com/profile/01371435121040819928noreply@blogger.comtag:blogger.com,1999:blog-4117000691609326823.post-12710849605226304972012-05-01T15:26:02.504-04:002012-05-01T15:26:02.504-04:00Wow, this is awesome! Just what I've been look...Wow, this is awesome! Just what I've been looking for to replace my crappy flash player plugin. <br /><br />One issue though: My "sort by" function appears to be broken. I set $useID3 to 'false' because I want to sort by track numbers, which I included in my filenames like this:<br /><br />"01 - Artist X - Track C.mp3"<br />"02 - Artist Y - Track B.mp3"<br />"03 - Artist Z - Track A.mp3"<br /><br />Since I set $useID3 to 'false' and $sortby is set to 'name', it should be sorting by file name, as listed above. But it is still sorting by <i>track</i> name, not <i>file</i> name, like this:<br /><br />"03 - Artist Z - Track A.mp3"<br />"02 - Artist Y - Track B.mp3"<br />"01 - Artist X - Track C.mp3"<br /><br />At first I thought it was just ignoring the numeric leading numbers in the filename, but that doesn't make sense because in that case it should sort by artist, because of how my files are named.<br /><br />If I change $ID3sort from 'track' to 'artist', it sorts by artist -- even though I have $useID3 still set to false. So in actuality, it looks like it's not respecting $useID3='false' whatsoever.<br /><br />Any ideas on why it is ignoring $useID3='false', or how to get my files sorted by filename and not ID3 info?<br /><br />Alternatively, would it be hard to modify the code to have another ID3 sort option: Track Number (the track # field in the ID3 tag). That would be ideal!<br /><br />Thanks for your work on this awesome tool!Jessehttps://www.blogger.com/profile/13916592438651558064noreply@blogger.com