Hi I'm searching and trying a lot to get a richer experience with Media.
I like what this project tries to accomplish, but it's not clear for me what the priorities are or how seriously this module is being developed.
There are currently 2 git branches which don't really work for me and a separate fork? at: https://github.com/Buesing-Sebastian/Drupal---Media-Browser-Plus, which does a lot! But also just isn't working jet. (Submitting multiple items on a media field for example).
Could someone clarify what is being done and where we are going? Reading all the issues it's hard for me to understand what is about which branch or fork. I would gladly help with testing (and programming if I was a bit more skilled).
| Comment | File | Size | Author |
|---|---|---|---|
| #51 | filepath-is-wrong-when-moving-out-of-media-root-folder.patch | 1.22 KB | ParisLiakos |
| #25 | PDOException.png | 254.02 KB | fedik |
| #24 | mediabrowser_dev-1115438-24.patch | 14.56 KB | discipolo |
| #23 | mediabrowser_dev-1115438-21.patch | 13.52 KB | drupallerina |
| #20 | mediabrowserplus-1139210-20.patch | 13.22 KB | discipolo |
Comments
Comment #1
Sebastian.Buesing commentedHi,
I can give you a my personal roadmap for this module within the next 24 hours. However since I'm not officially a maintainer for this module (despite the fact that I've done the most work on it in the last months and also asked to become one) it won't be an official roadmap. This situation is also the reason why I created a seperate repository on github. It is a bit inconvient for you guys, but it allows me to work much quicker and more efficient on the module and its issues.
The last few weeks I had exams which is why its been a bit quite here ;-) (as far as qualified issue feedback goes). This is slowly going to change again.
Can you clarify a bit more what you mean by "Submitting multiple items on a media field for example". Maybe post some error messages or screenshots?
Greetings,
Sebastian
Comment #2
dmsmidtThank you for the quick reply! I'm most grateful for your work. It looks promising from my point of view.
Why can't you become co-maintainer? And make your own branch on drupal git? Makes it less confusing to discuss your work hosted somewhere else in this issue queue. Is there an official roadmap?
Maybe it's the problem you have described here: http://drupal.org/node/1038062#comment-4113282?
Working with:
Styles 7.x-2.0-alpha5
Plupload integration module 7.x-1.0-beta2
media 7.x-1.0-dev (latest)
On clean install it gives an error:
And it redirects to: node#overlay=admin/content/media (not standard behavior)
Created a "Multimedia asset" field for the "Article" node type (unlimited values).
Added a bunch of images via admin/content/media with the plupload module.
Created a new Article -> "Select media" on the Media asset field -> "Library Plus" -> Selected multiple items -> "Continue with selection".
And voila! Only 1 of the selected items are attached. Strange .. where is the rest?
Trying to use the "Add another item" -> "Select media" (second row) gives a strangely rendered popup (attached).
I'm just giving my feedback at once, you want to develop fast anyway ^_^
A nice feature would be an option to fill in the fields of a media entity on the node/edit form. (A button next to each item with "edit fields" or activate it by clicking on the thumbnail.) Maybe it's out of your scope for this project.
Making the plupload module work at the node/edit form would also be very handy.
Again, thanks and let me know if I can help.
Comment #3
james.elliott commentedHi,
Sebastian has been doing some awesome work on his github fork but this module suffered a bit recently from temporal insufficiency. Also called "lack of time". The maintainers of the module all work for Acquia on the Drupal Gardens project and we were in a major push for DrupalCon Chicago and our 1.0 release since December.
Now that those milestones have been hit, I at least, plan on putting a lot more time into this module. JacobSingh and effulgentsia I know have been pushing for more time to devote to the underlying media module on which this is built. I'm not totally sure if their gameplan for the near future includes work specific to media_browser_plus or not. As for myself, I would like to see this module improve near to the point of replacing the stock media browser in the media module.
I see this happening in two ways. By adding functionality and by adding organizational tools.
Functional
Organizational
Sebastian's work on github has already done a lot towards getting this module to where I would like to see it. I've updated the folders branch here and given Sebastian maintainer status so he can continue his work here in the issue queues.
So that is a quick rundown of where I see this module going. I think the more interesting question is where do you see the module going? Any help with the module would be appreciated. Anything from writing code, to suggesting features, testing patches, reporting bugs, writing documentation or "how to"s is a huge help towards getting excitement and energy behind moving the module forward.
Comment #4
kehan commentedsubscribing and really good to see some progress.
Comment #5
JacobSingh commentedI'm hoping that now that views is ready, we can re-work the folders / tags, etc fields to work with views.
Best,
Jacob
Comment #6
dmsmidtYeah some spirit! Good to see.
#3 James: I totally agree with your wish-list for this project.
In general this module should make it easier for end users to handle lots of media files.
Organization is very important and the current media module lacks this a lot (as goes for functions to handle a big amount of media entities).
Where do you start looking in the library if you have over 500 pictures for example? And how do I add all the images with tag X to my node at once?
Sebastian is close to a usable version, but as I noted lacks the option to add multiple files at once.
And for the eye: The icons are a bit too dark for me. Not that important, but since D7 has a lot of UX improvements maybe I could design a counter offer ^_^
Jacobs note is also very good, if we could make the organizing system work with views our options would be endless. It would make this module more a "media plus" instead of "media browser plus".
I'm willing to create documentation at the point we have a (simple) working version.
I think this module could be very useful for the drupalgardens project because it's all about media these days, especially for DG users (who want to do it in a easy way).
Comment #7
dmsmidtSo nothing happened lately, although James pointed out that he wanted to devote more time on this project.
I'm wondering what Sebastian thinks about his new branch here and what his personal roadmap is (offered to share it with us).
Any news is good news ^_^, cheers.
Comment #8
Jackinloadup commentedSubscribing - Thanks for the work you guys are doing!
Comment #9
james.elliott commentedNothing has happened in this module recently. However, you may notice that the maintainers of this module are also maintainers of the media module this is built on top of. We've been working hard at stabilizing the media module and that is why there haven't been any commits to this project.
I personally have been near completely rewriting the implementation of the media browser. Especially focusing on the usage of iframes in the dialog popups. My goal is to remove some of the unneeded complexity so that others and myself can have an easier time extending the media browsing experience. Like within this module.
Comment #10
Sebastian.Buesing commentedHi,
first of apologizes for the long 24 hours. However I did say "I can" not "I will" ;-)...Anyway:
Let me comment on James list first:
Functional
Nice feature but how would you differentiate between a user wanting to drag an image or select multiple?
Agreed. Shouldn't be to hard to implement
A very important issue and propably the one at the top of all feature request as far as I am concerned.
Do you mean a right-click menu for media items?
Organizational
Done :-)
Good idea. Should be interesting to code :-)
Like meta data that is stored on images? Why not.
scroll a bit down.
same as above.
2 Things I would love too add here are (which would partially require changes to the media module too):
The taxonomy folder structure should represent a physical folder structure on the server. If a folder is renamed/removed the module should apply this to the physical data layer. If media files are moved they should be moved on the hard disk too.
In Addition to that I would love to have a semi-automatic media import feature where you can just put media files in the folder structure on your hard disk and the mb+ module checks (via batch) if they exist in the DB and adds them when necessary. Also you would have a view where media items are displayed whose physical counterparts are missing with an overview where they might be used and if unused a possibility to delete them. This would be quite similiar to the media/import feature with the exception of the folder structure.
Similar to the node access system (http://api.drupal.org/api/drupal/modules--node--node.module/group/node_a...) I would love to see media items to be handled similiar. I already laid down some groundwork on this, but the current approach does not include an $operation parameter.
Here we could also realise a public/private folder concept.
I would love some feedback on thoose two. Especially on what obstacles you may see.
Happy Easter!
Comment #11
mpgeek commentedHmm. I guess I'm a little confused, as http://drupal.org/node/969010 makes it sound like all is well with MBP. I'm having issues with "folderizing" the initial import, and viewing the elements in the folders in thumbnail/grid view. In list view at admin/content/media/list, the initial import indicates that all media went to "Media Root", but clicking on the thumbnail button (admin/content/media/thumbnails), gives me a never ending throbber. See attached.
I guess I'm wondering what the real state of MBP is. This subfoldered media is absolutely necessary for my particular application. I'm also wondering why the fork on GIT hasn't been turned into a 7.x-*-dev release? If there's work to be done, I'll gladly get involved.
Comment #12
Sebastian.Buesing commentedHi mpgeek,
please create a new issue and in this issue add some information as to what firebug (or any simliar debug tool) tells you is returned from the AJAX request. If you use FB then you can just look into the console and it tells you what request went out and what data did come back (if any) so we can determine the source of your problem.
This will be done shortly via small patches to the main fork with each patch adding small features so we can be certain everything that is added is top quality ;-)
Comment #13
mpgeek commentedFor completeness to future troubleshooters, the issue is here: http://drupal.org/node/1139210
Comment #14
3rdLOF commentedI am using the latest Media Module version with the latest install/un-intall patch as of a few days ago here:
http://drupal.org/node/970696#comment-4407894
When installing this module I get this error:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=331&op=do StatusText: Service unavailable (with message) ResponseText: EntityFieldQueryException: Entity <em class="placeholder">media</em> has no base table. in EntityFieldQuery->propertyQuery() (line 1066 of /Users/nituk/Sites/drupal7/includes/entity.inc).It gives me the option to "continue to the error page", which after clicking simply returns me to the modules page and I get an "error media batch"
Comment #15
james.elliott commentedThat version of Media is going to be incompatible with the current media_browser_plus. The media module has undergone some significant architecture changes and media entities no longer exist. Instead file entities are being included as a sub module of media. This module is going to need to be refactored to handle the changes.
Comment #16
JacobSingh commentedI didn't post for review (shame on me). But I just pushed this which I think makes it work again.
http://drupalcode.org/project/media_browser_plus.git/commit/f0ca14a0e7ae...
Comment #17
3rdLOF commentedThanks.
Comment #18
egarias commentedUpdated the latest versions it doesn't show errors but it doesn't show the folders, in fact it is like media browser plus is not active.
using your latest commit and the latest dev version of Media
Comment #19
mpgeek commentedUse the folders branch from here...
http://drupal.org/project/media_browser_plus/git-instructions
Then use this patch (#7) if you want to use the latest dev version of Media...
http://drupal.org/node/1139210
Don't need to use the patch if you are using the stable Media release.
Comment #20
discipolo commentedI had to change some more stuff to get the folders branch running with the newest media module
Comment #21
fedik commenteddiscipolo
after this path I also got next error when try install the Media browser plus module
ps. I have some already uploaded files, using the Media module dev
Comment #22
fedik commentedhm, for fix it need in file media_browser_plus.admin.inc in line ~39 change this:
to this:
And also for fix upload I litle change function media_browser_plus_submit in media_browser_plus.module file.
In patch was:
I change to this
Comment #23
drupallerinathats weird. could be that i forgot something, have it working on one site but cannot replicate it. here is another patch with one more line changed
also i changed the line 39 in admin.inc to read file_save($media); this is not yet in the patch.
Comment #24
discipolo commentedvery nice! I just figured out that it was only working when i have plupload installed. comment #22 & 23 should take care of this!
here is everything put together (i hope)
Comment #25
fedik commentedbut I still got error when open "Library Plus" (media/browser), look in attached file
I think it some problem in the media_browser_plus_load_multiple function, but I cannot find... it something after
and before
full error text:
And I can reproduce it if go link like next
http://example.com/?q=admin/content/media/thumbnailsJSON&folder=folder_load_1&page=0&filter=%5B%7B%22property%22%3A%5B%22type%22%2C%5B%5D%2C%22IN%22%5D%7D%5DComment #26
fedik commentedah, okey ... all works if I open Library Plus when I add/edit content :)
Comment #27
discipolo commentedso you are saying it only works via the field for you? and not via admin/content?
Comment #28
fedik commentedyes, works via field and admin/content ...
but when I tried open directly /?q=media/browser ( for test :) ) it not works, but without MediaBrowserPlus it works
here is something with 'filter' ...
now I think it not big problem ;)
Comment #29
discipolo commentedso does this need review? or work?
Comment #30
discipolo commentedComment #31
webankit commentedHello when I try to access folders; in Library it doesn't display files only a tree of folders, plz help applied patch 24
Comment #32
dmsmidtI've been following the activity and had some time to test the folders branch + patch in #24 with the latest media-dev. It seems to work without errors! Good work!
#31 have you tried to uninstall the module (using drupal uninstall) and then to apply the patch and enabling the module again?
I did it on a site with over 250 pictures and it worked like a charm! Even gone from media entity to file entity.
Too bad that drag and drop items to folders doesn't work and the worst: still no attaching multiple files at once through the Library Plus (although you can select multiple). (I had a very ugly workaround and will try to use it again..)
// It would be nice if the comments could be more ontopic again, move specific problems to a different issue?
Comment #33
betoscopioHi, i'm using media-1.0-beta5 and media_browser_plus from the folders brach from git on d.o. I have applied the #24 patch and now I'm having these errors:
When i click Library Plus tab, don't load anything neither. I have tried with and without the plupload module enabled (as mentioned before) and i'm having the same results.
I'm not sure if i'm missing something when i apply the patch.
Comment #34
Anonymous (not verified) commentedI have the same problem as betoscopio. Can please somebody look after this and fix it?
Comment #35
steinmb commentedMedia module 7.x-2.x have started the work with replacing the media browser with a view (Views). This allow us do filter, sort, etc, without having to roll that sort of functionality our self. My question where does that leave this module?
Comment #36
Sebastian.Buesing commentedWrite the following instead of "$conditions = $filter;" in your media_browser_plus_thumbnailsJSON(). Maybe sb can put this into a patch?
Comment #37
dmsmidtAs long as it doesn't support multiple file upload-attach for multiple value fields and no real folder structure this module can add important options. Interesting development though.
Comment #38
steinmb commentedYeah it is interesting changes. I'm not saying this project is not useful, I'm just trying to make sure that most one know where the media module is heading. Regarding the multi-value field, it is indeed important, but there is also changes at the fields level in Media #1201936: Move the media field to a non-required submodule.
Comment #39
Pocketpain commentedI've installed this and media (7.x-2.x-dev). I still get the "normal" media upload popup. What am I doing wrong?
Comment #40
amateescu commentedSubscribe.
Comment #41
ParisLiakos commentedJust letting you know that i am working on physical folder structure part of #10 and i am confident that it will be ready in the next days
Comment #42
ParisLiakos commentedIt is ready and it is on github https://github.com/Buesing-Sebastian/Drupal---Media-Browser-Plus
Comment #43
steinmb commentedThanx for the update @rootatwc :) Could you enlighten me to what version of http://drupal.org/project/media it works? We currently have 4 different current "releases" of the Media module, and that confuses me somehow ;)
Comment #44
ParisLiakos commentedi have it tested with 7.x-1.0-beta5 but it seems to work with 7.x-2.0-unstable1 too after a quick check
Comment #45
fedik commentedabout "working with physical folder structure" ... whay you use a "media" folder instead of default that in "public://", and whay this module tried move all media files (physical) in to this folder after instaling... it very bad idea when I alredy have loot of files, and when some files alredy in other folders...
maybe better use default folder "public://", and disable auto moving?
Comment #46
heyyo commentedsubscribe
Comment #47
heyyo commentedThis feature request could be certainly adressed with this new Image widget Mupload !
http://drupal.org/sandbox/vingborg/1138512
Comment #48
webcultist commentedYour version @rootatwc seems to be very cool, but I have a few bugs wenn I try move the file from one location to another.
When I do it, I get every time the following message:
The Drupal log message says the following:
I think there is something wrong with
Maybe something like this would be better:
Comment #49
ParisLiakos commentedah i see!
seems i never run on this bug since i only use files inside the media root folder:)
i will create a patch and send it to sebastian thanks:)
Comment #50
webcultist commentedI have to thank YOU and sebastian for your work :)
Comment #51
ParisLiakos commentedHere is the patch against 7.x-1.x
Comment #52
Sebastian.Buesing commentedReviewed and committed!
Comment #53
ufku commentedThis was not committed to 7.x-1.x branch.
Comment #54
ParisLiakos commentedindeed.that commit was for github branch
Comment #55
ParisLiakos commentedactually i just checked,its both in 7.x-1.x and 7.x-2.x