Skip to Content
It is currently July 7th, 2022, 8:41 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: February 18th, 2021, 7:38 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
Ferry wrote:
Ok so only the songs who are filed in the folder Music (all) get listed. Songs that i file in content will not?

Music (All) is a meta-category. It's not a real category like the ones you create by hand, but only a list of all tracks with type S. By default each track you add is type S unless you add it under a different content group (i.e. Jingles (All) is the meta-category for type J and every category you create within there will also automatically assign type J to it's tracks)

Check this screenshot for example:
Attachment:
samscreenshot.png
samscreenshot.png [ 10.8 KiB | Viewed 2104 times ]

As you can see my Rock => Metal folders are living inside the Music folder. That means every track I add to any of these folders will automatically have type S.
While you can see Disturbed - Remember in my Metal folder, you won't see it in the Alternative folder.
The Avril Lavigne - Sk8er Boi track from the Alternative folder isn't visible in the Metal folder.
Both of these tracks will be visible in the Music (All) folder, just because they are type S.

If I add a third track Die Ärzte - Hurra! in the Playlist / Tracks folder right at the top of the library screen, it will also show up in Music (All), but not in any of the other folders discussed so far, simply because the default songtype is S.

Each of your tracks is visible in only one ... (All) folder at a time, but every track will be visible in one of the ... (All) folders. Therefore these folders are a great way to look for duplicates.


Ferry wrote:
Ok but do you know why it gives this error sometimes on the local IP? It seems that when i did not refresh the request page for sometime it gives this error. When i refresh the playlist in the browser it works again.

If the JS code at the top of the source has the local IP in it, it will use the local IP in the audiorealm popup address and therefore fail. The AudioRealm server will try to find a machine with that IP and port 1221 in it's local network, but will most likely fail to do so, because your computer is not in the same local network as the AudioRealm server. (Unless of course you're actually the System Administrator for Spacial and decided to run your SAM computer on the machine next to the AudioRealm server)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: February 18th, 2021, 7:54 am 
Offline
Junior User
Junior User

Joined: February 22nd, 2015, 3:22 pm
Posts: 32
Ok, but if i place music under the content folder for example and it has the type S it will still appear in the playlist.html?

I am asking this question because i have by purpose duplications in songs but don't want them to see twice in the playlist.html.

_________________
Your Music, Your Station!
Easy Listening, Love Songs, Romantic Hits, Soft Rock
https://radiolovetunes.com/


Top
 Profile  
Reply with quote  
PostPosted: February 20th, 2021, 11:24 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
You can have the same track in multiple folders inside SAM and still have SAM refer to it as the same track.
If you intentionally made it two tracks to make it bypass the "track" repeat rule for example, then you'll have to live with it being listed twice in playlist.html

Quick hints:
The playlsitA-Z.html files will reflect the tracks in Music (All)

Folders under the Playlist icon (white sheet of paper) can mix different songtypes
Folders in the starred area of SAMs music library can for the most part only have tracks of the same songtype.
The ... (All) categories will never show duplicate entries unless you have the same track in your libary twice,
All other folders can have the same track multiple times without the duplication necessarily reflecting a different songID / track object.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: May 22nd, 2021, 11:45 pm 
Offline
New User
New User

Joined: May 6th, 2021, 11:31 pm
Posts: 19
Guys....

First, (if you can) reset all the template files to the way they were before you made changes to them.

(re-install sam if need be, to be sure you are starting from a "clean" slate.

then - start over with the install instructions.

when you get to the part where you are editing _config file

editing the _config file $samhost$

you must enter your current public IP - which must be static ip - not dynamic - in other word the public ip cannot change or sam won't know where to connect.

Based on your previous posts, the audiorealm request processor is trying to send a request from audiorealm (public) to a private non-routeable ip 192.xx.xx.xx. wont work!

Spacial docs need to make this more clear, but last time i checked, they don't.

Best way to find your current Public IP is http://www.IPChicken.com

The ip and port should be in quotes with no $ before or after the numbers.

Take that, hard code it into _config file along with port "1221", save it, then

HTML>generate
HTML> Generate playlist
HTML> upload all pictures

This will change the IP inside each file to your current public IP.

Now, as long as that IP does not change at your ISP, You are good.

Respectfully submitted,

_________________
Steve

Custom Alexa skills for streaming.
+1 801.449.1068 (text message or voice calls)
3-5 day turnaround.


Top
 Profile  
Reply with quote  
PostPosted: May 25th, 2021, 7:46 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
7276922181 wrote:
you must enter your current public IP - which must be static ip - not dynamic - in other word the public ip cannot change or sam won't know where to connect.

You can also put a dyndns hostname from a site like no-ip.com in there if you're behind a NAT gateway. There's no need for a static IP address as long as you have a public IPv4 address where you're the only user. If you're on DS-Lite (You get an IPv6 subnet, but have to share one IPv4 with many other users and can't do port-forwarding on IPv4), you have to use the IPv6 address or this won't work.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group