25 May '13 - 07:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1] 2  All
  Reply  |  Print  
Author Topic: storing steam tags in library  (Read 6764 times)
amit
Posts: 718


« on: 15 Sep '06 - 16:31 »
Reply with quoteQuote

Hello,

I am using a local server to stream audio files in a local network.When these files are played their tags are read correctly but the information is not stored in the library.
Can you enable saving steam tags in the library instead of only their title?

Thank you,
Amit.
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #1 on: 17 Sep '06 - 16:59 »
Reply with quoteQuote

When you say "stream audio files", do you mean the actual files, or a Shoutcast/Icecast arrangement? If the former, the tags (title/artist/etc) should be stored in the library, just like with a normal local file. If they're not, are you sure the files/streams are in the library?
Logged
amit
Posts: 718


« Reply #2 on: 17 Sep '06 - 19:22 »
Reply with quoteQuote

The files are in the format :
http://127.0.0.1:8080/album/track.mp3

From looking at the message window while playing I see the player can read their tags but the information is not transfered to the library. In the library only the titles are shown.
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #3 on: 18 Sep '06 - 15:40 »
Reply with quoteQuote

Are you sure you're not talking about the playlist, rather than the library? If you right-click the track entry and select "Track info", is the "In library" box ticked?
Logged
amit
Posts: 718


« Reply #4 on: 18 Sep '06 - 21:27 »
Reply with quoteQuote

The 'in library' box in the info window is ticked .All the tag fields are blank except the title field.

In the messege window I can see the id3v2 tag at first and a few seconds later the id3v1 tag. I assume thats because of the tags' place within the files : begining vs the end. Anway the tag info fields in the track info window remain blank even when id3v1 tags are recieved.
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #5 on: 19 Sep '06 - 15:44 »
Reply with quoteQuote

Strange. The track tags should be updated when the ID3 tag is received, unless your web server isn't telling the file size, in which case XMPlay will assume it's never-ending and will treat it like a netradio stream. Is the position slider visible while playing the file? If so, please upload the file to have a look at here...

   ftp.un4seen.com/incoming/
Logged
amit
Posts: 718


« Reply #6 on: 19 Sep '06 - 23:38 »
Reply with quoteQuote

Hello Ian ,I uploaded two files: one of nina simone and the other of keane . I saved them using the right click menu command  'write to disk'.
When playing from the server I can see the files length and size in the track info window and use the position slider.

Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #7 on: 20 Sep '06 - 15:48 »
Reply with quoteQuote

That's very strange. The files look ok, so I'm not really sure what's going on. Please upload your XMPLAY.LIBRARY file to have a look at, in case there are any clues in there.
Logged
amit
Posts: 718


« Reply #8 on: 20 Sep '06 - 17:56 »
Reply with quoteQuote

I uploaded it.I hope it helps.
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #9 on: 23 Sep '06 - 12:40 »
Reply with quoteQuote

I can only think it must be the server software doing something (sending headers) to make XMPlay think it's a Shoutcast/Icecast server - what server software are you using? Do you see any other tags (besides the ID3) in the message info text?
Logged
amit
Posts: 718


« Reply #10 on: 23 Sep '06 - 20:07 »
Reply with quoteQuote

I am using JBHTTP .It is an http server that interfaces with Creative Nomad Jukebox portable player. As there is no other way to play files directly from creative players this server enables the streaming of the files as shoutcast streams.

I don't know exactly how it operates so maybe It act abnormally .I have its source code but I can't figure out much from it .

When I play the streams besides the usual tags (ID3 and Apev2) I see only the name tag at the top.


Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #11 on: 25 Sep '06 - 14:55 »
Reply with quoteQuote

When I play the streams besides the usual tags (ID3 and Apev2) I see only the name tag at the top.

That'll be it. The server is sending a Shout/Icecast header (specifying the stream name), so XMPlay will use that in the playlist/library, rather than any tags that may be in the stream contents. If you can disable that Shout/Icecast header in the server config, then XMPlay should use the tags.
Logged
amit
Posts: 718


« Reply #12 on: 25 Sep '06 - 17:15 »
Reply with quoteQuote

I can't disable the these headers from the server iterface.

Isn't it possible to prioritize the tag reading so regular tags would take precedence over the stream header?
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #13 on: 26 Sep '06 - 15:18 »
Reply with quoteQuote

I'm not sure that'd be a good idea - it'd be pretty hard to find the stream you want in the playlist/library if the track info was stored instead of the stream info (note that normal OGG tags are used for track titles in Icecast streams). But here's an update to try, which'll ignore the stream info if the stream has ID3/APE tags and a definitive length...

   www.un4seen.com/stuff/xmplay.exe
Logged
amit
Posts: 718


« Reply #14 on: 26 Sep '06 - 18:59 »
Reply with quoteQuote

It works perfectly. Now I can even see the tracks information in the playlist as the titles are formated according to the tags.

Thank You very much, Ian.


Amit.
Logged
amit
Posts: 718


« Reply #15 on: 30 Sep '06 - 18:04 »
Reply with quoteQuote

Now when stream tags can be stored in the library rises another question:

When loading streams playlist the player reads the tags of each songs when it is being played. This behavior causing the playlist to show the titles according to tags of only of the songs that have been played already. It is reasonable if the streams are new but if their tags are already stored in the library couldn't the tags in the playlist titles be shown immediately?
Couldn't file details first be  looked for in the library an only then in the files ?

Thanks
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #16 on: 1 Oct '06 - 14:40 »
Reply with quoteQuote

Unless the track's tags have been overriden in the library, the file's tags will have precedence over the library tags. If that wasn't the case, tag changes made to the file wouldn't be reflected in the library/playlist.
Logged
amit
Posts: 718


« Reply #17 on: 1 Oct '06 - 19:56 »
Reply with quoteQuote

I was reffering to another thing:

current situation:
When loading a playlist of streams the tags are loaded one by one - only when the streams are actually played . Only when the last stream in the playlist is played all the titles in the playlist are shown properly according to the streams tags.

wanted situation:
When playlist of streams is loaded the streams are looked for in the library and if they are found their tags would be shown as the playlist titles. This will enable an  instant view of streams tags in the list similar to the beahviour of files from local drives.


Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #18 on: 2 Oct '06 - 16:54 »
Reply with quoteQuote

I'm not entirely sure what you mean, so please upload an example "playlist of streams", to get a better idea Smiley

   ftp.un4seen.com/incoming/
Logged
amit
Posts: 718


« Reply #19 on: 2 Oct '06 - 18:37 »
Reply with quoteQuote

I uploaded pls and m3u playlists.

I just thought that for showing the playist titles properly for http files the tag info can be fetched from the library (if they exit there) because it is impossible to read all the tags simultaneously from the server.
Logged
Pages: [1] 2  All
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines