LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2015, 12:26 PM   #16
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515

bassmadrigal and schneidz, thanks for the clarification.
It seems that a simple solution like reading data from tag (or even from
an external database) is out of consideration.
 
Old 01-13-2015, 01:17 PM   #17
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
maybe. what does
Code:
strings file.mp3 | head && strings file.mp3 | tail
print out ?
 
Old 01-14-2015, 02:55 AM   #18
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
sorry for the delay.....i got busy....read through each of the posts and suggestions....thanks...will post my replies soon...
 
Old 01-14-2015, 04:03 AM   #19
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
maybe. what does
Code:
strings file.mp3 | head && strings file.mp3 | tail
print out ?
Code:
bash-4.2# strings VZTO.mp3 | head && strings VZTO.mp3 | tail
¥¢Ér
°È2ÞX
T]j$l¹v¢
§xD³aG=ôq»Fyå`d
´åHRe
_Ñ°[ì²
T&h¹í¤1>Ñ
`;±4ADRA´HdCN/ÝDÓª¡ìâ?þ^³ÿ
9˽_ûa<(0F
U)¹|ÿû
?.ÿ2)ÿ
^yÎ-Ý
¹sçû
£C(TäáÔx
k;3ø
ßÿý+5õb:_÷¶R
//é5
ä`AðÔOTÑ)
RîVmhU.º5
ÚTAGI've gotta get a message to u BeeGees                       One night only                1999By Exorcist Junior            ÿ
 
Old 01-14-2015, 06:49 AM   #20
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by nitecrawler View Post
Code:
ÚTAGI've gotta get a message to u BeeGees                       One night only                1999By Exorcist Junior            ÿ

This file doesn't have an id3v1 tag
Code:
$ strings 03.\ Summertime.mp3 |head
vTIT2
SummertimeTPE1
Big Brother & The Holding CompanyTALB
Cheap ThrillsTYER
1968TRCK
03TCON
Blues
rB0D
_Nu/lz-
mvN     b

$ strings 03.\ Summertime.mp3 |tail
zR.H%
@\|y<
23GT
%;&v
BhjS
)IS3Y
u1i<
U]2m
A#m 
^Y*(
Same file after editing to add id3v1 tag
Code:
$ strings 03.\ Summertime.mp3 |head
vTIT2
SummertimeTPE1
Big Brother & The Holding CompanyTALB
Cheap ThrillsTYER
1968TRCK
03TCON
Rock
rB0D
_Nu/lz-
mvN     b

$ strings 03.\ Summertime.mp3 |tail
%;&v
BhjS
)IS3Y
u1i<
U]2m
A#m 
^Y*(
TAGSummertime
Big Brother & The Holding CompCheap Thrills
1968
It seems that head output is id3v2 and tail output is id3v1,
then tail output is 'title artist album year (comment maybe)'
There is no track number or genre fields.

But I don't know how to get the content, there is no separation

This is a good way to see tag content, but if the tag is present inside the
file then other program would be able to read it and output in a better way.
 
1 members found this post helpful.
Old 01-14-2015, 08:13 AM   #21
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Paulo2 View Post
This file doesn't have an id3v1 tag
Same file after editing to add id3v1 tag
Code:
$ strings 03.\ Summertime.mp3 |head
vTIT2
SummertimeTPE1
Big Brother & The Holding CompanyTALB
Cheap ThrillsTYER
1968TRCK
03TCON
Rock
rB0D
_Nu/lz-
mvN     b

$ strings 03.\ Summertime.mp3 |tail
%;&v
BhjS
)IS3Y
u1i<
U]2m
A#m 
^Y*(
TAGSummertime
Big Brother & The Holding CompCheap Thrills
1968
It seems that head output is id3v2 and tail output is id3v1,
then tail output is 'title artist album year (comment maybe)'
would like to know, how you figure out they different versioned outputs thats id3v1 and id3v2?

and another program you mean like gtkpod,banshee(thanks schmatzler) or any specific libraries you know say like puddletag (bassmadrigal suggested but it dint work...something along these lines yes would be even better...)
 
Old 01-14-2015, 08:14 AM   #22
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Paulo2 View Post
...
But I don't know how to get the content, there is no separation
...
seems like there is exactly 31 spaces for each field (except for the 4 digit year). i would assume the track number is some binary (that strings cant pull -- probably is able to be viewed via hexedit).

what is by Exorcist Junior by the way ?

the tag info is in the file... i'm surprised id3info isnt capturing the data from the it00nz file ?

Last edited by schneidz; 01-14-2015 at 08:17 AM.
 
Old 01-14-2015, 08:43 AM   #23
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
seems like there is exactly 31 spaces for each field (except for the 4 digit year). i would assume the track number is some binary (that strings cant pull -- probably is able to be viewed via hexedit).

what is by Exorcist Junior by the way ?

the tag info is in the file... i'm surprised id3info isnt capturing the data from the it00nz file ?
by Exorcist well....the song doesnt have it...striking me here when you asked....some meta-data of the file say like some guy added his nickname to it and then uploaded...while i downloaded that i got it too....

edited:
when i check /var/log/packages i dont have this library you talk of id3info...am i missing something?

Last edited by nitecrawler; 01-14-2015 at 08:49 AM.
 
Old 01-14-2015, 08:53 AM   #24
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
on fedora i got it from running this command:
Code:
sudo yum install id3lib
not sure how to install it on slackware.
 
Old 01-14-2015, 09:06 AM   #25
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by nitecrawler View Post
when i check /var/log/packages i dont have this library you talk of id3info...am i missing something?
It's part of id3lib. You can get it via slackbuilds.org or grab Eric's precompiled package.

http://www.slackware.com/~alien/slac..._64-5alien.tgz
 
Old 01-14-2015, 09:22 AM   #26
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
It's part of id3lib. You can get it via slackbuilds.org or grab Eric's precompiled package.

http://www.slackware.com/~alien/slac..._64-5alien.tgz
thanks....installed it....no change to filenames still....
 
Old 01-14-2015, 09:24 AM   #27
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
on fedora i got it from running this command:
Code:
sudo yum install id3lib
not sure how to install it on slackware.
thats the slackware installation for you...kind of twisted process but hey u r in control and it kind of keeps me less freaked out....so i got it installed....no change to filenames still..

Last edited by nitecrawler; 01-14-2015 at 09:28 AM.
 
Old 01-14-2015, 09:24 AM   #28
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by nitecrawler View Post
thanks....installed it....no change to filenames still....
^ well... does it list the contents of the id3tag info as its supposed to (what did you run and what was the output/error) ?
if not, maybe apple is doing something naughty to it00nz mp3's to break compatibility with standard tools.

Last edited by schneidz; 01-14-2015 at 09:26 AM.
 
Old 01-14-2015, 09:31 AM   #29
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
^ well... does it list the contents of the id3tag info as its supposed to (what did you run and what was the output/error) ?
if not, maybe apple is doing something naughty to it00nz mp3's to break compatibility with standard tools.
Code:
strings filename.mp3 | head
&&
strings filename.mp3 | tail
edited:
i dont see anything added there and my filenames remain the same as before.....

Last edited by nitecrawler; 01-14-2015 at 09:31 AM. Reason: added comment
 
Old 01-14-2015, 09:37 AM   #30
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
id3info is a command you would run on the file. It wouldn't change the output of the strings command. What happens if you run id3info /location/to/music_file.mp3?

Here's the output from mine:

Code:
jbhansen@craven-moorhead:~$ id3info "/share/music/My Music/30 Seconds to Mars/A Beautiful Lie/01 - Attack - 30 Seconds to Mars.mp3" 

*** Tag information for /share/music/My Music/30 Seconds to Mars/A Beautiful Lie/01 - Attack - 30 Seconds to Mars.mp3
=== TIT2 (Title/songname/content description): Attack
=== TPE1 (Lead performer(s)/Soloist(s)): 30 Seconds to Mars
=== TALB (Album/Movie/Show title): A Beautiful Lie
=== TYER (Year): 2006
=== TRCK (Track number/Position in set): 1
*** mp3 info
MPEG1/layer III
Bitrate: 128KBps
Frequency: 44KHz
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I Just Mounted my iPod... But What Happened to My Music Filenames? hunterjoz1996 Linux - General 8 07-03-2014 09:03 AM
Support the Linux iPod Touch(Apple) movement. Goddard General 26 12-20-2009 02:36 AM
Linux OS for Apple Ipod Touch theunixwizard Linux - Laptop and Netbook 2 04-30-2008 08:45 PM
WTS apple ipod Touch jdphones1 Linux - Newbie 1 02-08-2008 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration