Author Topic: Mac OS X Favorite Manager  (Read 17749 times)

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Mac OS X Favorite Manager
« on: May 09, 2012, 02:37:10 pm »
Hi folks, I'm not sure if this is the right place for this topic but I'm pretty sure that a moderator will move it if needed.

I'm practicing Mac OS X programming and I wrote a little utility to do one simple thing that cannot be done with the standard mede8er firmware: changing the order in which favo(u)rites are shown on the screen.

With Favourite Manager for OS X you can:
1) see every favs on your mede8er in the same order as shown on your TV. Handles network, USB and card. Should handle internal disk (HDD) for 450X2/500X2 users...
2) Move them around with drag 'n' drop
3) Easily change the genre icons for any given fav
4) Delete single favorite
5) Backup (and restore, of course) favorites stored in your m8r flash memory
6) Write configuration back to mede8er (flash memory, disks and card)

The application has been developed for personal use and tested on my own 400X2; this means that I've no internal HDD to test it upon, so any feedback about this will improve the app quality. Also this application has not been tested against mede8er model using old processors like the 500X series. It may work, who knows... :-)

Requirements:
*) Mac OS X 10.6 and later
*) a nnnX2 series mede8er
*) NAS enabled
*) Web remote enabled
*) LAN (cable or wifi) to connect your Mac AND the mede8er (same subnet, of course)

If anyone on OS X is interested in beta testing it (or use, for that matter), I'll be glad to forward him a copy of the application.
I cannot put on the forum as its size (668 kbytes) is beyond the attachment limit of 510 kb....

UPDATE: Download Link    http://www.mede8er.org/beta/Third_Party/Favourite Manager.zip

Enjoy!  ;D

Disclaimer:
The application is available "as is" and no guarantee is provided with it, nor can I found liable for any damage occurring to your properties while using this application.

While the application is free and available without licensing, I still retain any rights upon the application code, logic and technology. This application may not be distributed outside this forum without given permission by the author (me).

Any feedback is warmly welcomed!!!
« Last Edit: May 10, 2012, 04:43:07 am by Mede8er1 »
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline Skylinc

  • B8a Tester - 1000X3D
  • Hero Member
  • ****
  • Posts: 519
  • Helpful Contribution Status: +2/-0
Re: Mac OS X Favorite Manager
« Reply #1 on: May 09, 2012, 07:29:01 pm »
Oh, wow! This sounds cool! I'm sure some of the Windows users are going to hate you for developing in Mac ;)
Product: Mede8er MED1000X3D f/w v2.0.0 (5Feb2013)
Audio: HDMI > LG 42LW4500
Audio setting: HDMI Passthrough / Night mode Comfort
Video: HDMI output > LG 42" LED Cinema3D 42LW4500
Video setting: 1080p 50Hz, 23Hz ON,16:9
Media Source: Wired Network > Win 8 Professional SMB shares, OpenMediaVault Shares
Hard Drive: 2TB Western Digital

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #2 on: May 09, 2012, 07:31:40 pm »
mmm, that's a good excuse for them to buy a shiny new Mac  ;D
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline Unreal

  • B8a Tester - X2
  • Experienced Member
  • ****
  • Posts: 228
  • Helpful Contribution Status: +1/-0
    • UnrealRG Home Page
Re: Mac OS X Favorite Manager
« Reply #3 on: May 09, 2012, 07:47:38 pm »
@mognons

Can you please explain briefly the technique you used to update the contents in flash memory?  In the past, I re-arranged the contents of one of my FavLink_USB files, but it had no actual effect on the Favourites screen because the changes to the FavLink_USB file were not reflected in flash memory.  I'm curious how you were able to update flash memory with the changes so I can do something similar (from my Windows system).  Since you state the web remote option is needed, I suspect you are using this to remove the links then create new links, both of which would update flash.  Is that how you did it, or did you use some other technique?
MED450X2 with PCIe Wireless                                 Firmware 3.0.2, NAS off, DLNA DMR&DMS enabled
Samsung LED HDTV (UN46C6300)                           Windows 7 Enterprise x64 SP1
Samsung USB Drives [2x2TB] (HX-DT020EB/B62)      Asus RT-N66U Router (FW 3.0.0.4.260)
Analog audio output to Pioneer Receiver (VSX-516)   HDMI audio output to HDTV

Offline Mede8er1

  • Administr8or
  • Hero Member
  • ******
  • Posts: 3 766
  • Helpful Contribution Status: +100/-24
Re: Mac OS X Favorite Manager
« Reply #4 on: May 09, 2012, 07:54:48 pm »
mognons

Happy to put this on our FTP and create a download link.

Just mail it to technical@mede8er.com

Mede8er1

Mede8er1
The Greatest Show on Earth
Read the user Guides
http://www.mede8er.com/mede8er_support_user_guides.htm

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #5 on: May 09, 2012, 07:57:50 pm »
I load all the FavLink files (from flash, usb and card), read the corresponding XML, reorder their timestamp (that's the "sort key" for the mede8er firmware) according to what the user have done with the application and then rewrite the modified FavLink files to the place they belong to.

The only "challenge" is to get to the FavLink_NET that's stored in flash memory.
As you suspect, that's where the "web remote" part comes into play, in particular I make use of the cubermctrl.cgi which is made available via the embedded HTTP server. Beware: this CGI is widely undocumented, so take care when playing with  8)

If you have any other question feel free to ask. If moderators have nothing to say against it, of course  :-X


@Meder8er1
the zip file containing the application is on his way to technical@mede8er.com...
no installer is provided because the application is self-contained and need nothing but itself.
Thank you for caring  ;)
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #6 on: May 09, 2012, 08:23:31 pm »
Here's a "small" screenshot of Favourite Manager in action...


By mognons at 2012-05-09
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline Unreal

  • B8a Tester - X2
  • Experienced Member
  • ****
  • Posts: 228
  • Helpful Contribution Status: +1/-0
    • UnrealRG Home Page
Re: Mac OS X Favorite Manager
« Reply #7 on: May 10, 2012, 12:56:17 am »
@mognons

Wow, the <Timestamp> field.  Seems so obvious for the order.  Thanks.
MED450X2 with PCIe Wireless                                 Firmware 3.0.2, NAS off, DLNA DMR&DMS enabled
Samsung LED HDTV (UN46C6300)                           Windows 7 Enterprise x64 SP1
Samsung USB Drives [2x2TB] (HX-DT020EB/B62)      Asus RT-N66U Router (FW 3.0.0.4.260)
Analog audio output to Pioneer Receiver (VSX-516)   HDMI audio output to HDTV

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #8 on: May 12, 2012, 08:23:10 pm »
While I may suppose that nobody is interested in trying this little app, I have to say thanks to mede8er staff that acknowledged
 to make Favourite Manager available thru their own FTP site.

Anyway, should anybody have difficulties with FTP, here is a viable alternative via DropBox: http://dl.dropbox.com/u/12117639/Favourite%20Manager.zip

Enjoy!

m.

Post scriptum: how many users here are Mac addicted?
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline mede8dax

  • X3D Skin Designer
  • Newbie
  • ***
  • Posts: 2
  • Helpful Contribution Status: +0/-0
Re: Mac OS X Favorite Manager
« Reply #9 on: March 25, 2013, 10:38:44 am »
Great. Will this work for the 600x3d?
600X3D

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #10 on: March 25, 2013, 10:43:23 am »
It should work, but it has been reported that it fails with NFS-based favorites: when it was written I had no NFS share to test it with ;)

Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline Lock

  • B8a Tester - X3D Movie Scraper
  • Active Member
  • ****
  • Posts: 83
  • Helpful Contribution Status: +1/-0
Re: Mac OS X Favorite Manager
« Reply #11 on: August 06, 2013, 08:39:04 am »
I confirm it doesn't seems to work. I've a 600X3 and my favorites are via NFS.
The app gets stuck on retrieving data from the device. :(

Is there any other way to edit it? Even manually?
Thanks.

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #12 on: August 06, 2013, 08:48:02 am »
Yep, it does not with current firmware on X3 series. The project is quite old and based on reverse enginereed informations based on the old X2 firmware.

You cannot edit the favorite XMLs by hand as they are stored INSIDE your mede8er and cannot easily retrived and stored back after editing. That's why FavMan does not work anymore…
Only USB disk based favorites can be edited, either by hand or via this application.
Should Sanji or Mede8er make available a new way to interact with the "insides" of the device, I could update the app to work with new firmware.

Desolato...
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er

Offline Lock

  • B8a Tester - X3D Movie Scraper
  • Active Member
  • ****
  • Posts: 83
  • Helpful Contribution Status: +1/-0
Re: Mac OS X Favorite Manager
« Reply #13 on: August 06, 2013, 09:23:42 am »
I was "able" to extract a Mede8er.cfg from a USB key (I guess it's a copy of the configuration I've saved from the setup option).
Do you think it's not possible to manually edit that one somehow and then restore it to Med using the same setup option?
Also I've no idea about the format, opening it it doesn't seems plain text.

Thanks. :)

Edit: eh eh I drag&dropped the file in the address file of application but it only accepts an IP. :P

Offline mognons

  • B8a Tester - 1000X3D
  • Experienced Member
  • ****
  • Posts: 209
  • Helpful Contribution Status: +0/-0
  • printf("Hello, world! \n");
    • myrtaART: Applications, Resources and Tools
Re: Mac OS X Favorite Manager
« Reply #14 on: August 06, 2013, 09:28:06 am »
AFAIK the .cfg file does not contain any information about favorites, but I may be wrong 'cause I'm not looking at one of these files since last year and, you know, things may change  ;D

I know the format of a favorite entry and could take a look at your cfg file to see if contains any useful info. Should you want me to analyze it, just send it to me by email...
Mede8er 1000X3D, Onkyo HT-R390, LG 47LW570G (3D, DTT+SAT, LED Local dimming), LG BD-660 (Bluray 3D player), Apple TV (3rd gen.)
Proud user of DuneX2Mede8er