Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > FrodoPlayer


Reply
 
Share Thread Tools Display Modes
Old 11-27-2004, 10:05 PM   #1
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
FrodoPlayer on read only drive/ or 2nd partition

There some serious progress on running WinXP Pro on a CF card read only. See this thread.

In short,the system will be resuming from the same hibernation file over and over again, regardless of its state when it's shutdown(even if you cut the power). So the state FrodoPlayer was in at the time the system is set read only, will be its state at every startup. The only way around this is to have it's config files(or just state file) on a seperate partition. Maybe a small one, the last 10megs of the CF card.
The best solution would be for the EWF API to be used. I haven't looked into to deep, so I'm not totally sure if it can be used to just commit a single file or not.
Has anybody else looked into this?
Frodo, what do you think would be involved in having the file that remembers the state of the application in a location other than FrodoPlayer. For example D:\UserData\FrodoPlayer\state.ini
knubile is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 11-27-2004, 10:45 PM   #2
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
Well first off, you're going to want FrodoPlayer on a writeable drive.
That way you can do DB updates etc.
But even if FrodoPlayer is on a writeable medium, if frodoplayer thinks it has hibernated, it is going to start up from that hibernate state.

This is going to take some thought on how to make it work cleanly.
Frodo
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 11-28-2004, 04:51 AM   #3
Maximum Bitrate
 
Bravellir's Avatar
 
Join Date: Dec 2003
Location: Porto, Portugal
Posts: 741
Bravellir is on a distinguished road
It could save state every x seconds ( configurable by the user ), so that even on power loss it would resume back to ( almost ) last state. This process of state saving would have to be quick enought to not interfere with system. But then a cf card might not be the best medium for the FP state file, because of number of writes.
__________________
Ikea Case. Epia M10000.M1-ATX. 512 Mb. 2,5" 80 GB HDD. 7" Lilliput. BU-303 GPS. Sony Joystick.
Status -->
Lilliput Installed (not indash yet..)
BraveCar 2.5
Bravellir is offline   Reply With Quote
Old 11-28-2004, 05:49 AM   #4
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
It's not a very hard problem to solve. I just have to figure
out exactly what to do, and to do it gracefully.
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 11-28-2004, 10:32 AM   #5
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
What about the db and state file on a writabe partition on the CF card. How big does the db get?
knubile is offline   Reply With Quote
Old 11-28-2004, 10:46 AM   #6
MySQL Error
 
jcdillin's Avatar
 
Join Date: May 2003
Location: Miami, FL
Posts: 4,040
jcdillin is on a distinguished road
with 3,000 songs my DB is 1.8MB
__________________
肚子笑痛了
S60 Install
jcdillin is offline   Reply With Quote
Old 11-28-2004, 10:49 AM   #7
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
Well, that's not bad at all. With a 1gig CF card, keeping even 50megs on a second partition isn't hard at all and that seems like it'll be plenty of space.
knubile is offline   Reply With Quote
Old 11-28-2004, 12:39 PM   #8
SWC
Constant Bitrate
 
Join Date: Aug 2004
Location: Baltimore
Posts: 165
SWC is on a distinguished road
Quote: Originally Posted by jcdillin
with 3,000 songs my DB is 1.8MB


13,226 files here and my db is 13.8MB. So it obviously doesn't scale probably depends on the complexity of your id3 tags etc. I have all but maybe 100-200 of them fully tagged.
SWC is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 11-28-2004, 12:44 PM   #9
MySQL Error
 
jcdillin's Avatar
 
Join Date: May 2003
Location: Miami, FL
Posts: 4,040
jcdillin is on a distinguished road
yeah all of mine are tagged fully as well. of course thats a MDB for ya. least you can open it and take a look at it.
__________________
肚子笑痛了
S60 Install
jcdillin is offline   Reply With Quote
Old 11-28-2004, 08:02 PM   #10
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
Even 14megs is nothing. i'm thinking a sub 500meg install of xp is enough for frodoplayer,phonecontrol(.net), and destinator. 256megs for a hiberfil.sys(256megs of ram). Now that leaves 256 megs on a 1gig CF card. That's plenty of extra space for any config or state files. Databases too.
512 megs of ram will change things for sure. This may not be a neccessary solution for some, but many of us are concerned with laptop drives in sub freezing temperatures. I for one have heard some pretty scary noises come from my laptop drive, and we haven't even hit -10C yet. I don't want to risk it at -30C.
knubile is offline   Reply With Quote
Old 12-02-2004, 03:52 PM   #11
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
So what do you think Frodo? Are the state and db files in a configurable location easy enough to handle?
While write protection is disabled, define in the settings where the state file and db should be written. Then enable the write protection and voila!
Not a bad idea have these configurable anyways. It will allow people to delete their frodoplayer install without losing their data. Easy to move that data to another system with their mp3/video collection too.
I could help out if you want. Is FrodoPlayer opensourced?
knubile is offline   Reply With Quote
Old 12-03-2004, 03:21 PM   #12
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
*bump*
Not sure if this slipped under the radar.
knubile is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive upgrade problems :-( Arex General Hardware Discussion 10 04-29-2006 01:53 PM
Hard drive shock problems. Mikesz General Hardware Discussion 8 03-21-2005 04:37 PM
All-electronic flash drive and solid state hard drive Typhoon747 General Hardware Discussion 12 12-12-2003 03:20 PM
External notebook hard drive help mtmsol General Hardware Discussion 4 04-18-2002 01:24 PM
Idea to protect the hard drive... Szech General Hardware Discussion 9 01-29-2001 10:55 AM



All times are GMT -5. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics