SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-05-2008, 02:32 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Question MP3 Rankings - WMP vs. ID3 vs. ???

Hi folks,

I've been tracking song rankings in Windows Media Player for ages, and I've got a lot of them. Turns out, that wasn't necessarily the smartest move because other applications seem to ignore the MP3 ranks even if I've told WMP to "save them in the file".

Apparently WMP isn't using any kind of standard? I assume that the ID3 tagging accounts for a 5-star ranking system? This is actually a question because I don't know for sure.

If so...do most programs out there access THIS tag instead?

I'm trying to figure out the best "location" to store my rankings so the most programs will be able to access this information. Any thoughts?

ALSO - once I identify this location, I'd love to be able to migrate my WMP rankings to a more standard rank. Anyone familiar with anything that can do this? Anyone familiar with the WMP API's that has manipulated this non-standard setting?

Thanks!
AL
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #2  
Old 03-05-2008, 03:21 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
It doesn't look like ID3V2 supports a rating:
http://www.id3.org/Frames

Or I should say, it doesn't look like Rating is a standard field defined by ID3V2.
Reply With Quote
  #3  
Old 03-05-2008, 03:43 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Addict View Post
ALSO - once I identify this location, I'd love to be able to migrate my WMP rankings to a more standard rank. Anyone familiar with anything that can do this? Anyone familiar with the WMP API's that has manipulated this non-standard setting?
All media attributes can be accessed via IWMPMedia.getItemInfo. I'm not sure off the top of my head which attribute name to use, but it shouldn't be that hard to figure out by inspecting a few examples. UserRating and UserEffectiveRating look plausible.
__________________
-- Greg
Reply With Quote
  #4  
Old 03-05-2008, 09:30 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
=====

stanger89: Wow, I'm genuinely surprised there isn't a standard for ranking... I guess I'm not in the majority...I use rankings to dictate most of my playlists (auto playlists in WMP).

I wonder where everyone's storing this info within the file? I guess they're just creating their own custom tags?

======

GKusnick: Thanks for the info. If I can figure out a solid place to put a ranking that a few different apps might actually be able to access, I'll write myself a little app to move them around.

Since you seem familiar with the interface... <lightbulb goes off> Didn't you write the WMP plugin? Anyway...with a little creative coding, would it be possible to take an auto-playlist and convert it to a fixed playlist? I'd love to have my auto playlists auto-update in WMP, but then have an app run regularly that parses the auto-list and creates a normal playlist that Sage can read. If you could programmatically push an auto-playlist to a "now playing" and create a new playlist based on that, that'd be easy enough, right?

=====

Started playing with MusicIP's Mixer and am pretty happy with how it automatically creates similar mixes based on a few selected songs. I'd love to coordinate this feature with my rankings and get some killer auto-playlists.

Thanks for the thoughts...
AL
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #5  
Old 03-05-2008, 09:37 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Addict View Post
=====

stanger89: Wow, I'm genuinely surprised there isn't a standard for ranking... I guess I'm not in the majority...I use rankings to dictate most of my playlists (auto playlists in WMP).

I wonder where everyone's storing this info within the file? I guess they're just creating their own custom tags?
Yeah, me too, I kind of figured it would be a standard as well, but my cursory search found nothing.

Out of curiosity, what is your ultimate goal? Depending, something like Squeezecenter might be what you're looking for, maybe JRMC.
Reply With Quote
  #6  
Old 03-05-2008, 10:22 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
The page for ID3 v2.3.0 lists Popularimeter... does anything use that field?

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 03-05-2008, 10:32 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Addict View Post
Since you seem familiar with the interface... <lightbulb goes off> Didn't you write the WMP plugin? Anyway...with a little creative coding, would it be possible to take an auto-playlist and convert it to a fixed playlist? I'd love to have my auto playlists auto-update in WMP, but then have an app run regularly that parses the auto-list and creates a normal playlist that Sage can read. If you could programmatically push an auto-playlist to a "now playing" and create a new playlist based on that, that'd be easy enough, right?
Yeah, that was me. You can manually convert an auto playlist to a fixed playlist in WMP just by dragging it to the right-hand "drag items here" panel and saving it as a new playlist. You can also automate it by using IWMPPlaylist to enumerate the playlist contents. Each time you do that with an auto playlist, it re-executes the query and gives you a new list.

In fact I've been working on a new version of the SageWMP plugin with auto playlist support. It's more or less code-complete, but I've been waiting for the next version of Sage to make it out of RC status before finalizing my STVI and uploading it. So you may want to wait for that before delving into it yourself.
__________________
-- Greg
Reply With Quote
  #8  
Old 03-05-2008, 10:37 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by Opus4 View Post
The page for ID3 v2.3.0 lists Popularimeter... does anything use that field?

- Andy
Popularimeter is one of the better options in the ID3 tags actually. iTunes doesn't use a standard ID3 tag and instead stores the rating in a separate file. It can be accessed however and written to the Popularimeter tag using MP3Tag as well as other tagging tools. Read the last post in this thread to see a Javascript way of doing this.

