I have many different content types. I have created a video & a playlist content type & i use node reference to add videos to the playlist content type. I am also using the OG module Where I would like videos & playlist to be added to a group or even other content types like blogs & books pages. I have a view created & i use views reference to add the view to the playlist content type but i am guessing that there has got to be a better & more efficient way to get playlist working as they should.

I want to be able to reference a video or playlist from any content type & it loads appropriately.

CommentFileSizeAuthor
#54 reverse-view.png23.41 KBartatum
#38 media_playlist.zip7.55 KBtravist

Comments

travist’s picture

Status: Active » Closed (works as designed)

Playlists can be created two ways... by using Views ( the preferred method ), or by inputing an XML playlist in the XSPF, RSS, or ASX format, and then use the mediafront API to show the player in your page as follows.

<?php
print mediafront_get_player('mypreset', array('playlist' => 'http://mysites.com/files/playlist.xml'));
?>

But it seems you are just having a hard time getting the playlist to work on a per group basis? If this is so, then you should be able to add some arguments to your view to filter only the media within that group. I am really curious why you feel using views is inefficient to create a playlist of media, since that is considered the best way by MANY people.

Thanks,

Travis.

lloydpearsoniv’s picture

I am just trying to find out what the options are so i can figure out the best way to go about it. I am using groups to do online training for interns & i need for playlist to be agnostic about where they are & to simply work when they are referenced from other content types . It doesnt matter whether the playlist is referenced in a group post, blog post or book page, they should just work & thats the functionality that I am trying to get.

I want users to be able to easily create playlists(as in more than one per user and attach those playlists to other content types. I think views add an unnecessary middleman to the equation. If i have a Playlist content type that is referencing every video node that is included, why cant the player simply make a playlist from that? I dont want my suers creating views, I want them to be able to simply add content to playlists & and they just work.
I know this has got to be possible, mediafront is proof thats its possible, its all about making it happen at this point.

The way that MANY people doing something a certain way, doesnt mean it s the best way to do it, it just means that they haven't found a better way. Many people rode horse & buggy until the automobile became popular.

lloydpearsoniv’s picture

Category: support » feature
Status: Closed (works as designed) » Active
lloydpearsoniv’s picture

You have in my opinion, a revolutionary module, and it has the ability to do things in revolutionary ways, instead of settling on the traditional way of making playlist, u should also use that revolutionary way.

Just as mediafront can detect 1 video from a content post, it should also be able to detect more than one video from a post to include into play list
or it can simply gather import playlist from a node that is referencing other nodes. i know you can do it & when you do do it, its going to be groundbreaking.

travist’s picture

Status: Active » Closed (works as designed)

lloyd,

The MediaFront module does detect multiple media attached to a single CCK file field, but that is used for something different than what you are describing. You see, I needed a way for someone to be able to upload multiple versions of the same file in different formats to achieve true HTML5 capabilities where they could upload an OGG and MP4 of the same video in the same filefield, and the media player would select which one is best to play. That is what MediaFront does today... if you upload two different media to a single CCK field, it assumes they are the same media (as I would expect), but in different formats. It then decides the best format to play depending on what browser the user is using. I believe that using the multiple uploads within CCK is the best and most intuitive way of doing this, and that is how I designed it.

What you seem to be asking for is a way to build playlists within a node. To do this, what you really need to do is setup a Parent-Child relationship between your content types. This can actually be done in two different ways, where one is a little more outdated than the other method.

First method I outline in great detail in this tutorial.... http://www.mediafront.org/documentation/drupalmediafront-osm-cms-integra.... This unfortunately may be a little outdated since I don't really recommend using the Node Relativity module anymore since it seems to be dying with Drupal 6.

The best way to do this, I think, is to use Node References within CCK where you would add a CCK node reference in the child content type that points to the parent "album" type. You can then setup your view to show your "album" of tracks for that node type using the Views Attach module where you can just attach your view to the parent content type.

This is the best way to do this, and is something that MediaFront already supports out of the box.

Thanks,

Travis.

lloydpearsoniv’s picture

Thats great that mediafront cant be used to play different versions of a video depending on the browser.

i already know how to create parent-child relationships & have done that. I dont see why a view should be necessary. i have parent node referencing all the child nodes, why should views have to be put in the picture when mediafront could just read it off of the node?

Views is NOT the best way to do it because views ruins the flexibility because it requires that your playlist be static or that you use arguments passed through the url which severely limits what you can do with your playlist.

Mediafront being able to being able to detect all the child nodes from the parent nodes & create the playlist is a far more flexible option. then i can attach a playlist to any content type & it will play, no need to worry about arguments or building a view or anything.

Mediafront is promoted as a front-end solution, well having to use views to build playlist is not a a frontend solution, who wants their end-users messing with views? do u? i know i dont.

I know you have got to see what i mean, dont you realize how huge this is? Dont you know that many drupal users have no idea how to even use views? VIews is a great module & has many great uses but views is a hinderance in this case.

You can make it an option for presets, to either detect many versions of the same media file or to build a playlist. I know you have seen your forums & the issue queues & you know that there is such a big demand for this feature. And Mediafront already has the capability, well let it realize its potential. This would be a GREAT FEATURE,

lloydpearsoniv’s picture

Status: Closed (works as designed) » Active
lloydpearsoniv’s picture

Building from nodes is how Drupal was intended to work, thats why CCK is in core, not views. Everything shouldnt have to be a view, especially when it doesnt have to be. I mean we got Mediafront, why do we need views when media front is more than capable of doing it on it's own? Why let views get in the way?

lloydpearsoniv’s picture

if you make it so that mediafront can draw playlist from nodes, i will do a screencast demonstrating how playlist from nodes far surpass doing it from views. Just do it for a trial. If you are not convinced afte that, then remove the feature.

christianchristensen’s picture

Status: Active » Closed (works as designed)

To be pedantic: if this is such an amazing pattern why are you requesting for an implementation and not providing an implementation to prove it. IMO the pattern travist has offered is far superior in flexibility; CCK and Views are (particularly at this juncture) married for all intensive drupal site building purposes. I can understand the hesitance from trying a new pattern if the tools provide everything you need *for your particular case*; however, here is an instance where familiarity is hindering your implementation.

There are numerous great resources on how to take advantage of what Views has to offer (ex: http://store.lullabot.com/products/learning-views).

lloydpearsoniv’s picture

Status: Active » Closed (works as designed)

if this is such an amazing pattern why are you requesting for an implementation and not providing an implementation to prove it.

Because I am not a developer, otherwise i would have rigged it myself.

IMO the pattern travist has offered is far superior in flexibility; CCK and Views are (particularly at this juncture) married for all intensive drupal site building purposes.

I understand why there are those who consider cck & views to be married, but even in the instance of marriage, its is common for a spouse to work independently as well. Kobe Bryant's wife isnt dunking any basketballs. Steve Jobs wife isnt giving any keynote addresses. Marraige does not mean that one cannot be present without the other.

I can understand the hesitance from trying a new pattern if the tools provide everything you need *for your particular case*; however, here is an instance where familiarity is hindering your implementation.

I find it to be quite the contrary. I have no no issue with trying new patterns, if views was the best tool for this job, I would be all for it. I use view all the time,(how could you not?) but views provides a limitation in these types of use cases. Maybe you wouldnt understand because the view implementation fits your use-case just fine, but everyone's site isnt going to be exactly like yours.
Now if you think you can use view to implement & suite my sue case, then be my guest, but i STRONGLY DOUBT IT.

VIews is not a unicorn.

lloydpearsoniv’s picture

Status: Closed (works as designed) » Active
lloydpearsoniv’s picture

and stop setting it on "works as designed", this a feature request, not a bug report.

travist’s picture

Status: Closed (works as designed) » Active

Lloyd,

I understand you need it to be one way, but MediaFront was written with multiple CCK files to mean something completely different. I am using that to mean "This is the same video but in different formats", not... "This is a playlist of videos". I am not really saying one is wrong and one is right, but what I am saying is that it was architected to be the first, and I don't see the need to undo that when you can get what you want with views. If that is a hinderance to what you want to do, then you have the right to either modify the code to what you want, or if unable to do so, hire someone who can. That is the beauty of open source.

Thanks,

Travis.

lloydpearsoniv’s picture

I am not saying to make it gather the playlist from all the files on one node.

I am saying to have ti take the files from the parent node.

for example, instead of someone making one album content type and adding all the tracks directly...i am saying make an album & a track content type...put all your tracks on your tack content types, set up a relationship with the album content type....and allow the mediafront to get playlist from the album content type.(similar to your example, just without using views). i recognize your reasoning for not wanting all file for playlist to be loaded on one node. I am not saying do it that way. I am saying pull tracks from the parent content type.

lloydpearsoniv’s picture

i cannot get what i want with views...if i could then i would be doing it with views instead of pleading with you. Views will not allow all users to make as many playlist as they please, then attach that playlist to any node they wish....know why? because views would require arguments & that model would not work very well with arguments.

I am not telling u this without trying it first...lol.
I tied it before i even made the original post. It doesnt work, but if media front could get playlist from the parent node, it could work any & everywhere on the site without very many limitations but view would cause limitations.

lloydpearsoniv’s picture

the most irritating thing about some developers is....they focus too much on how they originally intended something to be used instead of focusing on how it is actually being used. Drupal is meant to be modular, modules add functionality to the core & end user decides how to use that functionality. If the developers are deciding how the end users should use something, then it places limitations on those capabilities. Some of the most wonderful things have come out of something being used outside of its original intention. You should embrace that & leave the choice up to the user.

Say i modify it, and i am able to make it work for me? what about the next person who comes & needs the same functionality. i am not a developer so there is no way i could be a maintainer for such a module.

Do you think views was originally intended to be used for playlists? Its possible but i doubt it, but yet somebody figured out a away to do it & there it is. ANd the same can be dont with your project, it opens up a new world of possibilities but they are being limited by this views dependency for playlists.

jghyde’s picture

I am with travist on this one. Someone already invented Views and the Drupal world knows how to use it. Let's stick with views. Lloyd, can you not have your users create a playlist on their profile using cck node reference?

lloydpearsoniv’s picture

playlist will not just be on profiles, but be on all types of content. Views requires arguments in order for it to work properly, when using references, the arguments dont get passed.
the views way of doing playlist is dated, I dont know why people dont get it.

pillarsdotnet’s picture

Nod-1’s picture

Hi al,
I'm trying to set up MediaFront for Drupal 7, and can't find my way in the process as most of online documentation focuses on version 6 and lacks on step by step info about file association to the player.

Could any one point me to an updated and detailed tutorial or video about how to associate a file to be played in MediaFront on a node (I don't know how to pass arguments for instance), as well as creating playlists ?
Actually I would like to play an MP3 song that is attached to a "song" Ubercart product node.

Thanks for your help !

Nod-1’s picture

I'd be really interested in such a screen cast, I'm sure it would help.
Thanks !

lloydpearsoniv’s picture

Once I am able to get mediafront to work how i need it to, i will be glad to do a screencast to show people how to use it.

travist’s picture

Status: Active » Closed (won't fix)

Lloyd,

This will be my last comment I will put in this thread, so I hope to fully convey why your request is just not feasible and practical. You are asking to build a playlist based off of field instances, where if they upload multiple videos to a single field, that will be conveyed as a playlist. But MediaFront actually uses more than just a single field to build its display. It uses a combination of several fields including title, media, image, etc. If I am building a playlist with instances of field uploads, how in the world is MediaFront supposed to represent the other fields that it needs? This is just a tip of the iceburg on the architectural brick walls this approach would hit. It would require a major rework of the module and that is just flat out not going to happen by me. Good for you, though, it is open source. You are free to modify it until your heart is content or pay someone to do so, but I won't since there is simply nothing to justify that work.

As for views.... I am really confused why you keep bringing up arguments and how that is the reason you can't use views. It is pretty obvious to me that you don't understand when I say you can get what you are asking for with Views. You do not have to expose the views ui to your users to build views. You can construct your view in a way to cater to an interface that is intuitive for your users to build playlists. I have done it before so I know for a fact it can be done. Which brings me to simply say that views is THE way to build a collection of entities ( playlist ). Views is simply a query builder. If you want to build a playlist in any platform, you need a query to collect the items you wish to show in your playlist. Views just makes it so that you don't have to write any SQL to get that.

Thanks,

Travis.

glennpratt’s picture

Status: Closed (won't fix) » Active
travist’s picture

Status: Active » Closed (won't fix)

very funny glennpratt

lloydpearsoniv’s picture

You are asking to build a playlist based off of field instances, where if they upload multiple videos to a single field, that will be conveyed as a playlist. But MediaFront actually uses more than just a single field to build its display.

NO I AM NOT!!!! I understand how mediafront works, for you have explained it already & i comprehend english very well(I am starting to wonder if I can say the same for you). I have repeatedly said that that is not what i am asking for. Have you even read anything that I have said? I have said repeatedly that I want Media front to gather its playlist from A PARENT content type that is REFERENCING other nodes. So instead of creating a view and using relationships to build a list, you would media front would gather the playlist by scanning the parent node and adding a media file to the playlist for each node that is being referenced. There would be no need for Mediafront to do any querying because the query would already be done. Does Mediafront have to query when it draws media from one node? Then it wouldnt have to query in this case either. LOL. What be be important is what fields are being made visible in the teaser(or whatever buildmode a person is using to reference the child node).

These would be the requirements for the playlist in my use case.
Any user could create a playlist
Any playlist can be referenced & displayed on any content type.( For example if i was writing some directions using the "book page" content type & I wanted to display some videos that would demonstrate those directions. I would add each video to the video content type, reference those videos in the playlist content type. and then reference the playlist in the book page content type & the videos.

You say that this can be done with views but i strongly, but try & belittle my understanding of views because my point of view differs from yours. I dont claim to be an expert on views but i have used it enough to have an pretty good idea of what it can & what it cant do. Before you try & ridicule anybody, you should atleast make sure that you completely UNDERSTAND what they are saying that way you dont come off as being arrogant & condescending with no clue to what you are addressing.

If you dont want to do it, then fine...DONT. Its a free country. Its going to get done with or without your help. Then I will show you a demo of exactly what i meant because apparently you were unable to grasp the concept from my typing. From watching your demonstrations & videos on Mediafront, I was under the impression that you were a guy who really cared about the end-user experience & you had mentioned that you would like to see the adoption of mediafront spread through out the drupal community. Not everyone in the community is a fan of having to create a view for everything & there should be alternatives.

I give you great credit for you development of mediafront for it is a great project, but even great projects have room for improvement so that they may be even greater.

It would be nice if you would address what I have ACTUALLY SAID, instead of YOUR ASSUMPTIONS of what you THINK I am saying.

travist’s picture

Lloyd,

I was not at all trying to condescend or belittle you in any way. I was simply trying to debate. That is a huge force behind Drupal, and it is unfortunate that you do not seem to be open to other people debating your point, and instead take it personally. So... I will continue to debate your idea here as long as you are willing to accept that it is not a personal attack on you, but rather just my counter argument to your idea. So, onto the real problem here...

The functionality that you are asking for actually can be provided exactly how you described. This has already been written where your users can build their playlists according to how you described without even touching views. Unfortunately, it is not ready yet for Drupal 7. And more specifically, is not functionality that MediaFront should provide since this module is simply a Display of content... not a list generator. I decided to make it that way so that I would not have to reinvent the wheel when a wonderful implementation was already done.

What you are really asking for is functionality that the Views Attach module provides you in Drupal 6, where you can simply just attach a view that you build in the backend to the Playlist content type that automatically brings in its children nodes and shows them in the player. As for views arguments, you would simply need one argument which is "Node: Nid" and default that value to the currently viewed node, which would in your case be Playlist. All of this would just work, and to your users they would not even have to touch the views ui.... only you would as a site administrator. And the way I see it, if I were to build you this "query" within MediaFront, what I would inevitably end up with is something that Views already provides. Unfortunately, the Views Attach module has yet to be ported but there is a patch http://drupal.org/node/709672. But this is really not my problem since I do not want to reinvent the wheel and just implement my own version of Views and Views Attach in this module. It is simply not a good and scalable way of attacking the problem.

lloydpearsoniv’s picture

Status: Closed (won't fix) » Active

I didnt take it personal. I just noticed unneeded comments in your debate(if thats what you were doing). Many of your responses weren't really addressing my request, but maybe the requests that you have gotten in in the past & you assume that i was making the exact same request. this isnt the first time that i have recommended a feature for a module & they have chosen not to include my feature for whatever reason, but atleast I didnt get the same condescending vibe that i was getting form you. If I was wrong, then i can be accountable for my error. I find your last response to be perfectly acceptable & its makes alot of sense.

One of the things i noticed when i was trying to set up mediafront with views is that the fields that you make available in the teaser really matter. So i figured that I could do the same with the nodereference. Since Mediafront has the capability to detect media, it think it would help if it could detect groups of cck fields provided by the nodereference and if it would know that everytime it came across the title field that it represented a new item in the playlist. so that all fields following it would apply to the new item in the playlist until it came across another title field.

i am a little iffy about using a patch for the views_attach module because my site is currently in production now. and i would rather just use a viable alternative until things can be corrected but i need this functionality like yesterday.

travist’s picture

I apologize for the vibe. It really was not my intention to give that out.

As for the fields in the teaser and nodereferences. In order to get that to work, MediaFront would have to call node_load for every single node reference that it came across to scan that node for media. Not only that, but I would be doing it for every instance of every node reference contained within every node within the view. This could lead up to a serious amount of queries per page request that would not be practical at all.

I know you are sick of me saying this, but you can even do what you are asking for above with views, but MUCH more efficiently. Views allows you to link together the nodes just like you are asking by using the Relationships provided by the node references. This is what the Relationships section of the views UI is used for. Not only that, but it gives you the power to explicitly provide the specific node reference field to use within the Node type of interest to load. This could be setup to show a new row in MediaFront per reference. Trust me it can be done in Views, which is why I don't see the need to bake in this specific use case into MediaFront. I really do hope you see my logic there.

As for views attach... you don't have to use it. You could maybe use Panels, but I have never used that before for this use case, but from what I understand about Panels, it may be the right tool for the job.

Either way you chose, I still don't see any changes being made to MediaFront to support this. I hope that makes sense.

pillarsdotnet’s picture

(If I may be allowed to chime in)

There is a pretty common opinion that views imposes a lot of (CPU and/or database) overhead for simple operations. You are saying, however, that views can in some cases provide better performance option than a simpler alternative.

This may be getting very off-topic, but I'd be interested in any pointers to discussion/issues/benchmarking/wiki-pages that discuss and/or de-bunk the conventional wisdom that views is too heavy for simple use cases. Or even a few keywords I could search on.

travist’s picture

I agree that views can be inefficient when building certain queries. All I am saying is that Views would be much more efficient than calling node_load on every instance of every node reference on every node within the view. Could the requirements for this use case be done faster than Views?... Maybe, if the query were written by hand for this very specific use case, which MediaFront most likely would not be able to provide due to the specific nature of the query.

lloydpearsoniv’s picture

travist,
When i use nodereference, the nodes are already being loaded(maybe its different for you), so i doubt that it would require calling node_load, all that it would require from mediafront is the ability to seperate & tell the differences between nodes.

I think you are imagining this process to be far more complicated than it has to be. Does media front have to call node_load when it detects the media from one node? If not why would it in a case where it is detecting media from a noad reference that is already exposing the fields necessary for mediafront to add an item to the playlist?

if i expose all cck fields necessary to for the nodereference for mediafront to detect all media files, then I dont see why it would require node_load. It doesnt have to be has complicated as you are making it. Let nodereference & content do all the heavy lifting...all mediafront has to do is detect media.

travist’s picture

Lloyd,

Your first paragraph is actually not the case. When I look at the node reference field from within a loaded node, all I get is a list of Node ID's, not the fully loaded node. I am actually staring at the dpm of this as I type so please believe me when I say this is so. I would need to call node_load using all of those node ID's to get the full node to see if media exists within those nodes. And MediaFront does only detect media... but only within the currently loaded node as it should be.

lloydpearsoniv’s picture

Travist,
I use nodereference all the time & I know that it is very configurable, you can get the fully loaded node if you wish, just the teaser or any custom build mode that you may create(using a module like display suite). I have alteast 3 content types on my current production site where i am utilizing this functionality, if you would like for me to show you a demo, I will be glad to.

On top of that you can customize which fiedls are available for each Build mode(i know you know about this because you have even talked about it in your video).

How much have you actually played with nodereference for D7?

travist’s picture

Lloyd,

Give me some time to experiment with your use case. It sounds to me like this may be a new feature in Drupal 7 that I was not aware of with node reference, but will certainly investigate. If you would like to make a video for me to look at, that would most certainly help. If it is as you say, then I don't see a problem with having MediaFront exploit that as long as it does not require any special queries from the MediaFront module.

Thanks,

Travis.

lloydpearsoniv’s picture

Here is a short video i made just showing how to the "render" functionality works with nodereference.
http://www.youtube.com/watch?v=CpUoVNt8O4s

travist’s picture

StatusFileSize
new7.55 KB

Lloyd,

Thanks for the video, it helped out a lot. I wasn't aware that node references were able to load the full node and expose that data to the node load process. Intrigued, I actually replicated your use case to experiment. Here is what I found out...

In order to get this to work the way you describe, I would have to introduce function recursion into the mediafront_playlist_node in order to build the playlist nodes for every reference within each node. This would cause a really big issue if there was any sort of circular references in which the child node somehow refers back to the parent ( which can be done in Drupal )... with this being the case, the server would literally freeze up. Of course, I can write some code to protect against this, but it still seemed like a hack, and custom code to cover this one specific use case.

I then took it one step further and did a little experiment and built it the way I would build it using views. I was able to get your use case build out very easily where it works exactly the way you want it to work. I even built you a feature so that all you really have to do is this...

1.) Install the following module ( feature ) into a fresh install of Drupal 7. You will also need to install the dependencies as well ...
2.) Once installed go to Blocks and then enable the "Media Playlist" block for the Content Region.
3.) Edit the "Media Playlist" block and only show it for the Playlist content type.

And then it should just work. I hope after you play with this feature module you will understand where I am coming from when I say this is probably more elegant and will get you everything you need without making any changes to MediaFront.

Thanks,

Travis.

lloydpearsoniv’s picture

ok. I will play with it to see how it works a little later on to see if it works like i need it to work. Thanks for atleast investigating the situation. I can respect that.

lloydpearsoniv’s picture

After checking out your feature, I must inform you that i have already tried it this way & thats how i know that its not going to work. I guess I will have to do a few more videos to demonstrate what i am attempting to do so that you have a better feel for why i need it to work a certain way. This way would work many people, not for my use case.

I will produce a video to demonstrate what i need.

lloydpearsoniv’s picture

In this video, hopefully I explain alot better what we are looking to do and why your views solution does not cut it.
http://www.youtube.com/watch?v=Rq8mqVeSgcg

travist’s picture

Lloyd,

Thank you for doing that video. I watched the entire thing.

I understand what you are trying to do with allowing your users to upload content easily to construct playlist. I totally get that. And the video did help to illustrate that, but one thing you mentioned toward the end when you said that you cannot use views because you do not want your users to have to construct a new view for every playlist is not true. You can construct your view in a way to where they can upload videos how they want and you can then build a view to query that information. The presentation would simply be a media playlist of the videos that they submitted. And the Organic Groups module has Views filters you can use to query media within a specific group...

I know we keep going back and forth about Views here, but really what you are asking for is a specific query for a media playlist. I hope you can at least agree to that.... Well, if you take away all the UI from what most people understand is the Views module, all it is is a query builder. And it is the best query builder in the industry. You can literally build a query within views that will allow your users to create their playlists how you showed in the video, and all of that is provided without ANY code changes to MediaFront since I am heavily integrated with the Views module. And best of all, you can construct it in a way to where your users don't ever have to touch the Views UI.

You also mentioned something about embedding a playlist anywhere and it can be referenced anywhere. Again, this is something that can be provided with using Spaces integration with your Organic Groups that you are currently using. I suggest to read up on what Spaces can provide you with your website, since it seems that is what you are trying to accomplish. If you have ever used Open Atrium, it will give you a clear indication of the power it provides your groups on your website. I deal with your type of system everyday with my full time job, so I know it can be done so that we do not have to hack up the MediaFront module to handle a specific query that Views was built to handle. Trust me, I have walked down this road before with another module of mine, and it ended up being a nightmare.

I really hope you appreciate that my goal here is to try and not reinvent the wheel. However, I will try my best to be open minded if you have a good explanation of why you can't use views. So far, even after watching your last video, I am afraid I am still not convinced.

Thanks,

Travis.

lloydpearsoniv’s picture

Travis,
Have you been keeping up with the SPACES D7 thread? If you have, YOU WOULD SEE MY NAME ALL OVER IT. I have been following Development Seed since the introduction of the Open Atrium & Aegir Projects. I know all about the features, context, spaces, purl modules amongst others. NOONE KNOWS WHEN SPACES WILL BE READY FOR D7 & i suspect that it would need a complete rewrite in order for it to fully integrate with the changes that have taken place in the D7 version of OG & even the changes that have taken place in D7 itself. I still dont get how you think the spaces module is goign to solve the problem with the reference-able(embeddable) playlists. Its not making much sense. I am not looking to limit playlist accessibility to groups or spaces. I want them to be accessible from all over the site.

THE EMBEDDABLE PLAYLIST ARE THE MAIN REASON WHY VIEWS WOULD NOT WORK. That is why I mentioned

one thing you mentioned toward the end when you said that you cannot use views because you do not want your users to have to construct a new view for every playlist is not true

If you would have taken my words in context, You would have realized that what I saying is ACCURATE because in order for the embeddable playlist to work as i need it to, it would require a view per playlist.
DO YOU GET IT NOW????

I did not just discover drupal yesterday. I guarantee you that i probably know about more modules than you do because I am not a developer so its in my best interest to atleast know my modules. Noone is telling you to re-invent the wheel, because this WHEEL HAS NOT BEEN INVENTED YET(ATLEAST NOT IN DRUPAL)

The only thing I having trouble understanding in all of this is....why is it seems like you just dont get it. No matter what I do, you just dont get it.

THE VERY CORE OF MY PROBLEM IS THAT VIEWS IS NOT FLEXIBLE ENOUGH TO SUPPORT EMBEDDABLE PLAYLISTS<---this has been my issue from the beginning. If my playlists were just going to live at the same URL, views would be fine but my playlist need to accessible from all content on the site. This is a HIGH PRIORITY.

CREATING PLAYLIST IS THE EASY PART...thats not the problem, its making them work with NODEREFERENCE thats the hard part.

I deal with your type of system everyday with my full time job, so I know it can be done so that we do not have to hack up the MediaFront module to handle a specific query that Views was built to handle. Trust me, I have walked down this road before with another module of mine, and it ended up being a nightmare.

Well if that is the case(doesn't seem to be at this point), It would be nice if you would offer something helpful instead of the same redundant stuff that you have been offering.

You seem to be completely foreign to the idea of "embeddable playlists", and the idea that you think you can simply do this via views or spaces is hurting your credibility.

The flexibility that is now available in drupal 7 due to fieldable entities & field api in core is a BIG DEAL. OG for drupal 7 falls right in line with this allowing one to make a group from ANY ENTITY(nodes, users, taxonomy, etc...). To be honest, i think all modules for d7 should provide the same kind of flexibility that allows you to use them in just about anyway you can imagine using them. Mediafront has features that would allow for this type of flexibility but they are somewhat incomplete because there are things that are acting ass barriers preventing it. I am simply trying to get you to remove these barriers so that mediafront can be used in ways that you never imagined possible.

travist’s picture

Status: Active » Closed (won't fix)

Lloyd,

Please understand that my time working with MediaFront is a donation of my time. I wrote both the module and media player and offered it up for free to anyone to use. It is not perfect, I know that, which is why I made it GPL. It is also not built to handle every use case, and I am fine with that. Views is able to handle 99% of all use cases, and unfortunately you fall into the 1% use case and are trying to do something different that it was not built to handle. Maybe the answer here is that this module just isn't good for what you need, and you should try something else? Either that, or you are more than willing to modify the code or pay someone who can. That is how you get things done in an Open Source community, not by yelling at the maintainers telling them that they don't know what they are talking about.

Unless I see a demanding need to get this in, I am not going to concern myself with it. And so far you have been the only one requesting it, and unfortunately you have not really approached me in such a way to where I really want to bend over backwards to get this in for your specific use case.

I am done with this thread.

lloydpearsoniv’s picture

Status: Active » Closed (won't fix)

Please ALSO UNDERSTAND, that my time offering ideas, feedback & reporting bugs for Mediafront is also a donation of my time. My frustration stems from having to repeat myself constantly. I feel that I have went out of my way to explain things to you only for you to either blatantly ignore what I am trying to say & keep insisting on the same thing or just simply fail to grasps the concept. Noone was yelling. I use caps for emphasis, not to yell. There have been plenty of times that you have implied that i do not know what I am talking about as well. I am just more direct.

True, vIews is able to handle 99% of the use cases TODAY, but drupal 7 hasn't really caught on yet & many of those who are using D7 are still operating in a D6 mindset in their implementations. I am glad that they dont take that approach with core drupal. Do you know how bad Drupal would suck if they only focused on what was okay for 99% of the use cases? Do you think 99% of the use cases for drupal are for sites that can handle 1 million unique visitors? Of course not!! Well i am glad it still has that capability. Drupal as a platform & the web as a whole are constantly evolving. You will get left behind if you settle for the way in which things have always been done. Drupal 6 alone has had so many innovations that have drastically changed the way in which things are done with drupal. These examples include drush, the features module, spaces, the aegir hosting system, open atrium, only to name a few. Mediafront also has the potential to be a pioneering module which brings great innovations to drupal. Do you think most people incorporated features in their use cases before the module was developed? Of course not, now this module plays a crucial part in the implementation of installation profiles and also development & implementation of functionality in many project. The majority of people will only operate within the confines of the methods provided to them. Its those with vision, innovative ideas & the unique ability to problem solve who help forge new methods & opportunities for the masses.

If you say its not personal, then why are you letting personal things get in the way? This shouldnt even be about how I "approached" you, but about making Mediafront as great as it possibly can be. Should I have to kiss your behind to convince you to improve YOUR OWN project? I dont like how you have approached me many times either, but here i am putting forth efforts to convey to you new ways in which your project can be used. I have already made arrangements to have the project altered for my use case but that would only benefit me. One of the core principles in Drupal is "collaboration, not competition" so I was simply offering those ideas to you, because who would be better at implementing improvements to a project than the one who developed it?

If you dont like my ideas, that is fine. This isnt the first time that someone has not liked an idea i have had & wont be the last, but my ideas have an amazing track record. Dont be surprised if the use cases begin to shift once that type of functionality becomes available. I have searched through the threads on the project page here as well sd the forums on your website & have identified plenty of people who would also benefit from this.

lloydpearsoniv’s picture

Status: Closed (won't fix) » Active
lloydpearsoniv’s picture

Status: Closed (won't fix) » Active

I have been trying to explain the exact same thing to you for 11 days. How frustrated would you be after attempting to explain the same thing for 11 days?
If even after 2 youtube videos, they act like they still cant get it? And for a follow up response to your last video, they misquote a statement made in the video as their premise to recommend the exact same solution that you spent the entire video explaining why it wouldn't work as if they just ignored the whole thing & all they could hear is that line? isn't reasonable for a person's patience to run out after a certain amount of time? if everytime it seems like we just may be getting some where, the person relapses to the exact same thing?

lloydpearsoniv’s picture

Status: Fixed » Active

The fix on #1092520: Help.... pleeeeeasseeee:) Views, Mediafront, and Drupal 7. actually fixed this issue as well. Seems that the issue has nothing to do with views but everything with the problem between the media module & mediafront. The update allows the playlist to operate as desired. Its not really The way I prefer to have it setup but atleast it works now. I'll do a video to demonstrate my setup for those who may also want to implement a similar setup.

lloydpearsoniv’s picture

Status: Active » Fixed
travist’s picture

Status: Active » Fixed

Wow. I really didn't expect to have a happy ending to this thread. Good news that the resolution to the other issue solved your problem. And thanks for the videos, Lloyd. They really are helpful.

Travis.

lloydpearsoniv’s picture

Well I am a problem solver & if there is a way to do something, I will figure out how to do it but I can only solve an issue if the necessary tools are there to solve it. Before i posted this issue, I had tried absolutely everything I could think of to get it working. This is the reason why I knew immediate what the issue was on the other ticket.

I had found it kind of insultingwhen it seemed as if you were implying that I didnt know what I was doing when i kept asking for an alternative. The issue turned out to be that I was using the media module while you were using another method so for you, it was working but for me it was not working because of the problem pointed out in the other issue. I guess it was just a misunderstanding, No big deal. I am just glad I got it working so that I can move on & deal with other things.

irakla7777777’s picture

Title: Is views the only way to make a playlist? » how to add playlist

hi all
i am new in drupal
i have problem to add playlist . i am using drupal 7.
i have read many manuals on mediafront.org but nothing halpful.
can anyone to post step-by-step ,how to add playlist on mediafront(eg:config content types and vreatig views) .
please help me and sorry for bad english :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

artatum’s picture

StatusFileSize
new23.41 KB

Hi
I'm fighting for a while about a very similar issue than yours. After having recently post I went through this thread and found it very interesting.
I found both of you incredibly perseverent, and patient! lol
Congratulations.
My issue is just the same than yours : my users should be able to build a playlist on the website, not in the admin, and to order it.
Did you finally succeeded with the patch above ? You promessed a short video to explain the process, did you do it ? If yes, a little link here would be awesome ;-)
If not, a quick debrief, would be nice, as you mentioned, to finally get the resolution o this sensible matter.
I was surprised to see you managed your content the same way I did : with Views Reference module + url context.
I finally used reverse relations from References module for backtracking the parent (album or so on). Because to achieve what you want (having only one player on a page) you need to start from your video-type base type in Views base table. Then, build a relationship - reverse to get the album, then add a contextual filter : title on this relation, and paste the name of 'album' in 'view player _ argument, when creating the album. Please see the attached img.
I'm not proud of this Copy-Paste for my users, but it's a workaround for a similar problem :
you got albums, we got épisodes. Our épisodes exist because of the limitation of youtube duration. So, our games time exceed it. We need to match in a way different video. So we put video nodes references in our episode.
But my other problem is more about the friendly way of doing it on the website... And in this view, I thought that travist was talking about a way of doing this into View, which would be really interesting.
But I dont see how. I would be very glad to have more information on what you where thinking about Travist.
Is there a way to allow my user to build his playlist on the site, I mean in a simple way, with Views? If you buld something, then you save something, then it's a form. So how to build a form of this kind in View?

rayvan’s picture

Wow, this is a long thread. Just wanted to add my input and say it would be awesome to load playlist directly from a CCK. Especially since a block wouldn't be able to be loaded into a custom template file without some hackery. I'm making a custom template since my layout is tabbed up per the client but I guess I'll try at creating a Views block then hooking it up. As the others say above though, it isn't ideal, and probably would be less user-intuitive.

The less user-intuitive part being, the average user will be confused when having to fill out several different content types to have one end result.

travist’s picture

I think there is a disconnect in this thread between two notions:

1.) Having your users use the Views module to build playlists
2.) Use Views module to CONFIGURE an architecture which allows for users to build playlists.

I am propose the later, and absolutely NOT the first notion. I do not condone exposing the Views UI to your users. They wouldn't know what to do with it....

What I am saying is that you can use whatever means you like to add media to your site, and then CONFIGURE the Views module to consolidate that media in a playlist. And there are so many ways to configure the UI of collecting media in Drupal... Heck, you can even configure Views to collect File Field instances as a playlist if you like, but I just don't recommend it. Regardless, there is no code change required to do what you want with this module and creating a good user experience for your users using the Views module and some other means to collect that media.

I hope this helps and puts this thread to rest.

Travis.

travist’s picture

I did some research since this seems to be a very common request. Please read #1288670: Multi-value emfield video field (again) for the best solution for this...