rejetto forum
February 11, 2012, 01:34:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: 1 [2] 3
  Print  
Author Topic: A way to display *.mp3 tags  (Read 32514 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11759


View Profile
« Reply #15 on: July 07, 2007, 05:58:41 AM »

i'm unsure about understanding what you are proposing maverick....  have no new feature about it?

anyway, as i'm proposing, HFS would not detect any change about the mp3 files... it just can't! when i move a file, no "time field" is updated in the file system (AFAIK).
if you change an mp3 folder, and you want your description to be updated, just delete it, and HFS will call mp3toIon.
Logged
xitsa
Guest


Email
« Reply #16 on: July 07, 2007, 06:35:19 AM »

A *.bat to fast descript.ion update:
Code:
@echo off
mp3ToIon.exe
for /r /d %%a in (*) do (
  pushd %%a
  %~dp0mp3ToIon.exe in %%a
  popd
)
Put mp3ToIon.exe and Update.bat in root directory and run Update.bat.
It recursively walk through subfolders and run mp3ToIon.exe there

* update.zip (0.19 KB - downloaded 477 times.)
Logged
TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« Reply #17 on: July 07, 2007, 07:08:43 AM »

I shall take a closer look to this ! sounds rather cool, thanks xista.
But my music tagging is already tighted up through JRiver media tools
Tcube
Logged

Make it idiot-proof and I will make a better idiot
KalleB
Experienced poster
***
Offline Offline

Finland Finland

Posts: 97



View Profile
« Reply #18 on: July 07, 2007, 01:39:11 PM »

I'd say it should work like this:

* If descript.ion file is not present in the mp3 folder, HFS calls Mp3ToIon.exe to generate one.

* If the file is already there, HFS checks if there is a descript.ion entry for each file listed in the files.lst
--- If the lists match, HFS does nothing
--- If they don't, call Mp3ToIon to generate new descript.ion

If someone does not want this kind on function and likes to update everything manually himself, he could just leave the Mp3ToIon.exe out of HFS folder Smiley
« Last Edit: July 07, 2007, 01:44:14 PM by KalleB » Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #19 on: July 07, 2007, 02:25:43 PM »

i'm unsure about understanding what you are proposing maverick.... 

Quote from: kalleb
I'd say it should work like this:

Yes that is what I was trying to say in my post here -> http://www.rejetto.com/forum/index.php?PHPSESSID=5916cdd7407f8478928e19323d4e3696&topic=4600.msg1024677#msg1024677

Looking at that post I guess it wasn't clear enough.  Last post before bed. Smiley
Logged

maverick
Fernando
Guest


Email
« Reply #20 on: August 09, 2007, 10:58:31 AM »

To make everyone happy, I would suggest a plugin solution: HFS searches at startup for special DLL's having an entry point called RegisterPlugin, which returns a plugin name and the extension(s) that it handles.
A voice could then be added on a plugin menu in HFS to enable plugins in sected dirs.
Just before showing each file, HFS calls a method in the plugin that displays info.
This way Rejetto can achieve the purpose without having to code himself and letting us do the work  Grin
Also, with everybody's help we could have a lotta plugins for avi, mp4, ogg, mp3, flv etc.
Logged
rejetto forum
« Reply #20 on: August 09, 2007, 10:58:31 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11759


View Profile
« Reply #21 on: August 12, 2007, 08:48:59 PM »

do you think we would see many plugins?
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1916



View Profile WWW
« Reply #22 on: August 12, 2007, 11:47:32 PM »

I like the idea of plugins. It's worked for many other programs...it will also give HFS users more freedom... Especially if the plugin system allows access to most of HFS... search engine anyone? Tongue


There is a question of security... lets hope no one makes any malicious plugins...
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11759


View Profile
« Reply #23 on: August 13, 2007, 04:58:49 PM »

because you think a plugin system would "open" hfs to any feature.
it's not so, i have to open every single bit. it's a dirty long job. and that's the main reason i would like to see HFS made in python. it would open everything with no effort. (but it means to rewrite HFS from scratch, months of hard work)
Logged
ledufe
Tireless poster
****
Offline Offline

Brazil Brazil

Posts: 272


LEandro DUpont FErreira

ledufe@hotmail.com
View Profile WWW Email
« Reply #24 on: September 24, 2007, 04:16:32 PM »

and what about the action script from flash? since we dont have php or asp to access the files, the flash player can access the id3 of a mp3 file...
here is the info about how to do it...
http://livedocs.adobe.com/labs/air/1/jslr/flash/media/Sound.html#id3
i will test it later...
Logged

<<LeDuFe>>
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11759


View Profile
« Reply #25 on: September 25, 2007, 07:57:22 AM »

yes, but it does it client-side.
it has to download those info.
it's way slower.
Logged
ledufe
Tireless poster
****
Offline Offline

Brazil Brazil

Posts: 272


LEandro DUpont FErreira

ledufe@hotmail.com
View Profile WWW Email
« Reply #26 on: September 25, 2007, 08:05:02 PM »

sorry, i thought that could be used in a web page....
Logged

<<LeDuFe>>
parade
Tireless poster
****
Offline Offline

Germany Germany

Posts: 138


View Profile
« Reply #27 on: November 03, 2007, 05:52:09 AM »

A *.bat to fast descript.ion update:
Code:
@echo off
mp3ToIon.exe
for /r /d %%a in (*) do (
  pushd %%a
  %~dp0mp3ToIon.exe in %%a
  popd
)
Put mp3ToIon.exe and Update.bat in root directory and run Update.bat.
It recursively walk through subfolders and run mp3ToIon.exe there

I tried "update.bat" and it does not work in my directory-structure. I think that is because my starting "root-directory" for my MP3-files is a subdirectory of upper directories with spaces in it.
If I start it from a root without spaces in the upper path, it does not work as wanted either:
The descript.ion-files in the subdirectories don't get the descriptions I configurated in my ini-file. They contain only Interpreter and Songtitle. The descript.ion-file in the root is build in the correct way. The reason for this is obviously that mp3ToIon.exe doesn't read the ini-file, when working on subdirectories of the root. Instead of this it takes the constants in the exe. If I place the ini-file in the subdirectory too, all works as intentioned.

I have to admit that I don't really understand the code in the Batch-file.
My understanding in batch-code is very basic.
Can anybody tell me what I have to do, to make it work properly.

Thanks
parade
« Last Edit: November 03, 2007, 01:43:12 PM by parade » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11759


View Profile
« Reply #28 on: November 04, 2007, 12:36:53 AM »

when spaces occur, the solution is often to "quote" the filename
Logged
parade
Tireless poster
****
Offline Offline

Germany Germany

Posts: 138


View Profile
« Reply #29 on: November 04, 2007, 01:52:20 AM »

when spaces occur, the solution is often to "quote" the filename
Thank You rejetto. I knew that but as I did not understand the batch-file (update.bat), I did not know where to place the quotes.
Since yesterday I read a little about batch-files and now I know I have to put "%~dp0" in quotes.

But the main problem is still unsolved for me.
Mp3toion.exe needs its ini-file in the directory in which it is working in. As this directory changes all the time in the loop it doesn't have the ini-file in the subdirectories in which it is executing. Without the ini-file to read the parameters it executes with the defaults in the program and that are only %2 and %1.

I don't know whether and how to resove this in an batch-file.
Maybe it is necessary to change the program itself but I know even less about Delphi than about batch-files. Wink

I like this solution with the detailed information from the ID-tag in the descript.ion very much, but without a working batch-solution for subdirectories would be far too much work to do. My MP3s are sorted:
First directoty (root): MP3s
First subdirectory: Initial letter of the artist
Second Subdirectory: Artist
« Last Edit: November 04, 2007, 01:59:18 AM by parade » Logged
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 04, 2012, 02:12:08 PM