|
 |
|
08-29-2004, 05:53 AM
|
#166
|
|
FreeDrive Creator
Join Date: Feb 2004
Location: Manchester
Posts: 3,196
|
good point, I never thought of doing that.. on the cpu stats and stuff I have included a file that I use on IRC.. I'm unsure if it will be any good, but it does include a .dll which you may be able to use. Sorry if this is no good, but I think its better to mention it just incase it does help.
CdR
just added a more upto date version of moo.dll
Last edited by CdRsKuLL; 08-29-2004 at 05:57 AM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
08-29-2004, 08:33 AM
|
#167
|
|
FreeDrive Creator
Join Date: Feb 2004
Location: Manchester
Posts: 3,196
|
just tried the 2nd released version of headunit (win32).. its looking good :-) I know theres still alot to do on it, but its certainly grown. I was wondering how you have mapped the volume. It doesnt seem like its mapped to master volume, when I click up/down my slider doesnt move, although the sound does increase. But my master is always set to around 10%, which means I dont start hearing music till HU is showing 60% if you know what I mean. Thats my only question at the mo.. hope the moo.dll file comes in handy, if you view one of the files with it, you can see how the dll will return values you need, from graphics cards to temps :-)
cheers
CdR
|
|
|
08-29-2004, 08:21 PM
|
#168
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
cdr, thanks for the moo.dll file. I'm not sure if I can use it directly without any sort of API information, but I'll look into it. Also, you're right, the volume buttons only control the "local" volume of the headunit program. I'll change it so it controls the master volume.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
08-30-2004, 01:25 AM
|
#169
|
|
Newbie
Join Date: Apr 2004
Posts: 1
|
I was playing around with it a little today and got access to the functions in the dll. Just a matter of pasting it into headunit and finding a good spot to report the info. Here's the typedef for the functions:
typedef int (__stdcall *TMooDll)(HWND,HWND,char*,char*,BOOL,BOOL);
It exports functions connection, cpuinfo, diskcapacity, gfxinfo, interfaceinfo, mbm5info, mbm5version, meminfo, netcapacity, osinfo, rambar, screeninfo, uptime and version. The char parameters are really the ones of use. The window handles are for the mirc window, first char * is for data, second is for parameters into the dll function. The return type tells you what(if any) data is valid. For example, a return of 3 means the 3rd parameter passed has data(the first char *).
I've got a VS project that reads the values from the function if you want me to pass it over. Otherwise, whoever gets to it first gets it into headunit.
The mbm5 functions are the ones dealing with the sensors on the motherboard.
|
|
|
08-30-2004, 05:28 AM
|
#170
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
knobby, nice work.  I just checked in some more new code into the CVS tree so you can go ahead and add in the sensor stuff if you want.
Meanwhile, I just finished adding in support for ID3 tags and album art. (Just use the link to headunit-0.2.exe in my first post to try it out). To use album art, just put a .jpg file containing the picture into the directory containing your album tracks. As long as the file end in ".jpg" it will automatically be used as the album cover. I am storing them in the database as well, so if you change an album cover, be sure to re-sync the database.
I'll try to do the video code in the next couple of days. After that, I'm going to get started on embedding iGuidance.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
08-30-2004, 04:10 PM
|
#171
|
|
FreeDrive Creator
Join Date: Feb 2004
Location: Manchester
Posts: 3,196
|
I will have ago at doing a skin for the motherboard sensors if you want.. I will include
connection, cpuinfo, diskcapacity, gfxinfo, interfaceinfo, mbm5info, mbm5version, meminfo, netcapacity, osinfo, rambar, screeninfo, uptime and version in it.. If this is ok, what skin would you prefer it to be in.. the brush alum one maybe ? also in the skin config file, are you using the L01 as the index (unsure if this is the right word) or you using ie. 'time' ?
cheers
CdR
|
|
|
08-30-2004, 05:40 PM
|
#172
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
Quote: Originally Posted by CdRsKuLL
I will have ago at doing a skin for the motherboard sensors if you want.. I will include
connection, cpuinfo, diskcapacity, gfxinfo, interfaceinfo, mbm5info, mbm5version, meminfo, netcapacity, osinfo, rambar, screeninfo, uptime and version in it.. If this is ok, what skin would you prefer it to be in.. the brush alum one maybe ? also in the skin config file, are you using the L01 as the index (unsure if this is the right word) or you using ie. 'time' ?
cheers
CdR
Cdr, fantastic! Let's do the brush alum first, since it's the default anyway. I was thinking that since we will be adding even more features that MediaCar never supported (like sensors, XM and, so it may make more sense for us to do our own skin from scratch (unless we can get feb or more mods to consistently work with us on the new mods to their skins). Cdr, if you have skinning skills, maybe you can take over on this?
Anyway, regarding the L01 index v. "TIME" issue, it turns out that MediaCar used the latter ("TIME") so I adopted that same scheme. So, you would do something like this:
L01,xxx,yyy,www,hhh,rrr,ggg,bbb,pt,font,"TEMP","CP U Temperature"
The L01 doesn't matter, as long as it starts with an "L" and it is unique.
Also, can you add a button on the main page that takes you to the status screen? Thanks.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
08-30-2004, 05:59 PM
|
#173
|
|
Variable Bitrate
Join Date: Oct 2003
Posts: 374
|
Looking forward to playing around with the latest version. Good to see you're still working on it!
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
08-31-2004, 01:40 AM
|
#174
|
|
FreeDrive Creator
Join Date: Feb 2004
Location: Manchester
Posts: 3,196
|
will something like this do ?
Last edited by CdRsKuLL; 08-31-2004 at 05:36 AM.
|
|
|
08-31-2004, 08:38 PM
|
#175
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
cdr, looks great! thanks for the other skins you sent me as well. knobby or I will try to work on integrating the satus info asap.
rgardjr, thanks. good to see there is still interest...
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
09-01-2004, 10:28 AM
|
#176
|
|
Maximum Bitrate
Join Date: May 2003
Location: Atlanta, Ga.
Posts: 873
|
I could not get through the db sync, it crashed every time. here's what I did every time it crashed i deleted the folder that was being added to the db until it made it through db build. I think its because of duplicate files. I have complete albums so a song may be on more than one album, but its still the same artist/song.
Also the player doesnt play music, I can browse and queue, but not play.
|
|
|
09-01-2004, 02:07 PM
|
#177
|
|
Newbie
Join Date: Aug 2004
Location: Clarksville, TN US
Posts: 34
|
Head Unit Distribution
Hey just wanted to know if there had been a distribution started. I saw talks of one but nothing stated where to find it. The reason that I asked is that I have started on my CarPC and have completed building LFS. I am also pretty good at linux bash scripting, and splicing things together and would liket to help create a distribution for this.
Thanks,
Benjamin Pierce
__________________
I didn't turn my back on my country, my country turned it's back on me.
|
|
|
09-01-2004, 05:54 PM
|
#178
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
Quote: Originally Posted by more mods
I could not get through the db sync, it crashed every time. here's what I did every time it crashed i deleted the folder that was being added to the db until it made it through db build. I think its because of duplicate files. I have complete albums so a song may be on more than one album, but its still the same artist/song.
Also the player doesnt play music, I can browse and queue, but not play.
More mods, can you send me a list of the files in the bad directory? Duplicate files shouldn't be a problem. Try deleting the headunit.db file as well before you sync (in case it was there from a previous version).
Regarding the playback, did you try turning the volume up? The default is set to 50% when you first run the program and it is very quiet. Were you able to play songs using an older version of headunit?
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
09-01-2004, 06:01 PM
|
#179
|
|
Variable Bitrate
Join Date: Apr 2004
Location: Boston
Posts: 360
|
Quote: Originally Posted by bpierce815
Hey just wanted to know if there had been a distribution started. I saw talks of one but nothing stated where to find it. The reason that I asked is that I have started on my CarPC and have completed building LFS. I am also pretty good at linux bash scripting, and splicing things together and would liket to help create a distribution for this.
Thanks,
Benjamin Pierce
Benjamin,
Pudge was going to look into this, but I think he's been pretty busy lately with other things. If you could try to put something together that contained qt, sqlite, xine, alsa, id3lib and headunit (plus all their dependencies), that would be fantastic! We would need to provide an option during installation of what hardware is in your setup to keep the installed drivers to a minimum.
__________________
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
|
|
|
09-01-2004, 07:00 PM
|
#180
|
|
Variable Bitrate
Join Date: Oct 2003
Posts: 374
|
Quote: Originally Posted by more mods
I could not get through the db sync, it crashed every time. here's what I did every time it crashed i deleted the folder that was being added to the db until it made it through db build. I think its because of duplicate files. I have complete albums so a song may be on more than one album, but its still the same artist/song.
Also the player doesnt play music, I can browse and queue, but not play.
I'm running into the same problem. It will crash at number 23 when it builds the db. If I change the directory to single album it will build the db and I can browse the songs, but it won't play the music. Turning volume up doesn't help in may case. The song doesn't get played-I see a dos command window that states: open failed: d:\\mp3\\a perfect circle\thirteenth step\\01-The Package.mp3 The previous version of headunit ran on this pc. Hope this is of some help.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:51 PM.
| |