Adding the ability to read the Popularimeter tag in SageTV would be an excellent addition. It would open up the beginnings of smart playlists which I use and love in iTunes.
Reply With Quote
  #9  
Old 03-06-2008, 12:18 AM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Quote:
Originally Posted by stanger89 View Post
Yeah, me too, I kind of figured it would be a standard as well, but my cursory search found nothing.

Out of curiosity, what is your ultimate goal? Depending, something like Squeezecenter might be what you're looking for, maybe JRMC.
Really, what I'd like to accomplish...are FULLY automated playlists regularly updated by SageTV. These playlists will be created by two things:

1) My ranking.
2) Automated mix based on selection of a few songs.

Right now, my process is the following:

For 1) Rank in WMP, create some auto playlists based on various metrics (rank, decade, other things). Manually create static playlists from the autos (as I add new music) and put them into my Sage Music folder.

For 2) Use MusicIP Mixer to select a few songs and have it create a playlist based on what it considers "similar" songs. Manually give the playlist a name and save it to the Sage Music folder.

As it currently stands, these are both mutually exclusive. I can't do both together.

My ultimate system would work as follows:

A) Add music
B) Rank music
C) Identify songs I'd like to be the seeds for certain types of playlists (chill, rockin', party, whatever)
D) Auto playlists will automatically regenerate based on new additions (I enjoy some standard WMP auto-playlists without MusicIP intervention)
E) MusicIP (or similar) will create playlists based on "C", but also take into account ranks from "B".
F) Something takes these playlists and automatically dumps them into a Sage Music directory and they're updated in Sage automatically.

So, that my input is minimal (rank songs, identify "seed" tunes)...and I get a wealth of great automatically generated playlists.

Too late to make this long story short, I guess.
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #10  
Old 03-06-2008, 12:22 AM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Quote:
Originally Posted by Opus4 View Post
The page for ID3 v2.3.0 lists Popularimeter... does anything use that field?

- Andy
Great find, hysterical name, 'eh? Certainly flexible. I wonder if anyone uses it. Sure would be nice to have a spreadsheet of some kind that identified which players use what to save their rankings...
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #11  
Old 03-06-2008, 12:25 AM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Quote:
Originally Posted by GKusnick View Post
Yeah, that was me. You can manually convert an auto playlist to a fixed playlist in WMP just by dragging it to the right-hand "drag items here" panel and saving it as a new playlist. You can also automate it by using IWMPPlaylist to enumerate the playlist contents. Each time you do that with an auto playlist, it re-executes the query and gives you a new list.

In fact I've been working on a new version of the SageWMP plugin with auto playlist support. It's more or less code-complete, but I've been waiting for the next version of Sage to make it out of RC status before finalizing my STVI and uploading it. So you may want to wait for that before delving into it yourself.
Cool, glad to hear that can be automated programmatically. I'd certainly love to be able to update ranks via Sage (as well as any other player for that matter). That'd be killer. Just hit the number 0-5 while playing (on the now playing screen at least) and voila...new rank saved. If I remember right though, your plug-in works on the default STV right? I'm a SageMC guy... <shrug>
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #12  
Old 03-06-2008, 06:33 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Addict View Post
Really, what I'd like to accomplish...are FULLY automated playlists regularly updated by SageTV. These playlists will be created by two things:

1) My ranking.
2) Automated mix based on selection of a few songs.

Right now, my process is the following:

For 1) Rank in WMP, create some auto playlists based on various metrics (rank, decade, other things). Manually create static playlists from the autos (as I add new music) and put them into my Sage Music folder.

For 2) Use MusicIP Mixer to select a few songs and have it create a playlist based on what it considers "similar" songs. Manually give the playlist a name and save it to the Sage Music folder.

As it currently stands, these are both mutually exclusive. I can't do both together.
Here's my half-baked solution:

Take a look at Squeezecenter (the Squeezebox media server), it supports MusicIP (somehow, not sure) as well as dynamic playlists via some plugins. There's a Sage Slimplayer "plugin" which would play from Squeezecenter (I think).
Reply With Quote
  #13  
Old 03-06-2008, 10:59 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
So far, everything you've said seems to be right. Don't have time to really dive into it today, but will definitely check it out when I have time.

I installed the media server and it does have MusicIP capabilities. So, letting it scan my music directories.

The SlimPlayer plugin seems to be somewhat old, not sure if it's updated...that where I need to experiment most. Sounds like it might work with SageMC though...

This could be a pretty slick solution! Thanks for the tip, I'll keep everyone posted on what I figure out...
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #14  
Old 03-17-2008, 01:02 AM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Ok...so, started on Phase 1, but I may just drop out all together on this as it appears I may be screwed when it comes to using this with an HD Extender. Got it all working just fine on my PC test client, but no sound on the extender. I really shouldn't be surprised about this as I complained I couldn't use the navigation sounds on the extender, I guess this might be a similar situation?

I have not messed with MusicIP Mixer settings yet, as I can't even get playlists to show up in SqueezeCenter or SlimPlayer...so, that would be next step assuming I can actually get sound out of this.

Anyway, here's what I did to get as far as I am right now:
http://forums.sagetv.com/forums/show...&postcount=121

AL
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #15  
Old 08-03-2008, 06:19 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Just FYI - making some progress this weekend.

Wrote an application that's talking to WMP, iTunes, and MusicIP Mixer.

1) I've managed to copy over all my rankings from WMP to iTunes automatically.

2) I can create auto-mix playlists using MusicIP Mixer based on artist, album, or song...then filter through what it gives me based on the iTunes ranking (and pull out those I ranked poorly).

So now I've got auto-generated playlists that are filtered by ranking. Definitely a good start in the right direction!

AL
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total

Last edited by Addict; 08-03-2008 at 08:43 PM.
Reply With Quote
  #16  
Old 08-03-2008, 08:43 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
I thought Apple products were supposed to be easy to use? Argh. Now I realize that iTunes, unlike just about any other Music player on the planet, does not provide distinct playlist files...but dumps them all into a single XML file along with other configuration items.

So much for easy synchronization of my auto-generated playlists by pointing iTunes to a "playlist directory". Now I have to figure out how to do all this programmatically...so that any iTunes playlists I create show up in a directory for Sage (and other applications)...and so that any auto-generated playlists end up in iTunes.

Grr, argh. Never easy, is it?
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #17  
Old 08-03-2008, 09:15 PM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
<laughing> And to top if off...iTunes won't recognize about 1000 of 5500 songs. Nope, they don't show up in the library, at all. Appears to be totally random in nature...old stuff, new stuff (just purchased from Amazon.com)...does not exist according to iTunes, yet all other applications pointing to the exact same directory see them all just fine (WMP, MusicIP Mixer, etc).

<rolls eyes>
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #18  
Old 08-11-2008, 12:47 AM
Zepp Zepp is offline
New Member
 
Join Date: Aug 2008
Posts: 2
Question Copy rankings from WMP to iTunes ?

Quote:
Originally Posted by Addict View Post
Just FYI - making some progress this weekend.

Wrote an application that's talking to WMP, iTunes, and MusicIP Mixer.

1) I've managed to copy over all my rankings from WMP to iTunes automatically.

2) I can create auto-mix playlists using MusicIP Mixer based on artist, album, or song...then filter through what it gives me based on the iTunes ranking (and pull out those I ranked poorly).

So now I've got auto-generated playlists that are filtered by ranking. Definitely a good start in the right direction!

AL
Hi Addict !
I currently have the same issue to copy all rankings from WMP to iTunes, can you give more details about how you've done it please ?
Thanks
Regards
Zepp
Reply With Quote
  #19  
Old 08-11-2008, 01:07 AM
Addict's Avatar
Addict Addict is offline
Sage Aficionado
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 335
Quote:
Originally Posted by Zepp View Post
Hi Addict !
I currently have the same issue to copy all rankings from WMP to iTunes, can you give more details about how you've done it please ?
Thanks
Regards
Zepp
Hey Zepp, I'm out of town for a few days but when I get back I'll see what I can do about packaging it up for others to use...
__________________
Al Bsharah / Twitter
Clients:
Two STX-HD100 High-Def Extenders
Media Server / NAS:
Case: Thermaltake Armor CPU: AMD Opteron 1218 (2.6GHz Dual Core) Motherboard: ASUS MN2-LR Memory: 2GB Gfx Card: Headless Tuner: Hauppauge HD-PVR, Hauppauge PVR-350 (not in use) O/S: Windows 7 Sage: Latest RAID: On-Board Drives: 6 x 1.5TB SATA RAID-5, 2 x 80GB IDE RAID-1 (O/S) Storage: 7.5TB Total
Reply With Quote
  #20  
Old 08-11-2008, 01:11 AM
Zepp Zepp is offline
New Member
 
Join Date: Aug 2008
Posts: 2
Smile Great !

Quote:
Originally Posted by Addict View Post
Hey Zepp, I'm out of town for a few days but when I get back I'll see what I can do about packaging it up for others to use...
Really great, thanks for your help and your time Addict
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BUG? Problem with mp3 Tags - SageTV 6.3 Doug SageTV Software 12 03-27-2008 06:52 AM
List of issues Sage 6.3.6 with HD extender Spriter SageTV Beta Test Software 5 01-24-2008 09:31 AM
MP3 Tag Editor rsagetv99 General Discussion 8 01-02-2007 02:39 PM
PureVideo - audio, no video in WMP zookie General Discussion 1 01-02-2007 09:40 AM
mp3 problems: id3 tags and track orders Teg SageTV Software 0 03-05-2005 03:01 PM


All times are GMT -6. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.