Author Topic: Playlist Editor - Rewrite  (Read 15260 times)

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Playlist Editor - Rewrite
« on: April 16, 2008, 01:59:00 am »
Hey all,

So im making a new playlist editor. And I would like the community's input.

This started when LON22 created the batch assign script. I liked it because it let me organize the media a little bit faster than go through every single file.

Which brings us to the playlist editor. I wanted to add some functionality to it as well as make it run just a little faster.

blah blah blah.

The 1st incarnation is done* and I was looking on some input from the community on a couple things:

  • Colors and layout. I am not a graphic designer. Nor do I claim to be. So if any suggestions on the look and feel would be awesome.  My main goal was to get it working first, make it pretty second.
  • Coding. This isnt as important right now but by the time this is done, it will need to be added into the webadmin so its organized with the rest webadmin. Problem is, im having some difficulty there, so if anyone has any suggestions, please let me know.

I dont see how to add a file here so i'll just post the link to where it is. The instructions are on that page, but i'll say them here too.

   1. Copy into the /var/www/  directory
   2. Unzip
   3. Point browser to the directory on your core. EX: http://dcerouter/DDMB/
   4. All files need to be in the same folder.
   5. After that,  flame me for bad coding.  :P

Thats about it.

Note: This should'nt break your system or existing playlists. If anything, there may be an issue with the playlist ordering. If you recieve an error, its because it was fixing something in the background. Performing the same action that gave an error should would the second time because any issues with playlist order will have been fixed. There is one error that i have yet to track down which involves funky characters in the filename. Nothing breaks, just tells you there was an error.

Also, it was updated on 4-16-08, minor issue with adding playlists.

Link http://langstonball.com/component/option,com_docman/task,cat_view/gid,33/Itemid,37/
« Last Edit: April 16, 2008, 11:40:56 pm by golgoj4 »
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #1 on: April 16, 2008, 05:49:40 am »
Thanks!

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #2 on: April 16, 2008, 07:44:56 am »
Thanks!

there have been some suggestions that I do it in er java. thing is, i know nothing about java. so if anyone has any tips, suggestions, pointers, etc that would get me there it would be appreciated.

basically, i dont care what language its in as long as:

-you can drag files to their destination
-you can add cover art the same way
-can update attributes in that manner too

I only have the 1st done, but the rest will be coming soon with this method. Im learning so i dont think i mind doing it twice, but java is completely foreign, to me at least.

PS. i know something about it bugged you. tell me :)
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #3 on: April 16, 2008, 09:20:48 am »
Hi,

thanks for effort. I really like it. It seems quite promising also to replace general media interface.

I haven't found Filename sorting possibility - is it somewhere under different name or .. ?

I'm quite used to directory structure browsing...

Thanks again,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #4 on: April 16, 2008, 09:27:22 am »
Hi,

thanks for effort. I really like it. It seems quite promising also to replace general media interface.

I haven't found Filename sorting possibility - is it somewhere under different name or .. ?

I'm quite used to directory structure browsing...

Thanks again,

regards,

Bulek.


Hey Bulek,

Browsing by file is still on the way as im learning the code as i go along. Kind of a tutorial from hell. I do, however realize the need for this because if a file is missing an attribute,  how are you supposed to find it? Im working on the browse by file part at the moment, so you hopefully wont have to wait too much longer.
« Last Edit: April 16, 2008, 11:41:47 pm by golgoj4 »
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Playlist Editor - Rewrite
« Reply #5 on: April 16, 2008, 10:47:38 pm »
Hey all,

So im making a new playlist editor. And I would like the community's input.

This started when LON22 created the batch assign script. I liked it because it let me organize the media a little bit faster than go through every single file.

Which brings us to the playlist editor. I wanted to add some functionality to it as well as make it run just a little faster.

blah blah blah.

The 1st incarnation is done* and I was looking on some input from the community on a couple things:

  • Colors and layout. I am not a graphic designer. Nor do I claim to be. So if any suggestions on the look and feel would be awesome.  My main goal was to get it working first, make it pretty second.
  • Coding. This isnt as important right now but by the time this is done, it will need to be added into the webadmin so its organized with the rest webadmin. Problem is, im having some difficulty there, so if anyone has any suggestions, please let me know.

I dont see how to add a file here so i'll just post the link to where it is. The instructions are on that page, but i'll say them here too.

   1. Copy into the /var/www/  directory
   2. Unzip
   3. Point browser to the directory on your core. EX: http://dcerouter/DDMB/
   4. All files need to be in the same folder.
   5. After that,  flame me for bad coding.  :P

Thats about it.

Not, this shouldnt break your system or existing playlists. If anything, there may be an issue with the playlist ordering. If you recieve an error, its because it was fixing something in the background. performing the same action that gave an error should would the second time because any issues with playlist order will have been fixed.

Link http://langstonball.com/component/option,com_docman/task,cat_view/gid,33/Itemid,37/

Nice work! I only had a quick play with it but it looks great and seems to basically work... will play around with it tomorrow and give some feedback :-)

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

lon22

  • Veteran
  • ***
  • Posts: 85
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #6 on: April 17, 2008, 06:45:11 pm »
Nice... I ran it yesterday. Looked good from my first viewing. I will play around with it later and provide you with any feedback.

lon22

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #7 on: April 17, 2008, 08:05:23 pm »
Hi all

probably I'm missing something obvious ... nevertheless I followed the link but found nothing (a page with a download category called LMCE, with nothing inside)

Can anyone point me in the proper direction?

TIA

Marco

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #8 on: April 17, 2008, 08:50:26 pm »
Hi all

probably I'm missing something obvious ... nevertheless I followed the link but found nothing (a page with a download category called LMCE, with nothing inside)

Can anyone point me in the proper direction?

TIA

Marco

click on LMCE. Sorry its not more obvious, i just only have one thing to download at the moment.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #9 on: April 17, 2008, 08:51:57 pm »
Hi all

probably I'm missing something obvious ... nevertheless I followed the link but found nothing (a page with a download category called LMCE, with nothing inside)

Can anyone point me in the proper direction?

TIA

Marco
Sorry, I suck. When i updated it, i forgot to re-publish it for non registered guests. Its there now :) sorry bout that
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

sfalcon1

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #10 on: April 18, 2008, 04:29:11 am »
cool. looks very promising.    Does linuxmce use shockwave/flash  anywhere else? 

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #11 on: April 18, 2008, 05:24:54 am »
cool. looks very promising.    Does linuxmce use shockwave/flash  anywhere else? 

nope. and im planning to replace the flash with straight javascript with the same functionality. Someone wisely pointed out that using a closed program like flash makes it hard to maintain for others. so the flash version is sort of a 'quick' prototype before the final doodad.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Playlist Editor - Rewrite
« Reply #12 on: April 20, 2008, 11:49:44 am »
4-20-08

added a delete function, resized some things.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

1audio

  • Addicted
  • *
  • Posts: 552
    • View Profile
Re: Playlist Editor - Rewrite
« Reply #13 on: April 21, 2008, 08:57:42 am »
I like the work so far. You could use Gnash http://www.gnu.org/software/gnash/ the FOSS version of Flash. And since most users will be editing on a desktop machine, not repurposing their TV for editing, using flash is less of an issue.

You don't have a delete for a song added that isn't wanted. The reordering didn't seem to work for me. Possibly because I have a bad entry in the list. I'll get some input to you on functionality and graphics in the next few days if you want. . . I think this is a good start on a better content manager than LMCE currently has.

Would it be possible to suppress attributes that may not make sense, like some of the video ones for music content?

And adding a complete album in one pass would be nice.


totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Playlist Editor - Rewrite
« Reply #14 on: April 21, 2008, 02:30:46 pm »
cool. looks very promising.    Does linuxmce use shockwave/flash  anywhere else? 

nope. and im planning to replace the flash with straight javascript with the same functionality. Someone wisely pointed out that using a closed program like flash makes it hard to maintain for others. so the flash version is sort of a 'quick' prototype before the final doodad.

Well Firefox is installed as standard with the Adobe Flash 9 plugin installed

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk